Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 104.4 kB / 16.41 MB, free: 6.512 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.001861/0.001861, allocations: 187 kB / 17.34 MB, free: 5.742 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8323/0.8323, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.69 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1728, allocations: 80.91 MB / 0.6653 GB, free: 5.824 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.07066/0.2436, allocations: 72.3 MB / 0.7359 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.425/0.6686, allocations: 16.98 MB / 0.7525 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003483/0.6722, allocations: 92.06 kB / 0.7526 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003323/0.6755, allocations: 1.004 MB / 0.7536 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007019/0.6825, allocations: 2.361 MB / 0.7559 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005491/0.688, allocations: 2.062 MB / 0.7579 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0126/0.7007, allocations: 8.046 MB / 0.7657 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009113/0.7098, allocations: 6.121 MB / 0.7717 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01106/0.7209, allocations: 3.351 MB / 0.775 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006567/0.7275, allocations: 2.495 MB / 0.7774 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001062/0.7286, allocations: 255.3 kB / 0.7777 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005106/0.7337, allocations: 1.373 MB / 0.779 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.7349, allocations: 0.764 MB / 0.7798 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003848/0.7387, allocations: 1.766 MB / 0.7815 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00709/0.7458, allocations: 4.756 MB / 0.7861 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.7459, allocations: 1.375 kB / 0.7861 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7459, allocations: 0 / 0.7861 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001072/0.746, allocations: 0 / 0.7861 GB, free: 8.121 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.007468/0.7535, allocations: 3.949 MB / 0.79 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.7535, allocations: 10.61 kB / 0.79 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/0.7557, allocations: 0.5516 MB / 0.7905 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004912/0.7606, allocations: 2.736 MB / 0.7932 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.683e-05/0.7608, allocations: 134.8 kB / 0.7933 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/0.761, allocations: 190.1 kB / 0.7935 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003672/0.7647, allocations: 2.325 MB / 0.7958 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.676e-05/0.7648, allocations: 9.094 kB / 0.7958 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.7649, allocations: 68.47 kB / 0.7959 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.765, allocations: 48.47 kB / 0.7959 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/0.7681, allocations: 1.866 MB / 0.7977 GB, free: 1.926 MB / 0.5762 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.01392/0.782, allocations: 11.08 MB / 0.8085 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/0.7847, allocations: 1.338 MB / 0.8098 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.7863, allocations: 1.006 MB / 0.8108 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006178/0.7925, allocations: 3.648 MB / 0.8144 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001442/0.794, allocations: 0.7702 MB / 0.8151 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00123/0.7952, allocations: 224.4 kB / 0.8154 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.056e-06/0.7952, allocations: 0 / 0.8154 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.01177/0.807, allocations: 4.165 MB / 0.8194 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.8071, allocations: 64.41 kB / 0.8195 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004111/0.8112, allocations: 2.884 MB / 0.8223 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002658/0.8115, allocations: 61.55 kB / 0.8224 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.8128, allocations: 1.42 MB / 0.8237 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/0.8131, allocations: 335.6 kB / 0.8241 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005159/0.8137, allocations: 351.6 kB / 0.8244 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8138, allocations: 309.1 kB / 0.8247 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.8151, allocations: 0.6809 MB / 0.8254 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/0.8169, allocations: 1.423 MB / 0.8268 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002947/0.8199, allocations: 1.924 MB / 0.8286 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.8199, allocations: 4 kB / 0.8286 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006098/0.826, allocations: 2.841 MB / 0.8314 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.589e-05/0.8261, allocations: 37.7 kB / 0.8314 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.8261, allocations: 12 kB / 0.8315 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002303/0.8284, allocations: 0.6899 MB / 0.8321 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.8296, allocations: 290.4 kB / 0.8324 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.8316, allocations: 1.903 MB / 0.8343 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/0.8339, allocations: 104.9 kB / 0.8344 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.834, allocations: 88.08 kB / 0.8344 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002506/0.8365, allocations: 1.273 MB / 0.8357 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001677/0.8382, allocations: 1.385 MB / 0.837 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002655/0.8409, allocations: 1.82 MB / 0.8388 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.827e-06/0.8409, allocations: 4 kB / 0.8388 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.005099/0.846, allocations: 2.696 MB / 0.8415 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.8461, allocations: 41.73 kB / 0.8415 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.8461, allocations: 16 kB / 0.8415 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008917/0.847, allocations: 481.2 kB / 0.842 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.8482, allocations: 290.9 kB / 0.8423 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006842/0.855, allocations: 6.335 MB / 0.8484 GB, free: 52 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/0.8574, allocations: 117.5 kB / 0.8485 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/0.8577, allocations: 83.95 kB / 0.8486 GB, free: 15.85 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (135): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005195/0.8582, allocations: 281.6 kB / 0.8489 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005698/0.8588, allocations: 296.2 kB / 0.8492 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00475/0.8635, allocations: 2.418 MB / 0.8515 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.8636, allocations: 15.98 kB / 0.8516 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.8636, allocations: 4 kB / 0.8516 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003284/0.8669, allocations: 2.052 MB / 0.8536 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007794/0.8747, allocations: 4.378 MB / 0.8578 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.8747, allocations: 0 / 0.8578 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008352/0.8756, allocations: 172.6 kB / 0.858 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.8766, allocations: 479 kB / 0.8585 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/0.8767, allocations: 35.97 kB / 0.8585 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.8783, allocations: 1.861 MB / 0.8603 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8783, allocations: 3.938 kB / 0.8603 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005626/0.884, allocations: 3.117 MB / 0.8634 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.8853, allocations: 485.1 kB / 0.8638 GB, free: 96 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004005/0.8857, allocations: 24 kB / 0.8638 GB, free: 72 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.8868, allocations: 71.84 kB / 0.8639 GB, free: 0 / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.887, allocations: 76.88 kB / 0.864 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.84e-05/0.8871, allocations: 43.98 kB / 0.864 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002923/0.89, allocations: 1.971 MB / 0.866 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.89, allocations: 0 / 0.866 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003622/0.8937, allocations: 1.349 MB / 0.8673 GB, free: 12.57 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/0.8948, allocations: 466.5 kB / 0.8677 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0057/0.9005, allocations: 3.175 MB / 0.8708 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.9006, allocations: 1.25 kB / 0.8708 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.9021, allocations: 0.7956 MB / 0.8716 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00568/0.9078, allocations: 1.25 MB / 0.8728 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008802/0.9166, allocations: 5.196 MB / 0.8779 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.9181, allocations: 2.054 MB / 0.8799 GB, free: 15.59 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007967/0.9189, allocations: 223.3 kB / 0.8801 GB, free: 15.37 MB / 0.67 GB Notification: Performance of SimCode: time 1.112e-06/0.9189, allocations: 0 / 0.8801 GB, free: 15.37 MB / 0.67 GB Notification: Performance of Templates: time 0.09172/1.011, allocations: 75.34 MB / 0.9537 GB, free: 4.305 MB / 0.7325 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)