Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.008931/0.008931, allocations: 169.5 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.745/0.745, allocations: 132.3 MB / 148.1 MB, free: 244 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.2 MB / 403.2 MB, free: 6.648 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.0009012/0.0009011, allocations: 89.94 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 12 kB / 0.5641 GB, free: 2.113 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4341, allocations: 81.58 MB / 0.6438 GB, free: 39.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.58/5.015, allocations: 1.837 GB / 2.48 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/5.015, allocations: 87.95 kB / 2.48 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.851/7.866, allocations: 0.6869 GB / 3.167 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/7.866, allocations: 0 / 3.167 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001347/7.866, allocations: 49.22 kB / 3.167 GB, free: 114.8 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.008748/7.875, allocations: 2.065 MB / 3.169 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.308e-05/7.875, allocations: 7.312 kB / 3.169 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005528/7.88, allocations: 0.8839 MB / 3.17 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00448/7.885, allocations: 1.14 MB / 3.171 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-05/7.885, allocations: 67.14 kB / 3.171 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/7.885, allocations: 85.72 kB / 3.171 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003549/7.889, allocations: 1.559 MB / 3.173 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/7.889, allocations: 3.844 kB / 3.173 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/7.889, allocations: 31.44 kB / 3.173 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.148e-05/7.889, allocations: 45.53 kB / 3.173 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00424/7.893, allocations: 1.673 MB / 3.175 GB, free: 113.7 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01008/7.903, allocations: 5.025 MB / 3.18 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004082/7.907, allocations: 1.64 MB / 3.181 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/7.909, allocations: 0.944 MB / 3.182 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002318/7.911, allocations: 0.9698 MB / 3.183 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=95): time 5.31e-06/7.911, allocations: 0 / 3.183 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.008227/7.919, allocations: 2.588 MB / 3.186 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/7.919, allocations: 62.38 kB / 3.186 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/7.921, allocations: 1.064 MB / 3.187 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001657/7.921, allocations: 46.64 kB / 3.187 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004641/7.922, allocations: 0.5458 MB / 3.187 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/7.922, allocations: 330.1 kB / 3.188 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/7.922, allocations: 19.59 kB / 3.188 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001066/7.922, allocations: 344.5 kB / 3.188 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/7.924, allocations: 0.7445 MB / 3.189 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/7.926, allocations: 0.9921 MB / 3.19 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/7.929, allocations: 0.7691 MB / 3.19 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/7.929, allocations: 0 / 3.19 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005257/7.934, allocations: 1.869 MB / 3.192 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/7.934, allocations: 10.75 kB / 3.192 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/7.934, allocations: 3.625 kB / 3.192 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/7.934, allocations: 10.84 kB / 3.192 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/7.936, allocations: 353.4 kB / 3.193 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/7.936, allocations: 15.08 kB / 3.193 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002438/7.938, allocations: 265.7 kB / 3.193 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/7.938, allocations: 54.42 kB / 3.193 GB, free: 109.5 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 () * Number of clocked 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.0009872/7.939, allocations: 346.4 kB / 3.193 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/7.94, allocations: 137.8 kB / 3.193 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005335/7.945, allocations: 1.954 MB / 3.195 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/7.945, allocations: 19.11 kB / 3.195 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/7.945, allocations: 0 / 3.195 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/7.945, allocations: 6.891 kB / 3.195 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008302/7.954, allocations: 3.585 MB / 3.199 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/7.954, allocations: 3.906 kB / 3.199 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/7.955, allocations: 315.6 kB / 3.199 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/7.955, allocations: 7.531 kB / 3.199 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/7.956, allocations: 37.27 kB / 3.199 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.368e-05/7.956, allocations: 11.53 kB / 3.199 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/7.956, allocations: 10.64 kB / 3.199 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007807/7.963, allocations: 3.263 MB / 3.202 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/7.965, allocations: 378.5 kB / 3.203 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/7.965, allocations: 27.03 kB / 3.203 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/7.967, allocations: 179.6 kB / 3.203 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/7.967, allocations: 74.09 kB / 3.203 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/7.967, allocations: 44.75 kB / 3.203 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001368/7.968, allocations: 0.834 MB / 3.204 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/7.968, allocations: 2.531 kB / 3.204 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002487/7.971, allocations: 0.522 MB / 3.204 GB, free: 107.8 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) * Number of clocked states: 0 () * 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.004534/7.975, allocations: 2.032 MB / 3.206 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005556/7.981, allocations: 1.728 MB / 3.208 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/7.981, allocations: 0 / 3.208 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002644/7.984, allocations: 0.9073 MB / 3.209 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003638/7.987, allocations: 0.5732 MB / 3.209 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/8.006, allocations: 4.201 MB / 3.214 GB, free: 106 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009394/8.007, allocations: 1.218 MB / 3.215 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002541/8.01, allocations: 401.8 kB / 3.215 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005681/8.01, allocations: 130.8 kB / 3.215 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of SimCode: time 4.749e-06/8.01, allocations: 0 / 3.215 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.07534/8.086, allocations: 43.24 MB / 3.257 GB, free: 103.3 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)