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.007173/0.007173, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.00149/0.00149, allocations: 194.5 kB / 16.67 MB, free: 5.93 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7553/0.7553, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.91 kB / 0.5813 GB, free: 7.551 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3771, allocations: 80.2 MB / 0.6597 GB, free: 10.29 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_dp.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.Example2): time 0.02739/0.4046, allocations: 29.62 MB / 0.6886 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01403/0.4186, allocations: 9.901 MB / 0.6982 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.4203, allocations: 45.25 kB / 0.6983 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.4222, allocations: 0.6885 MB / 0.699 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.4267, allocations: 1.497 MB / 0.7004 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003524/0.4302, allocations: 1.385 MB / 0.7018 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004793/0.435, allocations: 3.817 MB / 0.7055 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.4369, allocations: 1.364 MB / 0.7068 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.4401, allocations: 1.521 MB / 0.7083 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.4414, allocations: 1.043 MB / 0.7093 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.4416, allocations: 116 kB / 0.7095 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/0.4438, allocations: 1.135 MB / 0.7106 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.4442, allocations: 398.6 kB / 0.7109 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007817/0.4449, allocations: 0.7851 MB / 0.7117 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.4476, allocations: 2.448 MB / 0.7141 GB, free: 14.33 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.4477, allocations: 0 / 0.7141 GB, free: 14.33 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4477, allocations: 3.938 kB / 0.7141 GB, free: 14.33 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.4477, allocations: 0 / 0.7141 GB, free: 14.33 MB / 0.545 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.002857/0.4505, allocations: 1.942 MB / 0.716 GB, free: 12.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.4506, allocations: 12.03 kB / 0.716 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.4516, allocations: 246.8 kB / 0.7162 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.4538, allocations: 1.347 MB / 0.7176 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.797e-05/0.4539, allocations: 62 kB / 0.7176 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.454, allocations: 88 kB / 0.7177 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.4557, allocations: 0.981 MB / 0.7187 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.4557, allocations: 7.984 kB / 0.7187 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.745e-05/0.4558, allocations: 32 kB / 0.7187 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.4558, allocations: 19.94 kB / 0.7187 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.4573, allocations: 0.7103 MB / 0.7194 GB, free: 8.719 MB / 0.545 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.005081/0.4624, allocations: 4.848 MB / 0.7241 GB, free: 3.539 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.4635, allocations: 0.5576 MB / 0.7247 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006013/0.4641, allocations: 307.4 kB / 0.725 GB, free: 2.676 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/0.466, allocations: 1.576 MB / 0.7265 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006725/0.4667, allocations: 331 kB / 0.7268 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001939/0.4669, allocations: 43.53 kB / 0.7269 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/0.4669, allocations: 4 kB / 0.7269 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.002954/0.4699, allocations: 1.159 MB / 0.728 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.4699, allocations: 67.39 kB / 0.7281 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.4714, allocations: 1.282 MB / 0.7293 GB, free: 14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/0.4714, allocations: 37.7 kB / 0.7294 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/0.4719, allocations: 0.6451 MB / 0.73 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.4721, allocations: 149.8 kB / 0.7301 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.4723, allocations: 154.2 kB / 0.7303 GB, free: 13 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4724, allocations: 333.9 kB / 0.7306 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005622/0.473, allocations: 275.6 kB / 0.7309 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007807/0.4738, allocations: 0.5982 MB / 0.7315 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.4751, allocations: 0.8096 MB / 0.7322 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.4751, allocations: 3.938 kB / 0.7322 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002101/0.4772, allocations: 1.09 MB / 0.7333 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.4772, allocations: 41.69 kB / 0.7334 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4773, allocations: 8 kB / 0.7334 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/0.4779, allocations: 192.9 kB / 0.7335 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/0.4784, allocations: 135.8 kB / 0.7337 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007054/0.4792, allocations: 0.7688 MB / 0.7344 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006335/0.4798, allocations: 44.59 kB / 0.7345 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.516e-05/0.4799, allocations: 43.98 kB / 0.7345 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008224/0.4807, allocations: 0.5522 MB / 0.735 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006536/0.4814, allocations: 0.5553 MB / 0.7356 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001061/0.4825, allocations: 0.7434 MB / 0.7363 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.799e-06/0.4825, allocations: 4 kB / 0.7363 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001694/0.4842, allocations: 1.05 MB / 0.7373 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.4842, allocations: 37.73 kB / 0.7374 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4842, allocations: 8 kB / 0.7374 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001852/0.4844, allocations: 108.7 kB / 0.7375 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.4849, allocations: 135.7 kB / 0.7376 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.487, allocations: 2.358 MB / 0.7399 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000594/0.4876, allocations: 44.62 kB / 0.74 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.4877, allocations: 36 kB / 0.74 GB, free: 2.277 MB / 0.5606 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.0001898/0.4878, allocations: 235.1 kB / 0.7402 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.488, allocations: 134.5 kB / 0.7404 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.4898, allocations: 0.8719 MB / 0.7412 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.4898, allocations: 11.88 kB / 0.7412 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.4898, allocations: 0 / 0.7412 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001356/0.4911, allocations: 0.8687 MB / 0.7421 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002636/0.4938, allocations: 1.803 MB / 0.7438 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4938, allocations: 0 / 0.7438 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.4942, allocations: 79.88 kB / 0.7439 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.4945, allocations: 116.8 kB / 0.744 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.4945, allocations: 11.98 kB / 0.744 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005805/0.4951, allocations: 0.7551 MB / 0.7448 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4951, allocations: 4 kB / 0.7448 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.4971, allocations: 1.178 MB / 0.7459 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.4974, allocations: 259.4 kB / 0.7462 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.4976, allocations: 12 kB / 0.7462 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005261/0.4981, allocations: 27.95 kB / 0.7462 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.812e-05/0.4982, allocations: 40.39 kB / 0.7462 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/0.4982, allocations: 23.92 kB / 0.7463 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001033/0.4993, allocations: 0.8858 MB / 0.7471 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4993, allocations: 8 kB / 0.7471 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001486/0.5008, allocations: 0.6472 MB / 0.7478 GB, free: 10.09 MB / 0.5762 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.0007224/0.5015, allocations: 372.6 kB / 0.7481 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00238/0.5039, allocations: 1.327 MB / 0.7494 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5039, allocations: 0 / 0.7494 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006936/0.5046, allocations: 327.4 kB / 0.7497 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.5068, allocations: 0.604 MB / 0.7503 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.5099, allocations: 2.208 MB / 0.7525 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007543/0.5106, allocations: 1.275 MB / 0.7537 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008393/0.5115, allocations: 322.3 kB / 0.754 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.5117, allocations: 99.41 kB / 0.7541 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.5117, allocations: 0 / 0.7541 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of Templates: time 0.03878/0.5505, allocations: 25.77 MB / 0.7793 GB, free: 10.07 MB / 0.6075 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)