Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009393/0.0009396, allocations: 87.42 kB / 15.07 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9688/0.9688, allocations: 135.3 MB / 426.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003639, allocations: 8 kB / 0.507 GB, free: 5.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1744, allocations: 82.31 MB / 0.5874 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified4): time 0.9847/1.159, allocations: 328.6 MB / 0.9082 GB, free: 56.04 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.09736/1.257, allocations: 68.55 MB / 0.9752 GB, free: 54.46 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02067/1.277, allocations: 367.5 kB / 0.9755 GB, free: 54.45 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.017/1.294, allocations: 3.565 MB / 0.979 GB, free: 53.94 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0378/1.332, allocations: 10.4 MB / 0.9892 GB, free: 48.16 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02454/1.357, allocations: 7.049 MB / 0.9961 GB, free: 44.39 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.04618/1.403, allocations: 38.46 MB / 1.034 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02734/1.43, allocations: 15.03 MB / 1.048 GB, free: 1.047 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0308/1.461, allocations: 12.94 MB / 1.061 GB, free: 4.652 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02892/1.49, allocations: 13.58 MB / 1.074 GB, free: 8.117 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.008334/1.498, allocations: 0.9961 MB / 1.075 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02005/1.519, allocations: 3.779 MB / 1.079 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.008731/1.527, allocations: 4.268 MB / 1.083 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00849/1.536, allocations: 2.962 MB / 1.086 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02734/1.563, allocations: 19.45 MB / 1.105 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.563, allocations: 0 / 1.105 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.655e-06/1.563, allocations: 0 / 1.105 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0008437/1.564, allocations: 3.938 kB / 1.105 GB, free: 9.766 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.04781/1.612, allocations: 18.31 MB / 1.123 GB, free: 7.516 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.612, allocations: 15.97 kB / 1.123 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/1.624, allocations: 2.313 MB / 1.125 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03443/1.659, allocations: 13.53 MB / 1.138 GB, free: 7.91 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001289/1.66, allocations: 0.7318 MB / 1.139 GB, free: 7.18 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003953/1.664, allocations: 0.7812 MB / 1.14 GB, free: 6.398 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03701/1.701, allocations: 14.9 MB / 1.154 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003412/1.701, allocations: 15.83 kB / 1.154 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003641/1.705, allocations: 296 kB / 1.155 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002182/1.705, allocations: 187 kB / 1.155 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6127/2.318, allocations: 19.36 MB / 1.174 GB, free: 295.9 MB / 0.7794 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.1327/2.451, allocations: 77.62 MB / 1.249 GB, free: 246.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01756/2.468, allocations: 10.6 MB / 1.26 GB, free: 240.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01359/2.482, allocations: 9.135 MB / 1.269 GB, free: 235.4 MB / 0.7794 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.07665/2.559, allocations: 32.77 MB / 1.301 GB, free: 206.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01649/2.575, allocations: 8.852 MB / 1.309 GB, free: 197.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03033/2.606, allocations: 9.839 MB / 1.319 GB, free: 188.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=421): time 5.933e-05/2.606, allocations: 0 / 1.319 GB, free: 188.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=605): time 1.096/3.702, allocations: 197.2 MB / 1.512 GB, free: 266.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/3.702, allocations: 115.8 kB / 1.512 GB, free: 266.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01913/3.721, allocations: 13.23 MB / 1.525 GB, free: 262.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.003047/3.724, allocations: 182.2 kB / 1.525 GB, free: 262.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.006127/3.73, allocations: 6.58 MB / 1.531 GB, free: 258.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.004556/3.735, allocations: 2.044 MB / 1.533 GB, free: 257.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002531/3.737, allocations: 157.2 kB / 1.533 GB, free: 257.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0006217/3.738, allocations: 0.6171 MB / 1.534 GB, free: 257.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02347/3.762, allocations: 9.358 MB / 1.543 GB, free: 253.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02565/3.787, allocations: 11.87 MB / 1.555 GB, free: 247.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02178/3.809, allocations: 10.27 MB / 1.565 GB, free: 243.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/3.809, allocations: 14.72 kB / 1.565 GB, free: 243.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 0.5342/4.343, allocations: 123.9 MB / 1.686 GB, free: 158.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.001038/4.345, allocations: 1.739 MB / 1.688 GB, free: 156.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/4.345, allocations: 55.66 kB / 1.688 GB, free: 156.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8876/5.232, allocations: 143.5 MB / 1.828 GB, free: 247.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0105/5.243, allocations: 2.072 MB / 1.83 GB, free: 247.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.146/5.389, allocations: 78.77 MB / 1.907 GB, free: 226.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02055/5.41, allocations: 1.253 MB / 1.908 GB, free: 226.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004957/5.415, allocations: 0.784 MB / 1.909 GB, free: 226.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/5.415, allocations: 6.328 kB / 1.909 GB, free: 226.7 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5236/5.938, allocations: 122.8 MB / 2.029 GB, free: 118.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000205/5.938, allocations: 52 kB / 2.029 GB, free: 118.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9199/6.858, allocations: 143.3 MB / 2.168 GB, free: 232.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/6.869, allocations: 2.049 MB / 2.17 GB, free: 232.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1647/7.033, allocations: 82.72 MB / 2.251 GB, free: 202.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02211/7.056, allocations: 1.24 MB / 2.252 GB, free: 201 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005407/7.061, allocations: 0.749 MB / 2.253 GB, free: 200.3 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$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 (769): * Single equations (assignments): 755 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {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 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01282/7.074, allocations: 3.365 MB / 2.257 GB, free: 197 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006879/7.081, allocations: 1.288 MB / 2.258 GB, free: 196.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1874/7.268, allocations: 49.34 MB / 2.306 GB, free: 147.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/7.268, allocations: 75.98 kB / 2.306 GB, free: 147.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001011/7.268, allocations: 28 kB / 2.306 GB, free: 147.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1631/7.432, allocations: 43.69 MB / 2.349 GB, free: 103.4 MB / 0.7794 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 postOpt removeSimpleEquations (simulation): time 0.197/7.629, allocations: 64.29 MB / 2.411 GB, free: 39.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-05/7.629, allocations: 4 kB / 2.412 GB, free: 39.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007078/7.636, allocations: 1.393 MB / 2.413 GB, free: 37.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5536/8.189, allocations: 42.76 MB / 2.455 GB, free: 239.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002911/8.192, allocations: 205.6 kB / 2.455 GB, free: 239.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06912/8.262, allocations: 35.57 MB / 2.49 GB, free: 229.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.856e-06/8.262, allocations: 11.16 kB / 2.49 GB, free: 229.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.185/8.447, allocations: 56.39 MB / 2.545 GB, free: 211.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01081/8.458, allocations: 2.884 MB / 2.547 GB, free: 209.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006661/8.464, allocations: 135.8 kB / 2.548 GB, free: 209.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01473/8.479, allocations: 1.061 MB / 2.549 GB, free: 208.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003281/8.482, allocations: 0.493 MB / 2.549 GB, free: 208.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002024/8.484, allocations: 294.4 kB / 2.549 GB, free: 208.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.01707/8.501, allocations: 8.947 MB / 2.558 GB, free: 200.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.3e-07/8.501, allocations: 0 / 2.558 GB, free: 200.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.04439/8.546, allocations: 7.375 MB / 2.565 GB, free: 193.6 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,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 (541): * Single equations (assignments): 519 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 3 {9 78,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004127/8.55, allocations: 1.541 MB / 2.567 GB, free: 192.6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.07457/8.625, allocations: 37.71 MB / 2.604 GB, free: 156.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/8.625, allocations: 7.938 kB / 2.604 GB, free: 156.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.02083/8.646, allocations: 10.67 MB / 2.614 GB, free: 145.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03438/8.68, allocations: 6.85 MB / 2.621 GB, free: 139.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05847/8.738, allocations: 33.36 MB / 2.653 GB, free: 106.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008909/8.747, allocations: 7.606 MB / 2.661 GB, free: 98.51 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.01877/8.766, allocations: 4.062 MB / 2.665 GB, free: 94.44 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004362/8.771, allocations: 1.042 MB / 2.666 GB, free: 93.39 MB / 0.7794 GB Notification: Performance of SimCode: time 6.81e-07/8.771, allocations: 3.938 kB / 2.666 GB, free: 93.39 MB / 0.7794 GB Notification: Performance of Templates: time 1.315/10.09, allocations: 400.4 MB / 3.057 GB, free: 239.6 MB / 0.7794 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)