Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 101.7 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.001135/0.001135, allocations: 199 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8105/0.8105, allocations: 132.2 MB / 423.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001242, allocations: 63.89 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3392, allocations: 80.19 MB / 0.5815 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.02636/0.3656, allocations: 32.74 MB / 0.6135 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01522/0.3808, allocations: 10.48 MB / 0.6237 GB, free: 2.895 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.3825, allocations: 47.75 kB / 0.6237 GB, free: 2.848 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.3846, allocations: 0.7359 MB / 0.6245 GB, free: 2.109 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004094/0.3888, allocations: 1.566 MB / 0.626 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003588/0.3924, allocations: 1.41 MB / 0.6274 GB, free: 15.13 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006487/0.3989, allocations: 4.876 MB / 0.6321 GB, free: 10.25 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003073/0.402, allocations: 2.066 MB / 0.6341 GB, free: 8.156 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004682/0.4067, allocations: 1.904 MB / 0.636 GB, free: 6.25 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002622/0.4093, allocations: 1.365 MB / 0.6373 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003555/0.4097, allocations: 140 kB / 0.6375 GB, free: 4.742 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.4126, allocations: 1.17 MB / 0.6386 GB, free: 3.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006362/0.4133, allocations: 470.2 kB / 0.6391 GB, free: 3.109 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001639/0.415, allocations: 1.01 MB / 0.64 GB, free: 2.094 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004382/0.4193, allocations: 2.932 MB / 0.6429 GB, free: 15.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4194, allocations: 3.938 kB / 0.6429 GB, free: 15.15 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4194, allocations: 0 / 0.6429 GB, free: 15.15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.159e-05/0.4194, allocations: 0 / 0.6429 GB, free: 15.15 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004017/0.4235, allocations: 2.384 MB / 0.6452 GB, free: 12.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.4235, allocations: 16.03 kB / 0.6453 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.4247, allocations: 298.2 kB / 0.6455 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/0.428, allocations: 1.691 MB / 0.6472 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/0.4281, allocations: 78 kB / 0.6473 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.4282, allocations: 107.9 kB / 0.6474 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.4304, allocations: 1.287 MB / 0.6486 GB, free: 9.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.4304, allocations: 7.875 kB / 0.6486 GB, free: 9.098 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-05/0.4305, allocations: 40 kB / 0.6487 GB, free: 9.059 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.4305, allocations: 24 kB / 0.6487 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.4324, allocations: 0.9717 MB / 0.6496 GB, free: 8.059 MB / 494.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.007876/0.4403, allocations: 6.502 MB / 0.656 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.4416, allocations: 0.5853 MB / 0.6566 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000681/0.4423, allocations: 386.2 kB / 0.6569 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002786/0.4451, allocations: 1.684 MB / 0.6586 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007595/0.4459, allocations: 367.1 kB / 0.6589 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005165/0.4464, allocations: 71.42 kB / 0.659 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 3.056e-06/0.4464, allocations: 4 kB / 0.659 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.00364/0.4501, allocations: 1.317 MB / 0.6603 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.4501, allocations: 59.34 kB / 0.6603 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/0.4527, allocations: 1.793 MB / 0.6621 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.4529, allocations: 45.7 kB / 0.6621 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007794/0.4536, allocations: 0.85 MB / 0.663 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.4538, allocations: 153.8 kB / 0.6631 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.4541, allocations: 194.3 kB / 0.6633 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4542, allocations: 338 kB / 0.6636 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006386/0.4549, allocations: 316.6 kB / 0.6639 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009264/0.4558, allocations: 0.7478 MB / 0.6647 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.4573, allocations: 0.9837 MB / 0.6656 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.4573, allocations: 4 kB / 0.6656 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002715/0.46, allocations: 1.304 MB / 0.6669 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/0.4601, allocations: 33.7 kB / 0.6669 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.4601, allocations: 12.75 kB / 0.6669 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006802/0.4608, allocations: 184.7 kB / 0.6671 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.4615, allocations: 167.7 kB / 0.6673 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006998/0.4622, allocations: 0.765 MB / 0.668 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.4633, allocations: 56.56 kB / 0.6681 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.236e-05/0.4634, allocations: 43.98 kB / 0.6681 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001353/0.4647, allocations: 0.7086 MB / 0.6688 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008476/0.4656, allocations: 0.709 MB / 0.6695 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001347/0.4669, allocations: 0.9249 MB / 0.6704 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.354e-06/0.467, allocations: 4 kB / 0.6704 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002326/0.4693, allocations: 1.26 MB / 0.6716 GB, free: 44 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/0.4694, allocations: 45.69 kB / 0.6717 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.4694, allocations: 8.75 kB / 0.6717 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002447/0.4696, allocations: 124.7 kB / 0.6718 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/0.4703, allocations: 163.7 kB / 0.672 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/0.4727, allocations: 2.326 MB / 0.6742 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.4737, allocations: 56.58 kB / 0.6743 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-05/0.4738, allocations: 39.98 kB / 0.6743 GB, free: 13.14 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003309/0.4741, allocations: 240 kB / 0.6746 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/0.4744, allocations: 177.8 kB / 0.6747 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.4766, allocations: 0.994 MB / 0.6757 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4766, allocations: 11.94 kB / 0.6757 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.4767, allocations: 0 / 0.6757 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001533/0.4782, allocations: 0.9467 MB / 0.6766 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/0.4821, allocations: 2.116 MB / 0.6787 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.4821, allocations: 4 kB / 0.6787 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004511/0.4826, allocations: 75.88 kB / 0.6788 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00031/0.4829, allocations: 124.8 kB / 0.6789 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.483, allocations: 19.92 kB / 0.6789 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007208/0.4837, allocations: 0.7474 MB / 0.6796 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4837, allocations: 0 / 0.6796 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/0.4864, allocations: 1.337 MB / 0.681 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008143/0.4873, allocations: 302.9 kB / 0.6812 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.4875, allocations: 12 kB / 0.6813 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006571/0.4882, allocations: 31.97 kB / 0.6813 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.4883, allocations: 48.25 kB / 0.6813 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.546e-05/0.4884, allocations: 23.97 kB / 0.6814 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001948/0.4903, allocations: 1.239 MB / 0.6826 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4903, allocations: 0 / 0.6826 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002607/0.493, allocations: 0.7877 MB / 0.6833 GB, free: 3.66 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001316/0.4943, allocations: 383.7 kB / 0.6837 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003396/0.4977, allocations: 1.462 MB / 0.6851 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.4977, allocations: 4.125 kB / 0.6851 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007998/0.4985, allocations: 334.3 kB / 0.6854 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/0.5019, allocations: 0.773 MB / 0.6862 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004622/0.5065, allocations: 2.875 MB / 0.689 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.5076, allocations: 1.495 MB / 0.6905 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00159/0.5092, allocations: 461.3 kB / 0.6909 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.5095, allocations: 131.4 kB / 0.691 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of SimCode: time 7.91e-07/0.5095, allocations: 7.938 kB / 0.691 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.05926/0.5688, allocations: 31.51 MB / 0.7218 GB, free: 12.57 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)