Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001123/0.001124, allocations: 105 kB / 16.35 MB, free: 5.879 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.00113/0.001131, allocations: 196 kB / 17.3 MB, free: 5.52 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7905/0.7905, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.5067 GB, free: 7.641 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3113, allocations: 80.92 MB / 0.5858 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.024/0.3353, allocations: 32.74 MB / 0.6177 GB, free: 9.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01413/0.3495, allocations: 10.48 MB / 0.628 GB, free: 15.26 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/0.3514, allocations: 47.75 kB / 0.628 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.3536, allocations: 0.7359 MB / 0.6287 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003922/0.3576, allocations: 1.566 MB / 0.6302 GB, free: 12.9 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003293/0.3609, allocations: 1.418 MB / 0.6316 GB, free: 11.49 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005879/0.3668, allocations: 4.883 MB / 0.6364 GB, free: 6.594 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002677/0.3695, allocations: 2.062 MB / 0.6384 GB, free: 4.504 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003552/0.373, allocations: 1.9 MB / 0.6403 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.3749, allocations: 1.357 MB / 0.6416 GB, free: 1.234 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002642/0.3752, allocations: 140 kB / 0.6417 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.3775, allocations: 1.174 MB / 0.6429 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004757/0.3779, allocations: 474.1 kB / 0.6433 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.3791, allocations: 1.007 MB / 0.6443 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003314/0.3824, allocations: 2.936 MB / 0.6472 GB, free: 11.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3824, allocations: 0 / 0.6472 GB, free: 11.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3824, allocations: 0 / 0.6472 GB, free: 11.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.96e-05/0.3825, allocations: 0 / 0.6472 GB, free: 11.5 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.003737/0.3862, allocations: 2.384 MB / 0.6495 GB, free: 9.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3863, allocations: 9.109 kB / 0.6495 GB, free: 9.043 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.3874, allocations: 310.2 kB / 0.6498 GB, free: 8.738 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/0.3905, allocations: 1.687 MB / 0.6515 GB, free: 7.004 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.488e-05/0.3906, allocations: 78 kB / 0.6515 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.3907, allocations: 107.9 kB / 0.6516 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.3927, allocations: 1.287 MB / 0.6529 GB, free: 5.457 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.3928, allocations: 3.938 kB / 0.6529 GB, free: 5.453 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.622e-05/0.3929, allocations: 44 kB / 0.6529 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.3929, allocations: 27.98 kB / 0.653 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.3947, allocations: 0.9717 MB / 0.6539 GB, free: 4.406 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.00699/0.4017, allocations: 6.502 MB / 0.6603 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.4029, allocations: 0.5745 MB / 0.6608 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006822/0.4036, allocations: 395 kB / 0.6612 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002492/0.4061, allocations: 1.693 MB / 0.6629 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007103/0.4068, allocations: 355.5 kB / 0.6632 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003637/0.4072, allocations: 75.41 kB / 0.6633 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.294e-06/0.4072, allocations: 0 / 0.6633 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003364/0.4106, allocations: 1.316 MB / 0.6645 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.4106, allocations: 67.28 kB / 0.6646 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.4128, allocations: 1.796 MB / 0.6664 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.412e-05/0.4129, allocations: 45.64 kB / 0.6664 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007322/0.4136, allocations: 0.85 MB / 0.6672 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.4138, allocations: 153.8 kB / 0.6674 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/0.4141, allocations: 198.3 kB / 0.6676 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4142, allocations: 337.9 kB / 0.6679 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006287/0.4148, allocations: 316.6 kB / 0.6682 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009363/0.4158, allocations: 0.7433 MB / 0.6689 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.4173, allocations: 0.9876 MB / 0.6699 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.4173, allocations: 4 kB / 0.6699 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002553/0.4199, allocations: 1.3 MB / 0.6712 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/0.4199, allocations: 41.7 kB / 0.6712 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.4199, allocations: 8 kB / 0.6712 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006674/0.4206, allocations: 189.3 kB / 0.6714 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.4213, allocations: 171.7 kB / 0.6716 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006404/0.4219, allocations: 0.761 MB / 0.6723 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000895/0.4228, allocations: 48.56 kB / 0.6723 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.902e-05/0.4229, allocations: 47.98 kB / 0.6724 GB, free: 388 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001119/0.424, allocations: 0.7134 MB / 0.6731 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007905/0.4248, allocations: 0.7051 MB / 0.6738 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001247/0.4261, allocations: 0.9249 MB / 0.6747 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.193e-06/0.4261, allocations: 7.984 kB / 0.6747 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002151/0.4283, allocations: 1.264 MB / 0.6759 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.4283, allocations: 37.64 kB / 0.676 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.4283, allocations: 12 kB / 0.676 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/0.4286, allocations: 125.5 kB / 0.6761 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/0.4292, allocations: 163.7 kB / 0.6762 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.4313, allocations: 2.326 MB / 0.6785 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008759/0.4322, allocations: 56.55 kB / 0.6786 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.41e-05/0.4323, allocations: 47.98 kB / 0.6786 GB, free: 9.477 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.0002578/0.4326, allocations: 240 kB / 0.6788 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.4328, allocations: 173.8 kB / 0.679 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.4349, allocations: 0.9977 MB / 0.68 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.4349, allocations: 4 kB / 0.68 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.4349, allocations: 0 / 0.68 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001454/0.4364, allocations: 0.9545 MB / 0.6809 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/0.4398, allocations: 2.085 MB / 0.683 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.4398, allocations: 0 / 0.683 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004554/0.4402, allocations: 91.92 kB / 0.683 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002963/0.4406, allocations: 120.8 kB / 0.6832 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/0.4406, allocations: 15.98 kB / 0.6832 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005991/0.4412, allocations: 0.7422 MB / 0.6839 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4412, allocations: 4.062 kB / 0.6839 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.4436, allocations: 1.345 MB / 0.6852 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005642/0.4442, allocations: 298.8 kB / 0.6855 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.4444, allocations: 12 kB / 0.6855 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/0.445, allocations: 35.97 kB / 0.6855 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.4451, allocations: 48.3 kB / 0.6856 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.673e-05/0.4452, allocations: 23.98 kB / 0.6856 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001777/0.447, allocations: 1.243 MB / 0.6868 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.447, allocations: 0 / 0.6868 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002079/0.4491, allocations: 0.7798 MB / 0.6876 GB, free: 4 kB / 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.0008573/0.45, allocations: 387.2 kB / 0.688 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002661/0.4526, allocations: 1.462 MB / 0.6894 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4526, allocations: 0 / 0.6894 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006873/0.4533, allocations: 342.7 kB / 0.6897 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/0.4563, allocations: 0.7816 MB / 0.6905 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.4607, allocations: 2.882 MB / 0.6933 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.4617, allocations: 1.491 MB / 0.6947 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001442/0.4632, allocations: 464.5 kB / 0.6952 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.4635, allocations: 131.3 kB / 0.6953 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of SimCode: time 9.11e-07/0.4635, allocations: 0 / 0.6953 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of Templates: time 0.05069/0.5142, allocations: 31.5 MB / 0.7261 GB, free: 8.902 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)