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.001417/0.001417, allocations: 104.1 kB / 16.41 MB, free: 6.465 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.001443/0.001443, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.791/0.791, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 58.91 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1656, allocations: 80.22 MB / 0.6603 GB, free: 10.24 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.03353/0.1992, allocations: 29.61 MB / 0.6892 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01808/0.2174, allocations: 9.897 MB / 0.6989 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002401/0.2198, allocations: 51.69 kB / 0.699 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.2223, allocations: 0.6759 MB / 0.6996 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004867/0.2272, allocations: 1.454 MB / 0.701 GB, free: 408 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004002/0.2313, allocations: 1.388 MB / 0.7024 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005563/0.2368, allocations: 3.818 MB / 0.7061 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.2392, allocations: 1.361 MB / 0.7074 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003639/0.2429, allocations: 1.527 MB / 0.7089 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.2448, allocations: 1.034 MB / 0.71 GB, free: 7.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004628/0.2453, allocations: 120 kB / 0.7101 GB, free: 7.113 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.2481, allocations: 1.131 MB / 0.7112 GB, free: 5.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006706/0.2488, allocations: 398.6 kB / 0.7115 GB, free: 5.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.2503, allocations: 0.7812 MB / 0.7123 GB, free: 4.805 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0045/0.2548, allocations: 2.458 MB / 0.7147 GB, free: 2.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2548, allocations: 0 / 0.7147 GB, free: 2.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2549, allocations: 0 / 0.7147 GB, free: 2.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.37e-05/0.2549, allocations: 0 / 0.7147 GB, free: 2.34 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.004483/0.2594, allocations: 1.948 MB / 0.7166 GB, free: 344 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2595, allocations: 8.031 kB / 0.7166 GB, free: 336 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.2608, allocations: 250.8 kB / 0.7169 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/0.2637, allocations: 1.351 MB / 0.7182 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-05/0.2638, allocations: 62 kB / 0.7182 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.264, allocations: 84 kB / 0.7183 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.266, allocations: 0.9811 MB / 0.7193 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.266, allocations: 0 / 0.7193 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.202e-05/0.2661, allocations: 32 kB / 0.7193 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.2661, allocations: 20 kB / 0.7193 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.2676, allocations: 0.7142 MB / 0.72 GB, free: 12.73 MB / 0.5606 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.006288/0.2739, allocations: 4.844 MB / 0.7248 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.2752, allocations: 0.5544 MB / 0.7253 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/0.2758, allocations: 321.3 kB / 0.7256 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002497/0.2783, allocations: 1.572 MB / 0.7271 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007248/0.279, allocations: 336 kB / 0.7275 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004284/0.2795, allocations: 47.53 kB / 0.7275 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 3.416e-06/0.2795, allocations: 0 / 0.7275 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.003181/0.2827, allocations: 1.157 MB / 0.7286 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.2828, allocations: 55.41 kB / 0.7287 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.2847, allocations: 1.286 MB / 0.7299 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.423e-05/0.2848, allocations: 45.69 kB / 0.73 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005936/0.2854, allocations: 0.645 MB / 0.7306 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.2855, allocations: 157.8 kB / 0.7308 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.2858, allocations: 150.2 kB / 0.7309 GB, free: 1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2859, allocations: 337.9 kB / 0.7312 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/0.2865, allocations: 271.6 kB / 0.7315 GB, free: 408 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008257/0.2873, allocations: 0.5826 MB / 0.7321 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.2887, allocations: 0.8097 MB / 0.7329 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.2887, allocations: 4 kB / 0.7329 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002346/0.291, allocations: 1.102 MB / 0.7339 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.2911, allocations: 33.7 kB / 0.734 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.2911, allocations: 8 kB / 0.734 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006389/0.2918, allocations: 187.9 kB / 0.7342 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/0.2923, allocations: 143.7 kB / 0.7343 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007633/0.2931, allocations: 0.7649 MB / 0.735 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008587/0.294, allocations: 48.72 kB / 0.7351 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/0.2941, allocations: 43.98 kB / 0.7351 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009926/0.2951, allocations: 0.5561 MB / 0.7357 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006784/0.2958, allocations: 0.5553 MB / 0.7362 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001082/0.2968, allocations: 0.7356 MB / 0.7369 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.2e-06/0.2969, allocations: 3.938 kB / 0.7369 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001931/0.2988, allocations: 1.057 MB / 0.738 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.2989, allocations: 37.69 kB / 0.738 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.2989, allocations: 8.531 kB / 0.738 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/0.2991, allocations: 112.7 kB / 0.7381 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/0.2996, allocations: 135.7 kB / 0.7382 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.3019, allocations: 2.356 MB / 0.7405 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007634/0.3026, allocations: 48.64 kB / 0.7406 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.962e-05/0.3027, allocations: 35.98 kB / 0.7406 GB, free: 6.27 MB / 0.5762 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.0002868/0.303, allocations: 228 kB / 0.7408 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.3033, allocations: 126.4 kB / 0.741 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.3052, allocations: 0.8726 MB / 0.7418 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.3052, allocations: 11.94 kB / 0.7418 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.3052, allocations: 0 / 0.7418 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001329/0.3065, allocations: 0.8765 MB / 0.7427 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.3097, allocations: 1.795 MB / 0.7444 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.3097, allocations: 4 kB / 0.7444 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.3101, allocations: 79.94 kB / 0.7445 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002774/0.3104, allocations: 120.8 kB / 0.7446 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.3105, allocations: 15.98 kB / 0.7446 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006051/0.3111, allocations: 0.7494 MB / 0.7454 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3111, allocations: 4 kB / 0.7454 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.3132, allocations: 1.182 MB / 0.7465 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4188/0.732, allocations: 244.3 kB / 0.7468 GB, free: 82.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.7322, allocations: 13 kB / 0.7468 GB, free: 82.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006703/0.7329, allocations: 31.22 kB / 0.7468 GB, free: 82.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.7331, allocations: 37.44 kB / 0.7468 GB, free: 82.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-05/0.7331, allocations: 27.28 kB / 0.7469 GB, free: 82.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001544/0.7347, allocations: 0.8844 MB / 0.7477 GB, free: 82.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.7347, allocations: 0.6875 kB / 0.7477 GB, free: 82.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002008/0.7367, allocations: 0.6502 MB / 0.7484 GB, free: 82.2 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.0009297/0.7376, allocations: 373.2 kB / 0.7487 GB, free: 82.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002782/0.7404, allocations: 1.324 MB / 0.75 GB, free: 81.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.7405, allocations: 2.062 kB / 0.75 GB, free: 81.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007691/0.7412, allocations: 323.7 kB / 0.7503 GB, free: 81.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/0.7439, allocations: 0.6042 MB / 0.7509 GB, free: 81.83 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.7482, allocations: 2.258 MB / 0.7531 GB, free: 80.92 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.7493, allocations: 1.255 MB / 0.7544 GB, free: 80.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.7497, allocations: 107.7 kB / 0.7545 GB, free: 80.15 MB / 0.5762 GB Notification: Performance of SimCode: time 7.62e-07/0.7497, allocations: 2.625 kB / 0.7545 GB, free: 80.15 MB / 0.5762 GB Notification: Performance of Templates: time 0.04567/0.7954, allocations: 29.05 MB / 0.7828 GB, free: 66.27 MB / 0.5762 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)