Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001382/0.001382, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.562/1.562, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001825/0.001825, allocations: 107.5 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2167/0.2167, allocations: 37.98 MB / 295.1 MB, free: 9.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.901e-05, allocations: 3.188 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 48.72 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.81/6.923, allocations: 2.501 GB / 2.891 GB, free: 72.36 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/6.923, allocations: 81.33 kB / 2.891 GB, free: 72.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.369/8.292, allocations: 421.3 MB / 3.302 GB, free: 5.258 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.342e-06/8.292, allocations: 0 / 3.302 GB, free: 5.258 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.723e-05/8.293, allocations: 16 kB / 3.302 GB, free: 5.242 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007503/8.3, allocations: 1.698 MB / 3.304 GB, free: 3.504 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/8.3, allocations: 8.031 kB / 3.304 GB, free: 3.496 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002843/8.303, allocations: 310.8 kB / 3.304 GB, free: 3.191 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/8.304, allocations: 0.5947 MB / 3.305 GB, free: 2.566 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.612e-05/8.304, allocations: 20 kB / 3.305 GB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/8.305, allocations: 32 kB / 3.305 GB, free: 2.516 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001134/8.306, allocations: 0.5297 MB / 3.305 GB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/8.307, allocations: 0.6555 MB / 3.306 GB, free: 1.266 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/8.307, allocations: 0 / 3.306 GB, free: 1.266 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.851e-05/8.307, allocations: 8 kB / 3.306 GB, free: 1.258 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/8.307, allocations: 21.31 kB / 3.306 GB, free: 1.238 MB / 426.7 MB 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.389/8.696, allocations: 36.58 MB / 3.342 GB, free: 38.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006012/8.697, allocations: 331.6 kB / 3.342 GB, free: 38.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/8.697, allocations: 191.1 kB / 3.342 GB, free: 38.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03358/8.731, allocations: 20.01 MB / 3.362 GB, free: 25.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/8.731, allocations: 41.83 kB / 3.362 GB, free: 25.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 3.457e-06/8.731, allocations: 0 / 3.362 GB, free: 25.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=55): time 0.02153/8.752, allocations: 3.263 MB / 3.365 GB, free: 25.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/8.752, allocations: 113.1 kB / 3.365 GB, free: 25.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004828/8.753, allocations: 409.3 kB / 3.365 GB, free: 25.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/8.753, allocations: 25.7 kB / 3.365 GB, free: 25.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/8.753, allocations: 359.8 kB / 3.366 GB, free: 24.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/8.753, allocations: 186.7 kB / 3.366 GB, free: 24.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/8.753, allocations: 3 kB / 3.366 GB, free: 24.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/8.754, allocations: 371.1 kB / 3.366 GB, free: 24.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/8.754, allocations: 269.1 kB / 3.367 GB, free: 24.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/8.754, allocations: 478.2 kB / 3.367 GB, free: 24.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/8.756, allocations: 474 kB / 3.368 GB, free: 24.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/8.756, allocations: 0 / 3.368 GB, free: 24.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002614/8.759, allocations: 1.108 MB / 3.369 GB, free: 24.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004773/8.759, allocations: 2.446 MB / 3.371 GB, free: 21.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/8.759, allocations: 6.969 kB / 3.371 GB, free: 21.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/8.761, allocations: 0.5674 MB / 3.372 GB, free: 21.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/8.762, allocations: 158 kB / 3.372 GB, free: 21.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/8.764, allocations: 1.754 MB / 3.373 GB, free: 20.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009545/8.765, allocations: 97.92 kB / 3.374 GB, free: 20.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/8.765, allocations: 47.95 kB / 3.374 GB, free: 20.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/8.765, allocations: 3.5 kB / 3.374 GB, free: 20.54 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002717/8.768, allocations: 0.9317 MB / 3.374 GB, free: 20.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/8.768, allocations: 3.938 kB / 3.374 GB, free: 20.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/8.769, allocations: 363.2 kB / 3.375 GB, free: 20.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/8.769, allocations: 161.8 kB / 3.375 GB, free: 20.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/8.771, allocations: 1.476 MB / 3.376 GB, free: 19.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007377/8.771, allocations: 95.28 kB / 3.377 GB, free: 19.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/8.772, allocations: 35.84 kB / 3.377 GB, free: 19.4 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * 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 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002905/8.772, allocations: 131.4 kB / 3.377 GB, free: 19.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/8.772, allocations: 66.3 kB / 3.377 GB, free: 19.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004389/8.776, allocations: 3.285 MB / 3.38 GB, free: 18.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/8.776, allocations: 37.16 kB / 3.38 GB, free: 18.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/8.776, allocations: 0 / 3.38 GB, free: 18.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/8.776, allocations: 3.844 kB / 3.38 GB, free: 18.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005952/8.782, allocations: 4.248 MB / 3.384 GB, free: 34.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/8.782, allocations: 3.094 kB / 3.384 GB, free: 34.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/8.783, allocations: 88.17 kB / 3.384 GB, free: 34.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00243/8.785, allocations: 1.513 MB / 3.386 GB, free: 34.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/8.785, allocations: 14.28 kB / 3.386 GB, free: 34.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/8.788, allocations: 2.623 MB / 3.388 GB, free: 33.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/8.788, allocations: 0 / 3.388 GB, free: 33.39 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/8.791, allocations: 2.299 MB / 3.391 GB, free: 33.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004801/8.791, allocations: 300 kB / 3.391 GB, free: 32.94 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/8.791, allocations: 0 / 3.391 GB, free: 32.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006133/8.792, allocations: 89.64 kB / 3.391 GB, free: 32.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/8.792, allocations: 58.2 kB / 3.391 GB, free: 32.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/8.792, allocations: 28.47 kB / 3.391 GB, free: 32.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004267/8.793, allocations: 355.7 kB / 3.391 GB, free: 32.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.032e-06/8.793, allocations: 0 / 3.391 GB, free: 32.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0064/8.799, allocations: 1.481 MB / 3.393 GB, free: 32.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.009047/8.808, allocations: 1.919 MB / 3.395 GB, free: 32.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003255/8.811, allocations: 1.533 MB / 3.396 GB, free: 32.56 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/8.811, allocations: 0 / 3.396 GB, free: 32.56 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/8.813, allocations: 0.9047 MB / 3.397 GB, free: 32.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/8.814, allocations: 266.1 kB / 3.397 GB, free: 32.51 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/8.817, allocations: 1.737 MB / 3.399 GB, free: 32.13 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/8.817, allocations: 1.118 MB / 3.4 GB, free: 31.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001195/8.819, allocations: 0.7455 MB / 3.401 GB, free: 31.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/8.819, allocations: 54.39 kB / 3.401 GB, free: 31.36 MB / 458.7 MB Notification: Performance of SimCode: time 9.42e-07/8.819, allocations: 0 / 3.401 GB, free: 31.36 MB / 458.7 MB Notification: Performance of Templates: time 0.05903/8.878, allocations: 44.41 MB / 3.444 GB, free: 28.4 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1)