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.00198/0.00198, 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/package.mo): time 0.8167/0.8167, allocations: 130.6 MB / 143.8 MB, free: 13.57 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.621/1.621, allocations: 221.3 MB / 396.8 MB, free: 9.234 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.0009292/0.0009291, allocations: 106.4 kB / 479 MB, free: 10.42 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.636e-05, allocations: 4.781 kB / 0.5551 GB, free: 86.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1747, allocations: 81.59 MB / 0.6348 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.151/5.325, allocations: 2.121 GB / 2.756 GB, free: 64.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/5.326, allocations: 83.64 kB / 2.756 GB, free: 64.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.129/7.455, allocations: 0.6001 GB / 3.356 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.415e-06/7.455, allocations: 4 kB / 3.356 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001035/7.455, allocations: 39.98 kB / 3.356 GB, free: 4.094 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.002725/7.458, allocations: 1.34 MB / 3.357 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/7.458, allocations: 8.031 kB / 3.357 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002739/7.461, allocations: 0.5798 MB / 3.358 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/7.463, allocations: 0.9143 MB / 3.359 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/7.463, allocations: 58 kB / 3.359 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/7.463, allocations: 72 kB / 3.359 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/7.464, allocations: 0.9123 MB / 3.36 GB, free: 20 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/7.464, allocations: 4 kB / 3.36 GB, free: 16 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.5027/7.967, allocations: 25.52 kB / 3.36 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-05/7.967, allocations: 32.42 kB / 3.36 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/7.969, allocations: 0.6319 MB / 3.36 GB, free: 142.5 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.007337/7.976, allocations: 4.958 MB / 3.365 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/7.979, allocations: 0.577 MB / 3.366 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007336/7.979, allocations: 309.5 kB / 3.366 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/7.981, allocations: 1.593 MB / 3.368 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008505/7.982, allocations: 415.8 kB / 3.368 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.847e-06/7.982, allocations: 0 / 3.368 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.00183/7.984, allocations: 0.7143 MB / 3.369 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/7.984, allocations: 60.47 kB / 3.369 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/7.985, allocations: 0.9747 MB / 3.37 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.712e-05/7.985, allocations: 40.8 kB / 3.37 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/7.985, allocations: 0.5503 MB / 3.37 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/7.986, allocations: 206.7 kB / 3.37 GB, free: 137 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/7.986, allocations: 13.03 kB / 3.37 GB, free: 137 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.821e-05/7.986, allocations: 341.9 kB / 3.371 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/7.986, allocations: 263.2 kB / 3.371 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006312/7.987, allocations: 0.561 MB / 3.372 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005456/7.987, allocations: 309.5 kB / 3.372 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/7.987, allocations: 6.219 kB / 3.372 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001686/7.989, allocations: 0.912 MB / 3.373 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/7.989, allocations: 9.562 kB / 3.373 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/7.989, allocations: 6.875 kB / 3.373 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.669e-05/7.989, allocations: 18.5 kB / 3.373 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/7.99, allocations: 274 kB / 3.373 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.429e-05/7.99, allocations: 19.12 kB / 3.373 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/7.992, allocations: 211.4 kB / 3.373 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/7.992, allocations: 50.03 kB / 3.373 GB, free: 136.2 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.000204/7.992, allocations: 172.3 kB / 3.374 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/7.992, allocations: 118.4 kB / 3.374 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/7.994, allocations: 1.052 MB / 3.375 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/7.994, allocations: 14.83 kB / 3.375 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/7.994, allocations: 0 / 3.375 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/7.994, allocations: 3.938 kB / 3.375 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/7.998, allocations: 2.117 MB / 3.377 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/7.998, allocations: 2.844 kB / 3.377 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000985/7.999, allocations: 203.5 kB / 3.377 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/7.999, allocations: 3.688 kB / 3.377 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.334e-05/7.999, allocations: 31.97 kB / 3.377 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/7.999, allocations: 3.156 kB / 3.377 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/7.999, allocations: 5.719 kB / 3.377 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/8.001, allocations: 1.564 MB / 3.379 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005692/8.002, allocations: 309.3 kB / 3.379 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/8.002, allocations: 16.66 kB / 3.379 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009952/8.003, allocations: 131.4 kB / 3.379 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/8.003, allocations: 59.59 kB / 3.379 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.499e-05/8.003, allocations: 34.64 kB / 3.379 GB, free: 135 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001138/8.004, allocations: 0.7523 MB / 3.38 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.11e-07/8.004, allocations: 3.281 kB / 3.38 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001571/8.006, allocations: 392.9 kB / 3.38 GB, free: 134.9 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.001786/8.008, allocations: 0.7758 MB / 3.381 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001628/8.009, allocations: 0.7631 MB / 3.382 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/8.009, allocations: 0 / 3.382 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006854/8.01, allocations: 426.9 kB / 3.382 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/8.012, allocations: 422.9 kB / 3.382 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/8.016, allocations: 1.808 MB / 3.384 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006414/8.016, allocations: 1.134 MB / 3.385 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001264/8.018, allocations: 251.7 kB / 3.386 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000372/8.018, allocations: 111.8 kB / 3.386 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.443e-06/8.018, allocations: 0 / 3.386 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.03804/8.056, allocations: 21.37 MB / 3.407 GB, free: 133 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)