Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008118/0.0008118, allocations: 91.3 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005081/0.005081, allocations: 170.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.574/1.574, allocations: 252 MB / 0.5105 GB, free: 4.609 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006021/0.000602, allocations: 16 kB / 0.6249 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.437, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001257/0.4383, allocations: 1.022 MB / 0.7297 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.4393, allocations: 0.7499 MB / 0.7305 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.42e-05/0.4393, allocations: 0 / 0.7305 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.263e-05/0.4394, allocations: 0 / 0.7305 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.198e-05/0.4394, allocations: 3.938 kB / 0.7305 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.4397, allocations: 79.98 kB / 0.7305 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.479e-05/0.4398, allocations: 19.86 kB / 0.7306 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.4398, allocations: 0 / 0.7306 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.079e-05/0.4398, allocations: 8 kB / 0.7306 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.4399, allocations: 4 kB / 0.7306 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.4399, allocations: 0 / 0.7306 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.4402, allocations: 157 kB / 0.7307 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.4402, allocations: 7.938 kB / 0.7307 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.4403, allocations: 33.62 kB / 0.7308 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.4404, allocations: 110.2 kB / 0.7309 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4405, allocations: 0 / 0.7309 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4405, allocations: 0 / 0.7309 GB, free: 9.047 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.4405, allocations: 0 / 0.7309 GB, free: 9.047 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002896/0.4408, allocations: 331.5 kB / 0.7312 GB, free: 8.676 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.4408, allocations: 12.03 kB / 0.7312 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.4408, allocations: 4.938 kB / 0.7312 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.699e-05/0.4409, allocations: 160.4 kB / 0.7314 GB, free: 8.465 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.441, allocations: 4.359 kB / 0.7314 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-06/0.441, allocations: 12.31 kB / 0.7314 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.2e-05/0.4411, allocations: 34.02 kB / 0.7314 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.4411, allocations: 4 kB / 0.7314 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.4411, allocations: 0 / 0.7314 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.4411, allocations: 0 / 0.7314 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.148e-05/0.4411, allocations: 11.92 kB / 0.7314 GB, free: 8.395 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.4413, allocations: 157.7 kB / 0.7316 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.636e-05/0.4414, allocations: 30.58 kB / 0.7316 GB, free: 8.152 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.4414, allocations: 12.92 kB / 0.7316 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002365/0.4438, allocations: 1.035 MB / 0.7326 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.4438, allocations: 38.5 kB / 0.7327 GB, free: 6.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4438, allocations: 0 / 0.7327 GB, free: 6.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0001388/0.444, allocations: 53.62 kB / 0.7327 GB, free: 6.922 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.444, allocations: 55.41 kB / 0.7328 GB, free: 6.855 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.287e-05/0.4441, allocations: 89.86 kB / 0.7329 GB, free: 6.758 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.4441, allocations: 25.7 kB / 0.7329 GB, free: 6.727 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.4441, allocations: 92.08 kB / 0.733 GB, free: 6.633 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.4441, allocations: 19.88 kB / 0.733 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.4442, allocations: 13.7 kB / 0.733 GB, free: 6.594 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.4443, allocations: 310.8 kB / 0.7333 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.4443, allocations: 4 kB / 0.7333 GB, free: 6.277 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.4443, allocations: 8 kB / 0.7333 GB, free: 6.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.137e-05/0.4443, allocations: 17.12 kB / 0.7333 GB, free: 6.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4444, allocations: 0 / 0.7333 GB, free: 6.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.643e-05/0.4444, allocations: 49.62 kB / 0.7334 GB, free: 6.195 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.4444, allocations: 7.938 kB / 0.7334 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4445, allocations: 4 kB / 0.7334 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.4445, allocations: 0 / 0.7334 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.851e-05/0.4445, allocations: 7.984 kB / 0.7334 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.4445, allocations: 0 / 0.7334 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.4445, allocations: 4 kB / 0.7334 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.4446, allocations: 0 / 0.7334 GB, free: 6.172 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.057e-05/0.4446, allocations: 109.8 kB / 0.7335 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-06/0.4446, allocations: 7.938 kB / 0.7335 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.4448, allocations: 61.06 kB / 0.7336 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.4448, allocations: 0 / 0.7336 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4448, allocations: 0 / 0.7336 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4448, allocations: 0 / 0.7336 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.33e-05/0.4449, allocations: 157.6 kB / 0.7337 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4449, allocations: 0 / 0.7337 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.4449, allocations: 7.984 kB / 0.7337 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4449, allocations: 3.938 kB / 0.7337 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.4449, allocations: 4 kB / 0.7337 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4449, allocations: 0 / 0.7337 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4449, allocations: 0 / 0.7337 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.317e-05/0.445, allocations: 77.06 kB / 0.7338 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.4451, allocations: 81.05 kB / 0.7339 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.4451, allocations: 0 / 0.7339 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.405e-05/0.4451, allocations: 4 kB / 0.7339 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.4451, allocations: 0 / 0.7339 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.4451, allocations: 0 / 0.7339 GB, free: 5.562 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.309e-05/0.4452, allocations: 87.27 kB / 0.734 GB, free: 5.477 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4452, allocations: 3.938 kB / 0.734 GB, free: 5.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002198/0.4454, allocations: 28 kB / 0.734 GB, free: 5.445 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002254/0.4456, allocations: 131.2 kB / 0.7341 GB, free: 5.305 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.001e-05/0.4457, allocations: 11.98 kB / 0.7341 GB, free: 5.293 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4457, allocations: 4.094 kB / 0.7341 GB, free: 5.289 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-05/0.4457, allocations: 15.94 kB / 0.7341 GB, free: 5.273 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.4459, allocations: 2.812 kB / 0.7342 GB, free: 5.273 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.4462, allocations: 119.2 kB / 0.7343 GB, free: 5.137 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.4464, allocations: 0.6731 MB / 0.7349 GB, free: 4.438 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.856e-05/0.4464, allocations: 7.938 kB / 0.7349 GB, free: 4.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.356e-05/0.4464, allocations: 11.44 kB / 0.7349 GB, free: 4.418 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.4464, allocations: 0 / 0.7349 GB, free: 4.418 MB / 0.545 GB Notification: Performance of Templates: time 0.00281/0.4492, allocations: 0.8824 MB / 0.7358 GB, free: 3.57 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) Environment - environmentSimulation: