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.008127/0.008127, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001784/0.001784, allocations: 195.9 kB / 16.67 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8212/0.8212, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.19 kB / 0.5813 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1393, allocations: 80.21 MB / 0.6597 GB, free: 10.26 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.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.Example3): time 0.03296/0.1723, allocations: 32.74 MB / 0.6916 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01318/0.1855, allocations: 10.48 MB / 0.7019 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.1868, allocations: 47.75 kB / 0.7019 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.1886, allocations: 0.7302 MB / 0.7026 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003535/0.1921, allocations: 1.609 MB / 0.7042 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002993/0.1951, allocations: 1.412 MB / 0.7056 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004943/0.2001, allocations: 4.889 MB / 0.7103 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.2024, allocations: 2.07 MB / 0.7124 GB, free: 4.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00316/0.2056, allocations: 1.939 MB / 0.7143 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.207, allocations: 1.369 MB / 0.7156 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001941/0.2072, allocations: 140 kB / 0.7157 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.2093, allocations: 1.174 MB / 0.7169 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004068/0.2097, allocations: 466.3 kB / 0.7173 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009467/0.2107, allocations: 1.007 MB / 0.7183 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.2136, allocations: 2.936 MB / 0.7212 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2137, allocations: 0 / 0.7212 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2137, allocations: 0 / 0.7212 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.084e-05/0.2137, allocations: 4 kB / 0.7212 GB, free: 11.04 MB / 0.5606 GB 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.003255/0.217, allocations: 2.392 MB / 0.7235 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.217, allocations: 8.031 kB / 0.7235 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.2181, allocations: 302.2 kB / 0.7238 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.2208, allocations: 1.691 MB / 0.7255 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/0.2209, allocations: 78 kB / 0.7255 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.221, allocations: 104 kB / 0.7256 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.223, allocations: 1.291 MB / 0.7269 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.223, allocations: 3.938 kB / 0.7269 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.574e-05/0.2231, allocations: 40 kB / 0.7269 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.2231, allocations: 24 kB / 0.727 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.2249, allocations: 0.9717 MB / 0.7279 GB, free: 3.949 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.006295/0.2312, allocations: 6.502 MB / 0.7343 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.2325, allocations: 0.5817 MB / 0.7348 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006655/0.2331, allocations: 389.9 kB / 0.7352 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002174/0.2353, allocations: 1.695 MB / 0.7369 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007189/0.236, allocations: 359.2 kB / 0.7372 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002927/0.2364, allocations: 83.34 kB / 0.7373 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.014e-06/0.2364, allocations: 0 / 0.7373 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.003208/0.2396, allocations: 1.309 MB / 0.7386 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.2396, allocations: 63.34 kB / 0.7386 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.2416, allocations: 1.789 MB / 0.7404 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.2417, allocations: 41.7 kB / 0.7404 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006244/0.2423, allocations: 0.8539 MB / 0.7412 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.2424, allocations: 161.7 kB / 0.7414 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.2427, allocations: 194.4 kB / 0.7416 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2428, allocations: 334 kB / 0.7419 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006227/0.2434, allocations: 312.6 kB / 0.7422 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008993/0.2443, allocations: 0.7518 MB / 0.7429 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.2458, allocations: 0.9759 MB / 0.7439 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.2458, allocations: 4 kB / 0.7439 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002409/0.2482, allocations: 1.309 MB / 0.7452 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.2482, allocations: 37.7 kB / 0.7452 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.2483, allocations: 12.03 kB / 0.7452 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006301/0.2489, allocations: 188.7 kB / 0.7454 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.2495, allocations: 171.7 kB / 0.7456 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006043/0.2501, allocations: 0.7578 MB / 0.7463 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3264/0.5765, allocations: 48.8 kB / 0.7463 GB, free: 82.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.5767, allocations: 47.31 kB / 0.7464 GB, free: 82.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00148/0.5782, allocations: 0.7119 MB / 0.7471 GB, free: 81.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008942/0.5791, allocations: 0.7081 MB / 0.7478 GB, free: 81.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001355/0.5805, allocations: 0.9266 MB / 0.7487 GB, free: 81.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.143e-06/0.5805, allocations: 2.875 kB / 0.7487 GB, free: 81.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002296/0.5828, allocations: 1.268 MB / 0.7499 GB, free: 80.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.5828, allocations: 40.58 kB / 0.75 GB, free: 80.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.5829, allocations: 10.75 kB / 0.75 GB, free: 80.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002395/0.5831, allocations: 121.9 kB / 0.7501 GB, free: 80.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/0.5837, allocations: 161.1 kB / 0.7502 GB, free: 80.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.5856, allocations: 2.321 MB / 0.7525 GB, free: 79.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009373/0.5865, allocations: 54.89 kB / 0.7526 GB, free: 79.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-05/0.5866, allocations: 42.59 kB / 0.7526 GB, free: 79.07 MB / 0.5762 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.0002641/0.5869, allocations: 244.5 kB / 0.7528 GB, free: 78.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/0.5871, allocations: 173.9 kB / 0.753 GB, free: 78.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.5894, allocations: 1.002 MB / 0.754 GB, free: 78.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.5894, allocations: 9.969 kB / 0.754 GB, free: 78.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.5894, allocations: 0 / 0.754 GB, free: 78.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001518/0.591, allocations: 0.9408 MB / 0.7549 GB, free: 77.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/0.5948, allocations: 2.108 MB / 0.757 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.5948, allocations: 1.297 kB / 0.757 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004981/0.5953, allocations: 82.19 kB / 0.757 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003582/0.5957, allocations: 131.3 kB / 0.7572 GB, free: 76.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.5957, allocations: 17.91 kB / 0.7572 GB, free: 76.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006326/0.5964, allocations: 0.7373 MB / 0.7579 GB, free: 76.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.5964, allocations: 1 kB / 0.7579 GB, free: 76.35 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.5991, allocations: 1.338 MB / 0.7592 GB, free: 75.78 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005275/0.5996, allocations: 307.5 kB / 0.7595 GB, free: 75.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.5998, allocations: 12.11 kB / 0.7595 GB, free: 75.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006532/0.6005, allocations: 34.53 kB / 0.7595 GB, free: 75.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.6006, allocations: 37.17 kB / 0.7596 GB, free: 75.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.6007, allocations: 23.98 kB / 0.7596 GB, free: 75.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002314/0.603, allocations: 1.245 MB / 0.7608 GB, free: 75.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.61e-07/0.603, allocations: 0.875 kB / 0.7608 GB, free: 75.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003063/0.6061, allocations: 0.7863 MB / 0.7616 GB, free: 74.98 MB / 0.5762 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.001182/0.6073, allocations: 379.8 kB / 0.762 GB, free: 74.88 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003898/0.6112, allocations: 1.467 MB / 0.7634 GB, free: 74.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.6112, allocations: 1.125 kB / 0.7634 GB, free: 74.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.6123, allocations: 331.4 kB / 0.7637 GB, free: 74.15 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003693/0.616, allocations: 0.7838 MB / 0.7645 GB, free: 73.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/0.6206, allocations: 2.875 MB / 0.7673 GB, free: 72.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.6218, allocations: 1.497 MB / 0.7687 GB, free: 71.85 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00171/0.6235, allocations: 459.5 kB / 0.7692 GB, free: 71.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.6238, allocations: 126.6 kB / 0.7693 GB, free: 71.75 MB / 0.5762 GB Notification: Performance of SimCode: time 1.253e-06/0.6238, allocations: 3.938 kB / 0.7693 GB, free: 71.75 MB / 0.5762 GB Notification: Performance of Templates: time 0.04556/0.6694, allocations: 31.7 MB / 0.8003 GB, free: 47.77 MB / 0.5762 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)