Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8135/0.8135, allocations: 130.7 MB / 138.7 MB, free: 3.527 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.736/1.736, allocations: 221.5 MB / 391.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009963/0.0009963, allocations: 87.7 kB / 473.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.365e-05/2.367e-05, allocations: 8 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5572, allocations: 81.58 MB / 0.6282 GB, free: 42.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.823/6.38, allocations: 2.12 GB / 2.748 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/6.381, allocations: 87.95 kB / 2.748 GB, free: 176 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.1/8.481, allocations: 0.5968 GB / 3.345 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/8.481, allocations: 0 / 3.345 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002166/8.481, allocations: 43.77 kB / 3.345 GB, free: 111.6 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.004825/8.486, allocations: 1.341 MB / 3.347 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/8.486, allocations: 8.031 kB / 3.347 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003484/8.49, allocations: 0.5798 MB / 3.347 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003355/8.493, allocations: 0.9223 MB / 3.348 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/8.493, allocations: 20 kB / 3.348 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/8.493, allocations: 47.89 kB / 3.348 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001192/8.495, allocations: 0.5623 MB / 3.349 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/8.496, allocations: 0.8205 MB / 3.35 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/8.496, allocations: 3.938 kB / 3.35 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/8.496, allocations: 7.281 kB / 3.35 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/8.496, allocations: 33.3 kB / 3.35 GB, free: 107.1 MB / 0.6823 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.005617/8.502, allocations: 4.802 MB / 3.354 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009166/8.503, allocations: 0.5614 MB / 3.355 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/8.503, allocations: 286.5 kB / 3.355 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/8.504, allocations: 1.595 MB / 3.357 GB, free: 99.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005376/8.505, allocations: 387 kB / 3.357 GB, free: 98.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.557e-06/8.505, allocations: 0 / 3.357 GB, free: 98.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.001765/8.507, allocations: 0.7164 MB / 3.358 GB, free: 98.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/8.507, allocations: 67.86 kB / 3.358 GB, free: 98.15 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/8.508, allocations: 0.8344 MB / 3.359 GB, free: 97.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.964e-05/8.508, allocations: 29.7 kB / 3.359 GB, free: 97.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/8.508, allocations: 0.553 MB / 3.359 GB, free: 96.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/8.508, allocations: 209 kB / 3.359 GB, free: 96.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/8.508, allocations: 0 / 3.359 GB, free: 96.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.168e-05/8.509, allocations: 333.9 kB / 3.36 GB, free: 96.17 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/8.509, allocations: 250.6 kB / 3.36 GB, free: 95.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/8.509, allocations: 0.5368 MB / 3.36 GB, free: 95.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008493/8.51, allocations: 345.9 kB / 3.361 GB, free: 94.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/8.51, allocations: 7.938 kB / 3.361 GB, free: 94.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001736/8.512, allocations: 0.873 MB / 3.362 GB, free: 94.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/8.512, allocations: 13.56 kB / 3.362 GB, free: 94.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/8.512, allocations: 4 kB / 3.362 GB, free: 94.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/8.512, allocations: 16 kB / 3.362 GB, free: 94.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/8.513, allocations: 277.7 kB / 3.362 GB, free: 93.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/8.513, allocations: 15.92 kB / 3.362 GB, free: 93.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/8.515, allocations: 182.9 kB / 3.362 GB, free: 93.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/8.515, allocations: 51.97 kB / 3.362 GB, free: 93.53 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002038/8.515, allocations: 138 kB / 3.362 GB, free: 93.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/8.515, allocations: 114.6 kB / 3.362 GB, free: 93.28 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/8.517, allocations: 1.018 MB / 3.363 GB, free: 92.26 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/8.517, allocations: 11.98 kB / 3.363 GB, free: 92.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/8.517, allocations: 0 / 3.363 GB, free: 92.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/8.517, allocations: 3.984 kB / 3.363 GB, free: 92.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/8.521, allocations: 1.995 MB / 3.365 GB, free: 90.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/8.521, allocations: 4 kB / 3.365 GB, free: 90.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/8.522, allocations: 206.5 kB / 3.366 GB, free: 90.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/8.522, allocations: 8 kB / 3.366 GB, free: 90.01 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.904e-05/8.522, allocations: 19.97 kB / 3.366 GB, free: 89.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/8.522, allocations: 4 kB / 3.366 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/8.522, allocations: 0 / 3.366 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/8.524, allocations: 1.525 MB / 3.367 GB, free: 88.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005124/8.525, allocations: 299.4 kB / 3.367 GB, free: 88.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/8.525, allocations: 4 kB / 3.367 GB, free: 88.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/8.526, allocations: 123.9 kB / 3.367 GB, free: 87.95 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/8.526, allocations: 48.48 kB / 3.368 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.098e-05/8.526, allocations: 31.98 kB / 3.368 GB, free: 87.88 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008135/8.527, allocations: 0.6281 MB / 3.368 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/8.527, allocations: 3.938 kB / 3.368 GB, free: 87.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001454/8.528, allocations: 377.9 kB / 3.369 GB, free: 86.87 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001657/8.53, allocations: 0.7498 MB / 3.369 GB, free: 86.31 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001173/8.531, allocations: 0.7264 MB / 3.37 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/8.531, allocations: 0 / 3.37 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005308/8.532, allocations: 402 kB / 3.37 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/8.533, allocations: 336.8 kB / 3.371 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/8.537, allocations: 1.751 MB / 3.372 GB, free: 83.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/8.538, allocations: 1.136 MB / 3.373 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00104/8.539, allocations: 242.2 kB / 3.374 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/8.539, allocations: 103.3 kB / 3.374 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of SimCode: time 1.413e-06/8.539, allocations: 0 / 3.374 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of Templates: time 0.02863/8.568, allocations: 17.1 MB / 3.391 GB, free: 64.97 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)