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.001158/0.001158, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.45/1.45, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.517/1.517, allocations: 251.7 MB / 0.5092 GB, free: 3.098 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.001517/0.001518, allocations: 71.89 kB / 0.6223 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4562, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002334/0.4585, allocations: 1.284 MB / 0.7258 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.4597, allocations: 0.7331 MB / 0.7265 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.771e-05/0.4597, allocations: 0 / 0.7265 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.4598, allocations: 4 kB / 0.7265 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.86e-05/0.4598, allocations: 7.922 kB / 0.7265 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.4602, allocations: 91.97 kB / 0.7266 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.395e-05/0.4602, allocations: 23.81 kB / 0.7266 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.4603, allocations: 11.97 kB / 0.7266 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.149e-05/0.4603, allocations: 4 kB / 0.7266 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.4604, allocations: 4 kB / 0.7266 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.4604, allocations: 0 / 0.7266 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.4607, allocations: 144.1 kB / 0.7268 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.4607, allocations: 7.938 kB / 0.7268 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.4607, allocations: 7.984 kB / 0.7268 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.4609, allocations: 105.8 kB / 0.7269 GB, free: 10.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4609, allocations: 0 / 0.7269 GB, free: 10.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4609, allocations: 0 / 0.7269 GB, free: 10.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.4609, allocations: 0 / 0.7269 GB, free: 10.52 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.000327/0.4613, allocations: 339.4 kB / 0.7272 GB, free: 10.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.4613, allocations: 11.97 kB / 0.7272 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.4613, allocations: 4.938 kB / 0.7272 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.4614, allocations: 168.3 kB / 0.7274 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.4615, allocations: 384 / 0.7274 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.4615, allocations: 384 / 0.7274 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.946e-05/0.4616, allocations: 42 kB / 0.7274 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.4616, allocations: 4 kB / 0.7274 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.4616, allocations: 0 / 0.7274 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4616, allocations: 0 / 0.7274 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.641e-05/0.4616, allocations: 4 kB / 0.7274 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.4618, allocations: 161.7 kB / 0.7276 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.721e-05/0.4619, allocations: 46.55 kB / 0.7276 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.4619, allocations: 8.922 kB / 0.7276 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001866/0.4638, allocations: 0.6572 MB / 0.7283 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.4639, allocations: 38.48 kB / 0.7283 GB, free: 8.816 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4639, allocations: 4 kB / 0.7283 GB, free: 8.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0001649/0.464, allocations: 45.61 kB / 0.7284 GB, free: 8.762 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.4641, allocations: 55.39 kB / 0.7284 GB, free: 8.695 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.4642, allocations: 105.8 kB / 0.7285 GB, free: 8.582 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.4642, allocations: 29.64 kB / 0.7286 GB, free: 8.547 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.4642, allocations: 80.14 kB / 0.7286 GB, free: 8.465 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.4643, allocations: 3.906 kB / 0.7286 GB, free: 8.461 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.4643, allocations: 17.72 kB / 0.7287 GB, free: 8.438 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4644, allocations: 314.8 kB / 0.729 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.4645, allocations: 4 kB / 0.729 GB, free: 8.117 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/0.4645, allocations: 4 kB / 0.729 GB, free: 8.113 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.57e-05/0.4645, allocations: 16.86 kB / 0.729 GB, free: 8.094 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.4645, allocations: 4.125 kB / 0.729 GB, free: 8.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.454e-05/0.4646, allocations: 45.97 kB / 0.729 GB, free: 8.039 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.4646, allocations: 7.938 kB / 0.729 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4647, allocations: 48 / 0.729 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.4647, allocations: 3.984 kB / 0.729 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.7e-05/0.4647, allocations: 7.938 kB / 0.729 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4647, allocations: 3.984 kB / 0.729 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.4648, allocations: 4 kB / 0.729 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.4648, allocations: 0 / 0.729 GB, free: 8.012 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 8.366e-05/0.4649, allocations: 113.8 kB / 0.7292 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.4649, allocations: 7.938 kB / 0.7292 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.465, allocations: 53.12 kB / 0.7292 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.465, allocations: 0 / 0.7292 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.465, allocations: 0 / 0.7292 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4651, allocations: 0 / 0.7292 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.4652, allocations: 157.6 kB / 0.7294 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4652, allocations: 0 / 0.7294 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/0.4652, allocations: 7.938 kB / 0.7294 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4652, allocations: 7.938 kB / 0.7294 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4652, allocations: 4 kB / 0.7294 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4652, allocations: 3.984 kB / 0.7294 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4652, allocations: 0 / 0.7294 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.477e-05/0.4653, allocations: 65.12 kB / 0.7295 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.4654, allocations: 81.05 kB / 0.7295 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.4654, allocations: 4 kB / 0.7295 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.221e-05/0.4654, allocations: 0 / 0.7295 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.4654, allocations: 8 kB / 0.7295 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.4655, allocations: 4 kB / 0.7295 GB, free: 7.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.567e-05/0.4655, allocations: 83.22 kB / 0.7296 GB, free: 7.316 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4655, allocations: 0 / 0.7296 GB, free: 7.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002356/0.4657, allocations: 31.92 kB / 0.7297 GB, free: 7.285 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.0002658/0.466, allocations: 139.2 kB / 0.7298 GB, free: 7.137 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.909e-05/0.4661, allocations: 11.98 kB / 0.7298 GB, free: 7.125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4661, allocations: 0 / 0.7298 GB, free: 7.125 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.882e-05/0.4662, allocations: 12 kB / 0.7298 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.4664, allocations: 10.95 kB / 0.7298 GB, free: 7.105 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.4666, allocations: 114 kB / 0.7299 GB, free: 6.969 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.4669, allocations: 0.6807 MB / 0.7306 GB, free: 6.262 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.818e-05/0.467, allocations: 3.938 kB / 0.7306 GB, free: 6.258 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.467, allocations: 11.44 kB / 0.7306 GB, free: 6.246 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.467, allocations: 0 / 0.7306 GB, free: 6.246 MB / 0.545 GB Notification: Performance of Templates: time 0.003145/0.4702, allocations: 0.9001 MB / 0.7315 GB, free: 5.387 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (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)