Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, 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-master/package.mo): time 0.7365/0.7365, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.63/1.63, allocations: 221.3 MB / 400.4 MB, free: 5.852 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.0009425/0.0009426, allocations: 90.08 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.55e-05/5.553e-05, allocations: 8 kB / 0.56 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1802, allocations: 82.3 MB / 0.6404 GB, free: 7.844 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.654/4.835, allocations: 1.837 GB / 2.477 GB, free: 95.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/4.835, allocations: 86.45 kB / 2.477 GB, free: 95.24 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.832/7.667, allocations: 0.6863 GB / 3.163 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.503e-06/7.667, allocations: 0 / 3.163 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002233/7.667, allocations: 41.67 kB / 3.164 GB, free: 112.7 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.008447/7.676, allocations: 1.868 MB / 3.165 GB, free: 112 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/7.676, allocations: 6.906 kB / 3.165 GB, free: 112 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005472/7.681, allocations: 0.8772 MB / 3.166 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004524/7.686, allocations: 1.134 MB / 3.167 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/7.686, allocations: 66.56 kB / 3.167 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000389/7.687, allocations: 96.28 kB / 3.167 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/7.689, allocations: 1.278 MB / 3.169 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/7.689, allocations: 0 / 3.169 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/7.689, allocations: 34.81 kB / 3.169 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/7.689, allocations: 44.08 kB / 3.169 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/7.691, allocations: 1.137 MB / 3.17 GB, free: 111.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.008162/7.699, allocations: 5.041 MB / 3.175 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/7.701, allocations: 1.111 MB / 3.176 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008521/7.702, allocations: 0.5989 MB / 3.176 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/7.703, allocations: 0.9414 MB / 3.177 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/7.704, allocations: 0.7122 MB / 3.178 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=95): time 4.548e-06/7.704, allocations: 0 / 3.178 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.003214/7.707, allocations: 1.317 MB / 3.179 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/7.707, allocations: 59.91 kB / 3.179 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/7.709, allocations: 1.055 MB / 3.18 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/7.71, allocations: 46.05 kB / 3.181 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006269/7.71, allocations: 0.5413 MB / 3.181 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004478/7.711, allocations: 330.2 kB / 3.181 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.974e-05/7.711, allocations: 19.56 kB / 3.181 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001363/7.711, allocations: 344.5 kB / 3.182 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009153/7.712, allocations: 495.1 kB / 3.182 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/7.713, allocations: 0.724 MB / 3.183 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009414/7.714, allocations: 0.5052 MB / 3.183 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/7.714, allocations: 3.594 kB / 3.183 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002764/7.717, allocations: 1.344 MB / 3.185 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/7.717, allocations: 5.938 kB / 3.185 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/7.717, allocations: 7.125 kB / 3.185 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.062e-05/7.717, allocations: 6.844 kB / 3.185 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/7.719, allocations: 360.4 kB / 3.185 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-05/7.719, allocations: 15.25 kB / 3.185 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/7.721, allocations: 256.8 kB / 3.185 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/7.721, allocations: 56.16 kB / 3.185 GB, free: 107.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0003113/7.721, allocations: 171.3 kB / 3.186 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004121/7.722, allocations: 137.8 kB / 3.186 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/7.724, allocations: 1.438 MB / 3.187 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/7.724, allocations: 7.719 kB / 3.187 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/7.724, allocations: 7.328 kB / 3.187 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/7.724, allocations: 4.844 kB / 3.187 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005281/7.73, allocations: 3.058 MB / 3.19 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/7.73, allocations: 3.625 kB / 3.19 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/7.731, allocations: 315 kB / 3.19 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/7.732, allocations: 10.84 kB / 3.19 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/7.732, allocations: 38.91 kB / 3.19 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/7.732, allocations: 11.12 kB / 3.19 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/7.732, allocations: 3.969 kB / 3.19 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003514/7.735, allocations: 2.465 MB / 3.193 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/7.736, allocations: 374.1 kB / 3.193 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000512/7.737, allocations: 22.81 kB / 3.193 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/7.739, allocations: 189.8 kB / 3.193 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/7.739, allocations: 67.97 kB / 3.193 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/7.739, allocations: 54.34 kB / 3.194 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001369/7.741, allocations: 0.8188 MB / 3.194 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/7.741, allocations: 0 / 3.194 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002952/7.744, allocations: 0.528 MB / 3.195 GB, free: 105.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.004855/7.748, allocations: 1.987 MB / 3.197 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002498/7.751, allocations: 1.206 MB / 3.198 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/7.751, allocations: 2.312 kB / 3.198 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/7.752, allocations: 0.6323 MB / 3.199 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/7.755, allocations: 0.5731 MB / 3.199 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/7.77, allocations: 3.109 MB / 3.202 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000888/7.771, allocations: 1.212 MB / 3.203 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00229/7.773, allocations: 400.8 kB / 3.204 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007083/7.774, allocations: 131.9 kB / 3.204 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.273e-06/7.774, allocations: 0 / 3.204 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.06991/7.844, allocations: 47.67 MB / 3.25 GB, free: 82.69 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)