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-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.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.0008585/0.0008585, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0008376/0.0008376, allocations: 177.3 kB / 15.94 MB, free: 228 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.182/1.182, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8216/0.8216, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003029, allocations: 16 kB / 0.5068 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1485, allocations: 82.3 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.2733/0.4219, allocations: 24.79 MB / 0.6114 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009397/0.4313, allocations: 8.638 MB / 0.6198 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008457/0.4322, allocations: 36.09 kB / 0.6199 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.4335, allocations: 0.5208 MB / 0.6204 GB, free: 34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.4363, allocations: 1.362 MB / 0.6217 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002937/0.4393, allocations: 1.328 MB / 0.623 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002505/0.4418, allocations: 2.209 MB / 0.6252 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.4431, allocations: 1.013 MB / 0.6261 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.445, allocations: 1.016 MB / 0.6271 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.4462, allocations: 0.6991 MB / 0.6278 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.4464, allocations: 52.72 kB / 0.6279 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.4479, allocations: 0.7319 MB / 0.6286 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.4481, allocations: 293.7 kB / 0.6289 GB, free: 31.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.4484, allocations: 318.8 kB / 0.6292 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.4496, allocations: 1.751 MB / 0.6309 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.4497, allocations: 0 / 0.6309 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4497, allocations: 0 / 0.6309 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.4497, allocations: 0 / 0.6309 GB, free: 30.99 MB / 0.4981 GB 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.002284/0.452, allocations: 1.696 MB / 0.6325 GB, free: 29.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.452, allocations: 6.375 kB / 0.6325 GB, free: 29.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008347/0.4528, allocations: 260.5 kB / 0.6328 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.4546, allocations: 1.274 MB / 0.634 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.4546, allocations: 67.72 kB / 0.6341 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.4548, allocations: 85 kB / 0.6342 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.4561, allocations: 1.01 MB / 0.6352 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.4561, allocations: 3.312 kB / 0.6352 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.837e-05/0.4562, allocations: 32.05 kB / 0.6352 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.4562, allocations: 22.38 kB / 0.6352 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.4575, allocations: 0.7762 MB / 0.636 GB, free: 28.33 MB / 0.4981 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.004307/0.4618, allocations: 5.008 MB / 0.6409 GB, free: 24.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.463, allocations: 0.6359 MB / 0.6415 GB, free: 24.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002066/0.465, allocations: 1.888 MB / 0.6433 GB, free: 23.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006259/0.4657, allocations: 361.1 kB / 0.6437 GB, free: 23.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002748/0.466, allocations: 95.31 kB / 0.6438 GB, free: 23.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 1.994e-06/0.466, allocations: 6.906 kB / 0.6438 GB, free: 23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.003153/0.4691, allocations: 1.353 MB / 0.6451 GB, free: 22.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.4692, allocations: 59.33 kB / 0.6452 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.4705, allocations: 1.334 MB / 0.6465 GB, free: 21.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.4705, allocations: 39.7 kB / 0.6465 GB, free: 21.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.4709, allocations: 0.6436 MB / 0.6471 GB, free: 21.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.346e-05/0.471, allocations: 155.9 kB / 0.6473 GB, free: 21.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.471, allocations: 14.69 kB / 0.6473 GB, free: 21.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.4711, allocations: 339.9 kB / 0.6476 GB, free: 21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.4716, allocations: 260.8 kB / 0.6479 GB, free: 20.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006795/0.4723, allocations: 0.6089 MB / 0.6485 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.473, allocations: 368.5 kB / 0.6488 GB, free: 20.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.473, allocations: 2.156 kB / 0.6488 GB, free: 20.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002314/0.4753, allocations: 1.138 MB / 0.6499 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005154/0.4758, allocations: 3.131 MB / 0.653 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.4759, allocations: 7.219 kB / 0.653 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007991/0.4767, allocations: 226.5 kB / 0.6532 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/0.4773, allocations: 152.1 kB / 0.6533 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007774/0.4781, allocations: 0.8574 MB / 0.6542 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000999/0.4791, allocations: 100.3 kB / 0.6543 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.691e-05/0.4791, allocations: 46.78 kB / 0.6543 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.4792, allocations: 10.06 kB / 0.6543 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00156/0.4807, allocations: 0.8519 MB / 0.6552 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.4808, allocations: 7.812 kB / 0.6552 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/0.4811, allocations: 152.4 kB / 0.6553 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.4816, allocations: 143 kB / 0.6555 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.4839, allocations: 2.376 MB / 0.6578 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008533/0.4848, allocations: 92 kB / 0.6579 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-05/0.4849, allocations: 39.78 kB / 0.6579 GB, free: 13.59 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006644/0.4856, allocations: 478.4 kB / 0.6584 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.4857, allocations: 127.5 kB / 0.6585 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.4877, allocations: 0.9391 MB / 0.6594 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.4878, allocations: 6.109 kB / 0.6594 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4878, allocations: 5.016 kB / 0.6594 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001419/0.4892, allocations: 0.9388 MB / 0.6603 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/0.4925, allocations: 1.976 MB / 0.6623 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4926, allocations: 1.406 kB / 0.6623 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.493, allocations: 92.44 kB / 0.6623 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002911/0.4933, allocations: 147.2 kB / 0.6625 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/0.4933, allocations: 17.41 kB / 0.6625 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005864/0.4939, allocations: 0.8151 MB / 0.6633 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4939, allocations: 0 / 0.6633 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.4962, allocations: 1.309 MB / 0.6646 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004792/0.4967, allocations: 288.1 kB / 0.6648 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.4969, allocations: 16.2 kB / 0.6649 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007788/0.4977, allocations: 90.34 kB / 0.6649 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.444e-05/0.4978, allocations: 45.14 kB / 0.665 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.4978, allocations: 23.53 kB / 0.665 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001313/0.4991, allocations: 0.9202 MB / 0.6659 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4991, allocations: 0 / 0.6659 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002039/0.5012, allocations: 0.6923 MB / 0.6666 GB, free: 9.309 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008088/0.502, allocations: 365 kB / 0.6669 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002803/0.5048, allocations: 1.399 MB / 0.6683 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5048, allocations: 0 / 0.6683 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007911/0.5056, allocations: 357.2 kB / 0.6686 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/0.5081, allocations: 0.5787 MB / 0.6692 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.512, allocations: 2.734 MB / 0.6719 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009652/0.513, allocations: 1.301 MB / 0.6731 GB, free: 22.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001207/0.5142, allocations: 303.1 kB / 0.6734 GB, free: 21.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.5144, allocations: 111.5 kB / 0.6735 GB, free: 21.96 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.5145, allocations: 1.594 kB / 0.6735 GB, free: 21.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.04451/0.559, allocations: 25.4 MB / 0.6983 GB, free: 9.195 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1) Environment - environmentSimulation: