Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.675/1.675, allocations: 288.4 MB / 303.7 MB, free: 8.059 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 179 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.4 MB / 0.631 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006993/0.0006993, allocations: 98.28 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004124/0.0004124, allocations: 12.59 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.227, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7211/0.9482, allocations: 176.3 MB / 1.152 GB, free: 9.668 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008886/0.9571, allocations: 4.779 MB / 1.157 GB, free: 5.852 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.9587, allocations: 40.59 kB / 1.157 GB, free: 5.832 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.9605, allocations: 0.6604 MB / 1.158 GB, free: 5.367 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006855/0.9674, allocations: 2.271 MB / 1.16 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.9704, allocations: 0.9196 MB / 1.161 GB, free: 3.062 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004458/0.9749, allocations: 3.077 MB / 1.164 GB, free: 1.234 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.9763, allocations: 0.8224 MB / 1.165 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.9785, allocations: 1.006 MB / 1.166 GB, free: 208 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.9805, allocations: 0.947 MB / 1.167 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.9807, allocations: 47.97 kB / 1.167 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004633/0.9853, allocations: 2.039 MB / 1.169 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000606/0.986, allocations: 403.8 kB / 1.169 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.987, allocations: 0.6154 MB / 1.17 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.9896, allocations: 1.547 MB / 1.171 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9896, allocations: 0 / 1.171 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9896, allocations: 0 / 1.171 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.601e-05/0.9897, allocations: 0 / 1.171 GB, free: 12.96 MB / 0.7136 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.005119/0.9948, allocations: 1.709 MB / 1.173 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.9949, allocations: 12.75 kB / 1.173 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005407/1, allocations: 0.9296 MB / 1.174 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/1.002, allocations: 0.9227 MB / 1.175 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.354e-05/1.002, allocations: 72.36 kB / 1.175 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/1.002, allocations: 88.19 kB / 1.175 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003564/1.006, allocations: 1.583 MB / 1.176 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/1.006, allocations: 0 / 1.176 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/1.006, allocations: 31.94 kB / 1.176 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.608e-05/1.006, allocations: 49.3 kB / 1.176 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00482/1.011, allocations: 1.841 MB / 1.178 GB, free: 8.66 MB / 0.7136 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.007793/1.019, allocations: 4.776 MB / 1.183 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004132/1.023, allocations: 1.575 MB / 1.184 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002166/1.025, allocations: 0.8444 MB / 1.185 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/1.026, allocations: 0.9583 MB / 1.186 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00232/1.029, allocations: 0.9081 MB / 1.187 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 4.409e-06/1.029, allocations: 0 / 1.187 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.007465/1.036, allocations: 2.444 MB / 1.189 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/1.036, allocations: 60.38 kB / 1.189 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/1.038, allocations: 1.205 MB / 1.191 GB, free: 472 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/1.038, allocations: 50.27 kB / 1.191 GB, free: 424 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004259/1.038, allocations: 0.5439 MB / 1.191 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/1.039, allocations: 324.9 kB / 1.191 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-05/1.039, allocations: 20.78 kB / 1.191 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.039, allocations: 342.7 kB / 1.192 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/1.041, allocations: 0.6935 MB / 1.192 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/1.043, allocations: 0.9249 MB / 1.193 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004151/1.047, allocations: 1.542 MB / 1.195 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/1.047, allocations: 2.438 kB / 1.195 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005223/1.053, allocations: 1.767 MB / 1.197 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/1.053, allocations: 11.94 kB / 1.197 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.053, allocations: 5.625 kB / 1.197 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/1.053, allocations: 8 kB / 1.197 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/1.055, allocations: 336 kB / 1.197 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/1.055, allocations: 19.92 kB / 1.197 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/1.057, allocations: 258.7 kB / 1.197 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/1.057, allocations: 47.97 kB / 1.197 GB, free: 11.54 MB / 0.7292 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.000651/1.057, allocations: 331.8 kB / 1.198 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/1.058, allocations: 138.2 kB / 1.198 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005014/1.063, allocations: 1.804 MB / 1.199 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/1.063, allocations: 8 kB / 1.2 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.063, allocations: 0 / 1.2 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/1.063, allocations: 3.984 kB / 1.2 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007615/1.07, allocations: 3.329 MB / 1.203 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.07, allocations: 7.938 kB / 1.203 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/1.072, allocations: 287.9 kB / 1.203 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.669e-05/1.072, allocations: 4 kB / 1.203 GB, free: 5.508 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/1.072, allocations: 35.97 kB / 1.203 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/1.072, allocations: 7.938 kB / 1.203 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/1.072, allocations: 11.98 kB / 1.203 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007638/1.08, allocations: 2.824 MB / 1.206 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009752/1.081, allocations: 339 kB / 1.206 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/1.081, allocations: 28 kB / 1.206 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/1.083, allocations: 171.8 kB / 1.206 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.083, allocations: 84.38 kB / 1.206 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-05/1.083, allocations: 35.97 kB / 1.206 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001067/1.084, allocations: 0.8279 MB / 1.207 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.084, allocations: 0 / 1.207 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001127/1.085, allocations: 339.6 kB / 1.208 GB, free: 0.7383 MB / 0.7292 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 (95): * Single equations (assignments): 89 * 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.001221/1.086, allocations: 0.5372 MB / 1.208 GB, free: 364 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004677/1.091, allocations: 1.615 MB / 1.21 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.091, allocations: 4 kB / 1.21 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002376/1.093, allocations: 0.8283 MB / 1.211 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003913/1.097, allocations: 0.5983 MB / 1.211 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006407/1.104, allocations: 3.395 MB / 1.214 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007931/1.105, allocations: 1.191 MB / 1.216 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001893/1.106, allocations: 374.1 kB / 1.216 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004543/1.107, allocations: 115.4 kB / 1.216 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of SimCode: time 1.462e-06/1.107, allocations: 0 / 1.216 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of Templates: time 0.03827/1.145, allocations: 22.72 MB / 1.238 GB, free: 1.637 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)