Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001361/0.00136, allocations: 174.8 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-master/package.mo): time 0.7367/0.7367, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.57/1.57, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.0008696/0.0008695, allocations: 93.89 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.269e-05/5.272e-05, allocations: 2.656 kB / 0.56 GB, free: 87.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2143, allocations: 82.31 MB / 0.6404 GB, free: 7.832 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.387/1.602, allocations: 381.4 MB / 1.013 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/1.602, allocations: 94.3 kB / 1.013 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.093/6.695, allocations: 1.334 GB / 2.347 GB, free: 110.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.826e-06/6.695, allocations: 0 / 2.347 GB, free: 110.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006222/6.696, allocations: 87.91 kB / 2.347 GB, free: 110.6 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.01361/6.709, allocations: 3.122 MB / 2.35 GB, free: 109.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/6.709, allocations: 12.72 kB / 2.35 GB, free: 109.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003913/6.713, allocations: 0.5303 MB / 2.351 GB, free: 109.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01357/6.727, allocations: 4.33 MB / 2.355 GB, free: 108.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/6.727, allocations: 139.9 kB / 2.355 GB, free: 108.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005655/6.728, allocations: 195.3 kB / 2.356 GB, free: 108.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003495/6.731, allocations: 2.168 MB / 2.358 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/6.731, allocations: 5.094 kB / 2.358 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/6.731, allocations: 69.31 kB / 2.358 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/6.731, allocations: 38.59 kB / 2.358 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/6.734, allocations: 1.679 MB / 2.359 GB, free: 108.2 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.01431/6.748, allocations: 11.51 MB / 2.371 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/6.75, allocations: 1.194 MB / 2.372 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/6.751, allocations: 0.8952 MB / 2.373 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006183/6.757, allocations: 3.476 MB / 2.376 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009406/6.758, allocations: 0.6779 MB / 2.377 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002172/6.761, allocations: 0.6094 MB / 2.377 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 2.945e-06/6.761, allocations: 3.781 kB / 2.377 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.002826/6.763, allocations: 1.781 MB / 2.379 GB, free: 99.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/6.764, allocations: 69.19 kB / 2.379 GB, free: 99.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00358/6.767, allocations: 2.458 MB / 2.382 GB, free: 99.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/6.767, allocations: 67.22 kB / 2.382 GB, free: 99.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/6.768, allocations: 1.419 MB / 2.383 GB, free: 99.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/6.769, allocations: 350.9 kB / 2.383 GB, free: 98.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.476e-05/6.769, allocations: 32.66 kB / 2.383 GB, free: 98.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00012/6.769, allocations: 362.6 kB / 2.384 GB, free: 98.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007767/6.77, allocations: 0.5171 MB / 2.384 GB, free: 98.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/6.771, allocations: 1.281 MB / 2.385 GB, free: 97.65 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009685/6.772, allocations: 0.735 MB / 2.386 GB, free: 97.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/6.772, allocations: 5.688 kB / 2.386 GB, free: 97.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003604/6.775, allocations: 2.359 MB / 2.388 GB, free: 97.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001162/6.777, allocations: 5.981 MB / 2.394 GB, free: 90.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/6.777, allocations: 15.59 kB / 2.394 GB, free: 90.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/6.778, allocations: 0.5024 MB / 2.395 GB, free: 90.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/6.779, allocations: 270.1 kB / 2.395 GB, free: 90.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/6.78, allocations: 1.888 MB / 2.397 GB, free: 89.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/6.783, allocations: 179.3 kB / 2.397 GB, free: 89.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/6.783, allocations: 76.84 kB / 2.397 GB, free: 89.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/6.783, allocations: 3.875 kB / 2.397 GB, free: 89.87 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003231/6.787, allocations: 2.124 MB / 2.399 GB, free: 89.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/6.787, allocations: 14.66 kB / 2.399 GB, free: 89.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000839/6.788, allocations: 477.1 kB / 2.4 GB, free: 89.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009551/6.788, allocations: 260.7 kB / 2.4 GB, free: 89.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006334/6.795, allocations: 5.834 MB / 2.406 GB, free: 86.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/6.798, allocations: 181.1 kB / 2.406 GB, free: 86.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002641/6.798, allocations: 71.75 kB / 2.406 GB, free: 86.77 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.0005881/6.799, allocations: 201.9 kB / 2.406 GB, free: 86.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009341/6.799, allocations: 295.3 kB / 2.406 GB, free: 86.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004458/6.804, allocations: 2.107 MB / 2.408 GB, free: 86.35 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/6.804, allocations: 10.75 kB / 2.408 GB, free: 86.35 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/6.804, allocations: 2.719 kB / 2.408 GB, free: 86.35 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002468/6.806, allocations: 1.816 MB / 2.41 GB, free: 85.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008915/6.815, allocations: 4.047 MB / 2.414 GB, free: 85.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/6.815, allocations: 2.094 kB / 2.414 GB, free: 85.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006995/6.816, allocations: 141.6 kB / 2.414 GB, free: 85.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/6.817, allocations: 468.5 kB / 2.415 GB, free: 85.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.573e-05/6.817, allocations: 30.86 kB / 2.415 GB, free: 85.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/6.819, allocations: 1.845 MB / 2.417 GB, free: 84.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/6.819, allocations: 0 / 2.417 GB, free: 84.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004297/6.823, allocations: 2.789 MB / 2.419 GB, free: 83.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001916/6.825, allocations: 0.4896 MB / 2.42 GB, free: 83.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009363/6.826, allocations: 30.2 kB / 2.42 GB, free: 83.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002349/6.828, allocations: 137.9 kB / 2.42 GB, free: 83.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/6.829, allocations: 77.23 kB / 2.42 GB, free: 83.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/6.829, allocations: 38.94 kB / 2.42 GB, free: 83.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005755/6.835, allocations: 1.916 MB / 2.422 GB, free: 83.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.372e-06/6.835, allocations: 0 / 2.422 GB, free: 83.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008454/6.843, allocations: 1.443 MB / 2.423 GB, free: 83.17 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.002649/6.846, allocations: 1.088 MB / 2.424 GB, free: 82.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005455/6.851, allocations: 2.866 MB / 2.427 GB, free: 82.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/6.851, allocations: 0 / 2.427 GB, free: 82.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/6.852, allocations: 0.6584 MB / 2.428 GB, free: 82.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006228/6.859, allocations: 1.178 MB / 2.429 GB, free: 82.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008564/6.867, allocations: 3.868 MB / 2.433 GB, free: 81.47 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00217/6.869, allocations: 2.103 MB / 2.435 GB, free: 80.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.006215/6.876, allocations: 1.597 MB / 2.436 GB, free: 80.51 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005/6.876, allocations: 136.2 kB / 2.437 GB, free: 80.5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/6.876, allocations: 1.781 kB / 2.437 GB, free: 80.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.1041/6.98, allocations: 63.03 MB / 2.498 GB, free: 67.22 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)