Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified1") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006713/0.006713, allocations: 170 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7426/0.7426, allocations: 135.2 MB / 151.1 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 406.9 MB, free: 3.191 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 92.91 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004541, allocations: 8 kB / 0.5691 GB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5501/0.5506, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.781, allocations: 424.1 MB / 1.064 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/1.782, allocations: 97.56 kB / 1.064 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 37.83/39.61, allocations: 8.779 GB / 9.842 GB, free: 67.73 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.986e-06/39.61, allocations: 4 kB / 9.842 GB, free: 67.72 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.006017/39.62, allocations: 439.4 kB / 9.843 GB, free: 67.29 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.08833/39.71, allocations: 20.65 MB / 9.863 GB, free: 46.49 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/39.71, allocations: 12.03 kB / 9.863 GB, free: 46.48 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01691/39.72, allocations: 2.192 MB / 9.865 GB, free: 44.26 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07358/39.8, allocations: 21.82 MB / 9.886 GB, free: 22.36 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001044/39.8, allocations: 0.6793 MB / 9.887 GB, free: 21.68 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006175/39.8, allocations: 0.9566 MB / 9.888 GB, free: 20.72 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04221/39.85, allocations: 15.81 MB / 9.903 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004283/39.85, allocations: 15.78 kB / 9.903 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003978/39.85, allocations: 332 kB / 9.904 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000313/39.85, allocations: 363.3 kB / 9.904 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008/41.86, allocations: 20.06 MB / 9.924 GB, free: 68.5 MB / 0.9637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1903/42.05, allocations: 79.53 MB / 10 GB, free: 36.34 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03043/42.08, allocations: 12.21 MB / 10.01 GB, free: 35.89 MB / 0.9637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.109/42.19, allocations: 33.67 MB / 10.05 GB, free: 27.65 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02474/42.21, allocations: 9.454 MB / 10.06 GB, free: 27.47 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05025/42.26, allocations: 14.84 MB / 10.07 GB, free: 27.32 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=613): time 7.909e-05/42.26, allocations: 3.094 kB / 10.07 GB, free: 27.32 MB / 0.9637 GB Notification: Performance of matching and sorting (n=907): time 3.107/45.37, allocations: 252.4 MB / 10.32 GB, free: 93.34 MB / 0.995 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1793/45.55, allocations: 62.92 MB / 10.38 GB, free: 85.87 MB / 0.995 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04288/45.59, allocations: 14.4 MB / 10.39 GB, free: 85.2 MB / 0.995 GB Notification: Performance of collectPreVariables (initialization): time 0.006551/45.6, allocations: 247 kB / 10.39 GB, free: 85.17 MB / 0.995 GB Notification: Performance of collectInitialEqns (initialization): time 0.01329/45.61, allocations: 7.234 MB / 10.4 GB, free: 84.89 MB / 0.995 GB Notification: Performance of collectInitialBindings (initialization): time 0.01313/45.63, allocations: 3.215 MB / 10.4 GB, free: 83.42 MB / 0.995 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007186/45.63, allocations: 207.7 kB / 10.4 GB, free: 83.42 MB / 0.995 GB Notification: Performance of setup shared object (initialization): time 0.001192/45.64, allocations: 0.7485 MB / 10.4 GB, free: 83.09 MB / 0.995 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03522/45.67, allocations: 18.38 MB / 10.42 GB, free: 83.07 MB / 0.995 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03772/45.71, allocations: 21.39 MB / 10.44 GB, free: 79.9 MB / 0.995 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04062/45.75, allocations: 19.72 MB / 10.46 GB, free: 79.68 MB / 0.995 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001965/45.75, allocations: 15.78 kB / 10.46 GB, free: 79.68 MB / 0.995 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 0.6193/46.37, allocations: 146.4 MB / 10.6 GB, free: 43.63 MB / 0.995 GB Notification: Performance of prepare postOptimizeDAE: time 0.008768/46.38, allocations: 35.43 MB / 10.64 GB, free: 6.328 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000331/46.38, allocations: 48 kB / 10.64 GB, free: 6.281 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685/48.06, allocations: 147.9 MB / 10.78 GB, free: 99.16 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.021/48.08, allocations: 3.638 MB / 10.79 GB, free: 99.16 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1659/48.25, allocations: 76.81 MB / 10.86 GB, free: 92.12 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09836/48.35, allocations: 6.731 MB / 10.87 GB, free: 91.08 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009177/48.36, allocations: 1.38 MB / 10.87 GB, free: 91.08 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/48.36, allocations: 7.891 kB / 10.87 GB, free: 91.07 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6083/48.97, allocations: 145.2 MB / 11.01 GB, free: 5.324 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002719/48.97, allocations: 48 kB / 11.01 GB, free: 5.277 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655/50.62, allocations: 147.7 MB / 11.16 GB, free: 117.3 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01965/50.64, allocations: 3.614 MB / 11.16 GB, free: 117.3 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1792/50.82, allocations: 81.05 MB / 11.24 GB, free: 112.8 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09681/50.92, allocations: 6.716 MB / 11.25 GB, free: 112 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009933/50.93, allocations: 1.339 MB / 11.25 GB, free: 112 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1063): * Single equations (assignments): 1045 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.02575/50.95, allocations: 4.016 MB / 11.25 GB, free: 111.8 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01201/50.97, allocations: 1.492 MB / 11.25 GB, free: 111.8 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2219/51.19, allocations: 61.8 MB / 11.31 GB, free: 105 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2115/51.4, allocations: 68.91 MB / 11.38 GB, free: 52.36 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000176/51.4, allocations: 28 kB / 11.38 GB, free: 52.33 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302/52.7, allocations: 68.16 MB / 11.45 GB, free: 118.4 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3697/53.07, allocations: 145 MB / 11.59 GB, free: 112.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001371/53.07, allocations: 0 / 11.59 GB, free: 112.3 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01375/53.08, allocations: 2.051 MB / 11.59 GB, free: 112.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.351/53.44, allocations: 90.25 MB / 11.68 GB, free: 108.9 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005164/53.44, allocations: 0.6184 MB / 11.68 GB, free: 108.6 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1379/53.58, allocations: 72.3 MB / 11.75 GB, free: 61.32 MB / 1.042 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02311/53.6, allocations: 6.345 MB / 11.76 GB, free: 55.95 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.408/55.01, allocations: 98.34 MB / 11.85 GB, free: 126.4 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02649/55.04, allocations: 6.462 MB / 11.86 GB, free: 126.3 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01015/55.05, allocations: 224.1 kB / 11.86 GB, free: 126.3 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06066/55.11, allocations: 3.666 MB / 11.86 GB, free: 126.3 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007441/55.11, allocations: 0.9418 MB / 11.86 GB, free: 126.3 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005246/55.12, allocations: 0.6898 MB / 11.86 GB, free: 126.3 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.03141/55.15, allocations: 11.06 MB / 11.87 GB, free: 125.8 MB / 1.042 GB Notification: Performance of sort global known variables: time 5.71e-07/55.15, allocations: 0 / 11.87 GB, free: 125.8 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.1602/55.31, allocations: 43.5 MB / 11.92 GB, free: 125.8 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[32],$STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (659): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {39 64,70 187} Notification: Performance of Backend phase and start with SimCode phase: time 0.01824/55.33, allocations: 5.559 MB / 11.92 GB, free: 123.9 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.1818/55.51, allocations: 77.11 MB / 12 GB, free: 122.6 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.158e-05/55.51, allocations: 3.781 kB / 12 GB, free: 122.6 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.09574/55.61, allocations: 45.89 MB / 12.04 GB, free: 101.7 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05531/55.66, allocations: 7.386 MB / 12.05 GB, free: 97.62 MB / 1.042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4493:9-4493:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:748:5-748:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]