Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2") translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001158/0.001158, allocations: 109.8 kB / 16.38 MB, free: 6.375 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.001359/0.001359, allocations: 190.3 kB / 17.31 MB, free: 5.746 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.191/1.191, allocations: 222.9 MB / 241 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7507/0.7507, allocations: 135.1 MB / 426.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 68.58 kB / 0.5862 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1348, allocations: 80.92 MB / 0.6653 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v2): time 0.06659/0.2014, allocations: 80.61 MB / 0.744 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3419/0.5433, allocations: 19.23 MB / 0.7628 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003272/0.5466, allocations: 106.2 kB / 0.7629 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00292/0.5495, allocations: 1.152 MB / 0.764 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007078/0.5567, allocations: 2.762 MB / 0.7667 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006182/0.5629, allocations: 2.391 MB / 0.769 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.022/0.5849, allocations: 26.84 MB / 0.7952 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01723/0.6022, allocations: 17.05 MB / 0.8119 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02097/0.6232, allocations: 11.28 MB / 0.8229 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01912/0.6423, allocations: 11.69 MB / 0.8343 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004243/0.6466, allocations: 1.281 MB / 0.8356 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0098/0.6564, allocations: 2.581 MB / 0.8381 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006531/0.663, allocations: 3.624 MB / 0.8416 GB, free: 15 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01485/0.6779, allocations: 6.493 MB / 0.848 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02155/0.6995, allocations: 18.49 MB / 0.866 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.6995, allocations: 0 / 0.866 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6995, allocations: 3.938 kB / 0.866 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004163/0.7, allocations: 0 / 0.866 GB, free: 6.836 MB / 0.6387 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.03143/0.7314, allocations: 12.21 MB / 0.8779 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.7315, allocations: 13.05 kB / 0.878 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00734/0.7388, allocations: 1.265 MB / 0.8792 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01963/0.7585, allocations: 10.12 MB / 0.8891 GB, free: 15.41 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000376/0.7589, allocations: 431.1 kB / 0.8895 GB, free: 14.98 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002883/0.7618, allocations: 0.5857 MB / 0.89 GB, free: 14.4 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02691/0.7887, allocations: 14.61 MB / 0.9043 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001701/0.7889, allocations: 31.72 kB / 0.9043 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001832/0.7907, allocations: 243.9 kB / 0.9046 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.693e-05/0.7908, allocations: 139.9 kB / 0.9047 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03028/0.8211, allocations: 19.76 MB / 0.924 GB, free: 11.34 MB / 0.7012 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.09301/0.9142, allocations: 60.04 MB / 0.9826 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/0.9276, allocations: 9.168 MB / 0.9916 GB, free: 5.062 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01163/0.9393, allocations: 8.588 MB / 1 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04728/0.9866, allocations: 27.45 MB / 1.027 GB, free: 0.75 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01133/0.998, allocations: 7.639 MB / 1.034 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01467/1.013, allocations: 4.488 MB / 1.039 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=299): time 1.807e-05/1.013, allocations: 0 / 1.039 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=299): time 0.572/1.585, allocations: 23.31 MB / 1.061 GB, free: 304.6 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/1.585, allocations: 89.05 kB / 1.061 GB, free: 304.5 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01463/1.599, allocations: 8.24 MB / 1.07 GB, free: 302.4 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.001907/1.601, allocations: 97.92 kB / 1.07 GB, free: 302.3 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.003869/1.605, allocations: 4.056 MB / 1.074 GB, free: 300.2 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.00261/1.608, allocations: 1.083 MB / 1.075 GB, free: 299.6 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004078/1.612, allocations: 1.666 MB / 1.076 GB, free: 299.1 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 3.917e-05/1.612, allocations: 305.4 kB / 1.077 GB, free: 298.8 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008624/1.621, allocations: 6.547 MB / 1.083 GB, free: 296.4 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01012/1.631, allocations: 8.323 MB / 1.091 GB, free: 291.7 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0189/1.65, allocations: 15.25 MB / 1.106 GB, free: 283.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.945e-05/1.65, allocations: 15.25 kB / 1.106 GB, free: 283.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.0307/1.681, allocations: 17.56 MB / 1.123 GB, free: 271.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-05/1.681, allocations: 57.7 kB / 1.123 GB, free: 271.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.133e-05/1.681, allocations: 59.89 kB / 1.123 GB, free: 271.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06428/1.745, allocations: 11.57 MB / 1.135 GB, free: 260 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007617/1.753, allocations: 1.553 MB / 1.136 GB, free: 258.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004503/1.757, allocations: 3.771 MB / 1.14 GB, free: 254.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009034/1.766, allocations: 344.3 kB / 1.14 GB, free: 254.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002062/1.768, allocations: 0.5421 MB / 1.141 GB, free: 253.7 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01193/1.78, allocations: 8.811 MB / 1.149 GB, free: 244.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008647/1.789, allocations: 8.288 MB / 1.157 GB, free: 235.7 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01714/1.806, allocations: 15.16 MB / 1.172 GB, free: 219.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.083e-05/1.806, allocations: 12 kB / 1.172 GB, free: 219.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=578) (initialization_lambda0): time 0.02806/1.834, allocations: 17.41 MB / 1.189 GB, free: 202.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/1.834, allocations: 57.64 kB / 1.189 GB, free: 202.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.714e-05/1.834, allocations: 48 kB / 1.189 GB, free: 202.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06157/1.896, allocations: 11.14 MB / 1.2 GB, free: 191.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007608/1.904, allocations: 1.538 MB / 1.202 GB, free: 189.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00783/1.912, allocations: 8.183 MB / 1.21 GB, free: 181.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008611/1.92, allocations: 345 kB / 1.21 GB, free: 180.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/1.921, allocations: 0.5382 MB / 1.21 GB, free: 180.2 MB / 0.8263 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.001893/1.923, allocations: 484.5 kB / 1.211 GB, free: 179.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002048/1.925, allocations: 0.7679 MB / 1.212 GB, free: 179 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01974/1.945, allocations: 14.16 MB / 1.225 GB, free: 164.8 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/1.945, allocations: 39.98 kB / 1.226 GB, free: 164.7 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/1.945, allocations: 0 / 1.226 GB, free: 164.7 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01208/1.957, allocations: 10.77 MB / 1.236 GB, free: 153.9 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0274/1.985, allocations: 24.56 MB / 1.26 GB, free: 129.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/1.985, allocations: 0 / 1.26 GB, free: 129.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004585/1.989, allocations: 0.6961 MB / 1.261 GB, free: 128.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06196/2.051, allocations: 10.74 MB / 1.271 GB, free: 117.9 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001047/2.052, allocations: 107.9 kB / 1.271 GB, free: 117.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003107/2.055, allocations: 3.104 MB / 1.274 GB, free: 114.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/2.056, allocations: 4 kB / 1.274 GB, free: 114.6 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02195/2.077, allocations: 19.18 MB / 1.293 GB, free: 95.34 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004311/2.082, allocations: 1.819 MB / 1.295 GB, free: 93.49 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001875/2.084, allocations: 71.98 kB / 1.295 GB, free: 93.42 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005543/2.089, allocations: 203.5 kB / 1.295 GB, free: 93.22 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000887/2.09, allocations: 214.5 kB / 1.295 GB, free: 93.01 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000526/2.091, allocations: 159.9 kB / 1.295 GB, free: 92.85 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.006877/2.098, allocations: 5.691 MB / 1.301 GB, free: 87.19 MB / 0.8263 GB Notification: Performance of sort global known variables: time 2.3e-07/2.098, allocations: 0 / 1.301 GB, free: 87.19 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.01432/2.112, allocations: 4.778 MB / 1.306 GB, free: 82.43 MB / 0.8263 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.001863/2.114, allocations: 0.5967 MB / 1.306 GB, free: 81.9 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.03015/2.144, allocations: 23.48 MB / 1.329 GB, free: 58.37 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/2.144, allocations: 4 kB / 1.329 GB, free: 58.36 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.007701/2.152, allocations: 6.325 MB / 1.335 GB, free: 52.04 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01978/2.172, allocations: 4.9 MB / 1.34 GB, free: 47.29 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02604/2.198, allocations: 20.55 MB / 1.36 GB, free: 26.73 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003851/2.202, allocations: 5.23 MB / 1.365 GB, free: 21.46 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004927/2.206, allocations: 0.9398 MB / 1.366 GB, free: 20.52 MB / 0.8263 GB Notification: Performance of SimCode: time 8.22e-07/2.207, allocations: 0 / 1.366 GB, free: 20.52 MB / 0.8263 GB Notification: Performance of Templates: time 0.5462/2.753, allocations: 308 MB / 1.667 GB, free: 27.86 MB / 0.8263 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)