Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2") translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001076, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.707/0.707, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 64.25 kB / 0.5018 GB, free: 8.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1384, allocations: 80.21 MB / 0.5801 GB, free: 8.742 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v2): time 0.2891/0.4276, allocations: 80.61 MB / 0.6588 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02294/0.4506, allocations: 19.24 MB / 0.6776 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003415/0.454, allocations: 107.4 kB / 0.6777 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003096/0.4571, allocations: 1.152 MB / 0.6788 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007203/0.4644, allocations: 2.762 MB / 0.6815 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005774/0.4701, allocations: 2.371 MB / 0.6838 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02637/0.4965, allocations: 26.81 MB / 0.71 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02024/0.5168, allocations: 17.04 MB / 0.7267 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02089/0.5377, allocations: 11.24 MB / 0.7377 GB, free: 1.578 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0203/0.558, allocations: 11.69 MB / 0.7491 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.005428/0.5635, allocations: 1.281 MB / 0.7503 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01136/0.5749, allocations: 2.568 MB / 0.7528 GB, free: 2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.008027/0.5829, allocations: 3.631 MB / 0.7564 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0152/0.5982, allocations: 6.485 MB / 0.7627 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02886/0.627, allocations: 18.33 MB / 0.7806 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.6271, allocations: 4 kB / 0.7806 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6271, allocations: 0 / 0.7806 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000616/0.6277, allocations: 0 / 0.7806 GB, free: 5.469 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03674/0.6645, allocations: 12.21 MB / 0.7925 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.6645, allocations: 12.03 kB / 0.7925 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008351/0.6729, allocations: 1.261 MB / 0.7938 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02044/0.6934, allocations: 9.654 MB / 0.8032 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003876/0.6938, allocations: 436.1 kB / 0.8036 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003031/0.6968, allocations: 0.5818 MB / 0.8042 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03016/0.727, allocations: 14.62 MB / 0.8185 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/0.7272, allocations: 31.77 kB / 0.8185 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001825/0.7291, allocations: 240 kB / 0.8187 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.7292, allocations: 140 kB / 0.8189 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03063/0.7598, allocations: 19.76 MB / 0.8381 GB, free: 10.06 MB / 0.6544 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.5661/1.326, allocations: 60.25 MB / 0.897 GB, free: 182.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/1.339, allocations: 9.164 MB / 0.9059 GB, free: 178.9 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01221/1.351, allocations: 8.59 MB / 0.9143 GB, free: 175.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05351/1.405, allocations: 27.44 MB / 0.9411 GB, free: 161.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01165/1.416, allocations: 7.643 MB / 0.9486 GB, free: 156.8 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0146/1.431, allocations: 4.488 MB / 0.953 GB, free: 155.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=299): time 2.342e-05/1.431, allocations: 4 kB / 0.953 GB, free: 155.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=299): time 0.04654/1.478, allocations: 23.31 MB / 0.9757 GB, free: 137.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/1.478, allocations: 85.77 kB / 0.9758 GB, free: 137.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01381/1.492, allocations: 8.25 MB / 0.9839 GB, free: 129.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002025/1.494, allocations: 97.7 kB / 0.984 GB, free: 129 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.003919/1.498, allocations: 4.084 MB / 0.9879 GB, free: 125 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002919/1.501, allocations: 1.082 MB / 0.989 GB, free: 123.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005924/1.507, allocations: 1.665 MB / 0.9906 GB, free: 122.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.134e-05/1.507, allocations: 305.1 kB / 0.9909 GB, free: 122 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008521/1.515, allocations: 6.544 MB / 0.9973 GB, free: 115.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009494/1.525, allocations: 8.325 MB / 1.005 GB, free: 106.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02028/1.545, allocations: 15.25 MB / 1.02 GB, free: 90.45 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.327e-05/1.545, allocations: 16 kB / 1.02 GB, free: 90.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03364/1.579, allocations: 17.56 MB / 1.037 GB, free: 72.81 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.355e-05/1.579, allocations: 49.7 kB / 1.038 GB, free: 72.76 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.782e-05/1.579, allocations: 48 kB / 1.038 GB, free: 72.71 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06597/1.645, allocations: 11.6 MB / 1.049 GB, free: 61.11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007799/1.653, allocations: 1.546 MB / 1.05 GB, free: 59.55 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004956/1.658, allocations: 3.779 MB / 1.054 GB, free: 55.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009668/1.667, allocations: 340.2 kB / 1.054 GB, free: 55.37 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002411/1.67, allocations: 0.5421 MB / 1.055 GB, free: 54.82 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01375/1.684, allocations: 8.818 MB / 1.064 GB, free: 45.99 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009871/1.694, allocations: 8.276 MB / 1.072 GB, free: 36.86 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01894/1.712, allocations: 15.15 MB / 1.086 GB, free: 21 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.72e-05/1.713, allocations: 16 kB / 1.086 GB, free: 20.99 MB / 0.67 GB Notification: Performance of matching and sorting (n=578) (initialization_lambda0): time 0.0307/1.743, allocations: 17.41 MB / 1.103 GB, free: 3.488 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.805e-05/1.743, allocations: 53.69 kB / 1.104 GB, free: 3.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.905e-05/1.743, allocations: 48 kB / 1.104 GB, free: 3.383 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06808/1.812, allocations: 11.13 MB / 1.114 GB, free: 8.227 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008319/1.82, allocations: 1.557 MB / 1.116 GB, free: 6.66 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2548/2.075, allocations: 8.154 MB / 1.124 GB, free: 207.3 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008802/2.084, allocations: 340.9 kB / 1.124 GB, free: 207.3 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/2.085, allocations: 0.5375 MB / 1.125 GB, free: 207.3 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (524): * Single equations (assignments): 519 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,5), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001801/2.087, allocations: 489.7 kB / 1.125 GB, free: 207.1 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00222/2.089, allocations: 0.7675 MB / 1.126 GB, free: 207.1 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02092/2.11, allocations: 14.18 MB / 1.14 GB, free: 203.3 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/2.11, allocations: 43.25 kB / 1.14 GB, free: 203.3 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/2.11, allocations: 0 / 1.14 GB, free: 203.3 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01311/2.123, allocations: 10.77 MB / 1.15 GB, free: 198.4 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04257/2.166, allocations: 24.56 MB / 1.174 GB, free: 187.2 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/2.166, allocations: 6.062 kB / 1.174 GB, free: 187.2 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005161/2.171, allocations: 0.6828 MB / 1.175 GB, free: 187.1 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06922/2.24, allocations: 10.75 MB / 1.186 GB, free: 186.2 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001411/2.241, allocations: 101.7 kB / 1.186 GB, free: 186.2 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003571/2.245, allocations: 3.114 MB / 1.189 GB, free: 184.2 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/2.245, allocations: 6 kB / 1.189 GB, free: 184.2 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02569/2.271, allocations: 19.17 MB / 1.207 GB, free: 175.8 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00518/2.276, allocations: 1.818 MB / 1.209 GB, free: 174.7 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002352/2.278, allocations: 74.8 kB / 1.209 GB, free: 174.7 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006717/2.285, allocations: 195.2 kB / 1.209 GB, free: 174.6 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001314/2.286, allocations: 221.1 kB / 1.21 GB, free: 174.4 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001029/2.287, allocations: 154.7 kB / 1.21 GB, free: 174.4 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.01047/2.298, allocations: 5.697 MB / 1.215 GB, free: 168.8 MB / 0.6857 GB Notification: Performance of sort global known variables: time 2.71e-07/2.298, allocations: 0 / 1.215 GB, free: 168.8 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.01749/2.315, allocations: 4.774 MB / 1.22 GB, free: 164.2 MB / 0.6857 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (301): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,4), (2,5), (20,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002236/2.318, allocations: 0.5982 MB / 1.221 GB, free: 163.7 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.04701/2.365, allocations: 29.16 MB / 1.249 GB, free: 134.5 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/2.365, allocations: 8.125 kB / 1.249 GB, free: 134.5 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.009449/2.374, allocations: 6.328 MB / 1.255 GB, free: 128.2 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02331/2.398, allocations: 4.925 MB / 1.26 GB, free: 123.6 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03022/2.428, allocations: 20.6 MB / 1.28 GB, free: 103 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004315/2.432, allocations: 5.25 MB / 1.285 GB, free: 97.67 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.01594/2.448, allocations: 4.993 MB / 1.29 GB, free: 92.7 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004189/2.452, allocations: 0.9086 MB / 1.291 GB, free: 91.79 MB / 0.6857 GB Notification: Performance of SimCode: time 1.312e-06/2.452, allocations: 0 / 1.291 GB, free: 91.79 MB / 0.6857 GB Notification: Performance of Templates: time 0.5213/2.974, allocations: 229.9 MB / 1.516 GB, free: 114.8 MB / 0.6857 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)