Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001098/0.001098, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.787/0.787, allocations: 132.2 MB / 423.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.14 kB / 0.5032 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3692, allocations: 80.18 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.0232/0.3924, allocations: 29.62 MB / 0.6104 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.4069, allocations: 9.91 MB / 0.6201 GB, free: 6.621 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.4086, allocations: 51.69 kB / 0.6201 GB, free: 6.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.4109, allocations: 0.6737 MB / 0.6208 GB, free: 5.895 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.4152, allocations: 1.461 MB / 0.6222 GB, free: 4.43 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003567/0.4188, allocations: 1.382 MB / 0.6236 GB, free: 3.055 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005183/0.424, allocations: 3.824 MB / 0.6273 GB, free: 15.22 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002353/0.4264, allocations: 1.357 MB / 0.6286 GB, free: 13.83 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003441/0.4299, allocations: 1.494 MB / 0.6301 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.4318, allocations: 1.042 MB / 0.6311 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003024/0.4321, allocations: 116 kB / 0.6312 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.4345, allocations: 1.127 MB / 0.6323 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004658/0.435, allocations: 398.6 kB / 0.6327 GB, free: 9.656 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.4361, allocations: 0.789 MB / 0.6335 GB, free: 8.863 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003611/0.4398, allocations: 2.45 MB / 0.6359 GB, free: 6.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4398, allocations: 0 / 0.6359 GB, free: 6.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4398, allocations: 0 / 0.6359 GB, free: 6.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.4398, allocations: 4 kB / 0.6359 GB, free: 6.406 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003342/0.4432, allocations: 1.935 MB / 0.6377 GB, free: 4.414 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.4432, allocations: 12.03 kB / 0.6378 GB, free: 4.402 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.4443, allocations: 254.8 kB / 0.638 GB, free: 4.152 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002496/0.4468, allocations: 1.343 MB / 0.6393 GB, free: 2.754 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.197e-05/0.4469, allocations: 62 kB / 0.6394 GB, free: 2.695 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.447, allocations: 87.98 kB / 0.6395 GB, free: 2.609 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.4487, allocations: 0.9732 MB / 0.6404 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.4487, allocations: 7.938 kB / 0.6404 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-05/0.4488, allocations: 35.98 kB / 0.6404 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.4488, allocations: 23.94 kB / 0.6405 GB, free: 1.512 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.4503, allocations: 0.7063 MB / 0.6412 GB, free: 0.8047 MB / 478.1 MB 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.005891/0.4562, allocations: 4.84 MB / 0.6459 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.4574, allocations: 0.5603 MB / 0.6464 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006407/0.4581, allocations: 314.1 kB / 0.6467 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002303/0.4604, allocations: 1.568 MB / 0.6483 GB, free: 9.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006973/0.4611, allocations: 340 kB / 0.6486 GB, free: 8.695 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002444/0.4614, allocations: 55.42 kB / 0.6486 GB, free: 8.641 MB / 494.1 MB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/0.4614, allocations: 3.938 kB / 0.6486 GB, free: 8.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.003166/0.4645, allocations: 1.153 MB / 0.6498 GB, free: 7.453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.4646, allocations: 55.41 kB / 0.6498 GB, free: 7.387 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.4662, allocations: 1.286 MB / 0.6511 GB, free: 6.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/0.4662, allocations: 41.69 kB / 0.6511 GB, free: 6.039 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000556/0.4668, allocations: 0.645 MB / 0.6518 GB, free: 5.387 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.467, allocations: 145.9 kB / 0.6519 GB, free: 5.242 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.4672, allocations: 162.1 kB / 0.652 GB, free: 5.078 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4673, allocations: 333.9 kB / 0.6524 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005826/0.4679, allocations: 271.6 kB / 0.6526 GB, free: 4.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008238/0.4688, allocations: 0.5943 MB / 0.6532 GB, free: 3.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.4701, allocations: 0.8058 MB / 0.654 GB, free: 2.816 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.4701, allocations: 4 kB / 0.654 GB, free: 2.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002253/0.4724, allocations: 1.098 MB / 0.6551 GB, free: 1.695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.4724, allocations: 33.7 kB / 0.6551 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.4724, allocations: 8 kB / 0.6551 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006668/0.4731, allocations: 184.9 kB / 0.6553 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.4737, allocations: 151.7 kB / 0.6554 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007315/0.4744, allocations: 0.7551 MB / 0.6562 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/0.4752, allocations: 48.69 kB / 0.6562 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/0.4752, allocations: 35.98 kB / 0.6562 GB, free: 464 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009121/0.4762, allocations: 0.5522 MB / 0.6568 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006954/0.4769, allocations: 0.5592 MB / 0.6573 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001092/0.478, allocations: 0.7472 MB / 0.6581 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/0.478, allocations: 0 / 0.6581 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001814/0.4798, allocations: 1.065 MB / 0.6591 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.4798, allocations: 33.7 kB / 0.6591 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4799, allocations: 8 kB / 0.6591 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002142/0.4801, allocations: 105.3 kB / 0.6592 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.4806, allocations: 139.8 kB / 0.6594 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.4829, allocations: 2.364 MB / 0.6617 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006618/0.4835, allocations: 48.69 kB / 0.6617 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/0.4836, allocations: 35.98 kB / 0.6618 GB, free: 10.35 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002499/0.4839, allocations: 229.1 kB / 0.662 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.484, allocations: 126.4 kB / 0.6621 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.486, allocations: 0.8725 MB / 0.663 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.486, allocations: 8 kB / 0.663 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.486, allocations: 3.938 kB / 0.663 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001404/0.4874, allocations: 0.8726 MB / 0.6638 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.4905, allocations: 1.795 MB / 0.6656 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.4905, allocations: 0 / 0.6656 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.4909, allocations: 79.88 kB / 0.6656 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002904/0.4912, allocations: 124.9 kB / 0.6658 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.4912, allocations: 16 kB / 0.6658 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006332/0.4919, allocations: 0.7453 MB / 0.6665 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4919, allocations: 0 / 0.6665 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.494, allocations: 1.174 MB / 0.6677 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004572/0.4945, allocations: 259.3 kB / 0.6679 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.4946, allocations: 8 kB / 0.6679 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/0.4952, allocations: 39.97 kB / 0.668 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.4953, allocations: 32.39 kB / 0.668 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.452e-05/0.4953, allocations: 23.98 kB / 0.668 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001178/0.4965, allocations: 0.8935 MB / 0.6689 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4965, allocations: 0 / 0.6689 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001702/0.4982, allocations: 0.6433 MB / 0.6695 GB, free: 2.176 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000811/0.4991, allocations: 376.9 kB / 0.6699 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002642/0.5017, allocations: 1.331 MB / 0.6712 GB, free: 456 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5017, allocations: 0 / 0.6712 GB, free: 456 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007421/0.5025, allocations: 326.2 kB / 0.6715 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.5047, allocations: 0.5962 MB / 0.6721 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.5083, allocations: 2.229 MB / 0.6742 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000866/0.5092, allocations: 1.275 MB / 0.6755 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009729/0.5102, allocations: 310.5 kB / 0.6758 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.5104, allocations: 103.4 kB / 0.6759 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.5104, allocations: 0 / 0.6759 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of Templates: time 0.06309/0.5735, allocations: 25.6 MB / 0.7009 GB, free: 2.285 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)