Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7243/0.7243, allocations: 130.5 MB / 143.8 MB, free: 13.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 221.3 MB / 396.8 MB, free: 9.125 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008523/0.0008523, allocations: 94.53 kB / 478.9 MB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.326e-05, allocations: 1.781 kB / 0.5551 GB, free: 86.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1582, allocations: 81.59 MB / 0.6347 GB, free: 12.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.185/1.343, allocations: 381.1 MB / 1.007 GB, free: 249.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/1.343, allocations: 90.45 kB / 1.007 GB, free: 249.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.09/6.433, allocations: 1.334 GB / 2.341 GB, free: 112.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.304e-06/6.433, allocations: 0.9375 kB / 2.341 GB, free: 112.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001061/6.434, allocations: 94.66 kB / 2.342 GB, free: 112.2 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.0173/6.451, allocations: 3.124 MB / 2.345 GB, free: 111.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.037e-05/6.451, allocations: 11.59 kB / 2.345 GB, free: 111.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005341/6.456, allocations: 0.534 MB / 2.345 GB, free: 110.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01751/6.474, allocations: 4.327 MB / 2.349 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004412/6.475, allocations: 137.7 kB / 2.349 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001141/6.476, allocations: 189.9 kB / 2.35 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004374/6.48, allocations: 2.169 MB / 2.352 GB, free: 110 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/6.48, allocations: 6 kB / 2.352 GB, free: 110 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/6.48, allocations: 69.31 kB / 2.352 GB, free: 110 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.761e-05/6.48, allocations: 39.62 kB / 2.352 GB, free: 110 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002769/6.483, allocations: 1.673 MB / 2.353 GB, free: 110 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.01679/6.5, allocations: 11.53 MB / 2.365 GB, free: 103.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/6.502, allocations: 1.175 MB / 2.366 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/6.503, allocations: 0.8998 MB / 2.367 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00584/6.509, allocations: 3.471 MB / 2.37 GB, free: 102 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009405/6.51, allocations: 0.6774 MB / 2.371 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002412/6.512, allocations: 0.6108 MB / 2.371 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 3.927e-06/6.512, allocations: 0 / 2.371 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.002965/6.515, allocations: 1.788 MB / 2.373 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/6.515, allocations: 70.42 kB / 2.373 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003162/6.518, allocations: 2.463 MB / 2.376 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/6.518, allocations: 63.92 kB / 2.376 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/6.52, allocations: 1.416 MB / 2.377 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000322/6.52, allocations: 352.5 kB / 2.377 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.823e-05/6.52, allocations: 27.44 kB / 2.377 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001316/6.52, allocations: 363 kB / 2.378 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007437/6.521, allocations: 0.5145 MB / 2.378 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/6.522, allocations: 1.278 MB / 2.38 GB, free: 99.42 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009643/6.523, allocations: 0.7438 MB / 2.38 GB, free: 99.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/6.523, allocations: 9.344 kB / 2.38 GB, free: 99.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00369/6.527, allocations: 2.354 MB / 2.383 GB, free: 99.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001443/6.528, allocations: 5.982 MB / 2.388 GB, free: 92.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/6.528, allocations: 17.16 kB / 2.388 GB, free: 92.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/6.529, allocations: 0.5062 MB / 2.389 GB, free: 92.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/6.53, allocations: 269.3 kB / 2.389 GB, free: 92.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/6.532, allocations: 1.893 MB / 2.391 GB, free: 91.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/6.535, allocations: 180.7 kB / 2.391 GB, free: 91.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/6.535, allocations: 76.59 kB / 2.391 GB, free: 91.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/6.535, allocations: 3.375 kB / 2.391 GB, free: 91.63 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003032/6.538, allocations: 2.122 MB / 2.393 GB, free: 91.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/6.538, allocations: 15.72 kB / 2.393 GB, free: 91.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007628/6.539, allocations: 472.8 kB / 2.394 GB, free: 91.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000869/6.54, allocations: 256.5 kB / 2.394 GB, free: 91.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005854/6.546, allocations: 5.827 MB / 2.4 GB, free: 88.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/6.548, allocations: 186.4 kB / 2.4 GB, free: 88.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/6.548, allocations: 71.3 kB / 2.4 GB, free: 88.54 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004547/6.549, allocations: 195.9 kB / 2.4 GB, free: 88.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004291/6.549, allocations: 297.3 kB / 2.4 GB, free: 88.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/6.553, allocations: 2.112 MB / 2.403 GB, free: 88.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/6.553, allocations: 11.72 kB / 2.403 GB, free: 88.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/6.553, allocations: 0 / 2.403 GB, free: 88.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002302/6.555, allocations: 1.811 MB / 2.404 GB, free: 87.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007498/6.563, allocations: 4.067 MB / 2.408 GB, free: 87.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/6.563, allocations: 2.688 kB / 2.408 GB, free: 87.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007125/6.564, allocations: 127.5 kB / 2.408 GB, free: 87.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/6.565, allocations: 476.2 kB / 2.409 GB, free: 87.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.12e-05/6.565, allocations: 27.06 kB / 2.409 GB, free: 87.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/6.567, allocations: 1.841 MB / 2.411 GB, free: 86.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/6.567, allocations: 0 / 2.411 GB, free: 86.03 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004827/6.571, allocations: 2.8 MB / 2.413 GB, free: 85.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/6.573, allocations: 494.7 kB / 2.414 GB, free: 85.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003239/6.574, allocations: 23.19 kB / 2.414 GB, free: 85.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/6.575, allocations: 146 kB / 2.414 GB, free: 85.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/6.575, allocations: 67.2 kB / 2.414 GB, free: 85.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.29e-05/6.575, allocations: 37.41 kB / 2.414 GB, free: 85.28 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002729/6.578, allocations: 1.917 MB / 2.416 GB, free: 85.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/6.578, allocations: 3.188 kB / 2.416 GB, free: 85.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004767/6.583, allocations: 1.455 MB / 2.417 GB, free: 84.97 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.001979/6.585, allocations: 1.076 MB / 2.419 GB, free: 84.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004332/6.589, allocations: 2.869 MB / 2.421 GB, free: 84.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/6.589, allocations: 0 / 2.421 GB, free: 84.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008986/6.59, allocations: 0.6592 MB / 2.422 GB, free: 84.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005175/6.595, allocations: 1.166 MB / 2.423 GB, free: 84.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006354/6.602, allocations: 3.875 MB / 2.427 GB, free: 83.28 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/6.603, allocations: 2.102 MB / 2.429 GB, free: 82.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005167/6.608, allocations: 1.594 MB / 2.43 GB, free: 82.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/6.608, allocations: 143 kB / 2.431 GB, free: 82.5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.362e-06/6.609, allocations: 0 / 2.431 GB, free: 82.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.09497/6.703, allocations: 63.03 MB / 2.492 GB, free: 78.73 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)