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.001694/0.001694, allocations: 100 kB / 15.05 MB, free: 1.105 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.001625/0.001625, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.666/1.666, allocations: 251.9 MB / 0.51 GB, free: 4.871 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.0005724/0.0005726, allocations: 20 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.56/0.5605, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001279/0.5619, allocations: 0.9977 MB / 0.729 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009837/0.5629, allocations: 0.6916 MB / 0.7296 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.919e-05/0.5629, allocations: 0 / 0.7296 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.5629, allocations: 0 / 0.7296 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.284e-05/0.563, allocations: 3.984 kB / 0.7296 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.5633, allocations: 67.81 kB / 0.7297 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.888e-05/0.5633, allocations: 15.98 kB / 0.7297 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.5634, allocations: 3.984 kB / 0.7297 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.5634, allocations: 7.984 kB / 0.7297 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.556e-05/0.5634, allocations: 7.938 kB / 0.7297 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.5635, allocations: 7.938 kB / 0.7297 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.5638, allocations: 155.8 kB / 0.7299 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.788e-06/0.5638, allocations: 8 kB / 0.7299 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.5638, allocations: 25.7 kB / 0.7299 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.564, allocations: 69.86 kB / 0.73 GB, free: 9.375 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.564, allocations: 0 / 0.73 GB, free: 9.375 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.564, allocations: 0 / 0.73 GB, free: 9.375 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.564, allocations: 0 / 0.73 GB, free: 9.375 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.0003056/0.5643, allocations: 339.3 kB / 0.7303 GB, free: 8.996 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.5644, allocations: 8.031 kB / 0.7303 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.5644, allocations: 3.953 kB / 0.7303 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.5645, allocations: 167.1 kB / 0.7305 GB, free: 8.781 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.5645, allocations: 0 / 0.7305 GB, free: 8.781 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.5646, allocations: 3.938 kB / 0.7305 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.436e-05/0.5647, allocations: 33.7 kB / 0.7305 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.5647, allocations: 0 / 0.7305 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.5647, allocations: 0 / 0.7305 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5647, allocations: 0 / 0.7305 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.11e-05/0.5647, allocations: 23.92 kB / 0.7305 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.5649, allocations: 153.7 kB / 0.7307 GB, free: 8.516 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.94e-05/0.565, allocations: 34.52 kB / 0.7307 GB, free: 8.473 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002447/0.5674, allocations: 1.035 MB / 0.7317 GB, free: 7.363 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.5675, allocations: 34.56 kB / 0.7318 GB, free: 7.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 3.066e-06/0.5675, allocations: 0 / 0.7318 GB, free: 7.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0001883/0.5677, allocations: 53.62 kB / 0.7318 GB, free: 7.262 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.5678, allocations: 51.41 kB / 0.7319 GB, free: 7.199 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.62e-05/0.5678, allocations: 93.86 kB / 0.732 GB, free: 7.098 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.5679, allocations: 25.7 kB / 0.732 GB, free: 7.066 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.5679, allocations: 88.14 kB / 0.7321 GB, free: 6.977 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.568, allocations: 15.73 kB / 0.7321 GB, free: 6.961 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/0.568, allocations: 4.125 kB / 0.7321 GB, free: 6.957 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.5682, allocations: 326.7 kB / 0.7324 GB, free: 6.629 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.5682, allocations: 4 kB / 0.7324 GB, free: 6.625 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.303e-05/0.5682, allocations: 4 kB / 0.7324 GB, free: 6.621 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/0.5682, allocations: 4 kB / 0.7324 GB, free: 6.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5682, allocations: 0 / 0.7324 GB, free: 6.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.083e-05/0.5683, allocations: 45.69 kB / 0.7325 GB, free: 6.566 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.5683, allocations: 4 kB / 0.7325 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5683, allocations: 0 / 0.7325 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.5684, allocations: 4 kB / 0.7325 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.5684, allocations: 4 kB / 0.7325 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5685, allocations: 0 / 0.7325 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.5685, allocations: 7.938 kB / 0.7325 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.5685, allocations: 0 / 0.7325 GB, free: 6.547 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.5686, allocations: 124.8 kB / 0.7326 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.5686, allocations: 4 kB / 0.7326 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.5688, allocations: 49.19 kB / 0.7326 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5688, allocations: 4 kB / 0.7326 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5688, allocations: 0 / 0.7326 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5688, allocations: 0 / 0.7326 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.5689, allocations: 161.5 kB / 0.7328 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.569, allocations: 0 / 0.7328 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.569, allocations: 8 kB / 0.7328 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.569, allocations: 0 / 0.7328 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.569, allocations: 4 kB / 0.7328 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.569, allocations: 0 / 0.7328 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.569, allocations: 0 / 0.7328 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.5691, allocations: 77.39 kB / 0.7329 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.5692, allocations: 77.11 kB / 0.733 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.5692, allocations: 3.984 kB / 0.733 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.567e-05/0.5692, allocations: 7.984 kB / 0.733 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.5693, allocations: 7.984 kB / 0.733 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.5693, allocations: 0 / 0.733 GB, free: 5.926 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.504e-05/0.5693, allocations: 79.28 kB / 0.7331 GB, free: 5.848 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5693, allocations: 96 / 0.7331 GB, free: 5.848 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002492/0.5696, allocations: 28 kB / 0.7331 GB, free: 5.82 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 (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.0002994/0.5699, allocations: 131.2 kB / 0.7332 GB, free: 5.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.57, allocations: 15.94 kB / 0.7332 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.57, allocations: 0 / 0.7332 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.564e-05/0.57, allocations: 12 kB / 0.7332 GB, free: 5.652 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.5702, allocations: 14 kB / 0.7332 GB, free: 5.641 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.5705, allocations: 110.2 kB / 0.7334 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.5709, allocations: 0.6809 MB / 0.734 GB, free: 4.809 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.5709, allocations: 4 kB / 0.734 GB, free: 4.805 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/0.571, allocations: 11.44 kB / 0.734 GB, free: 4.793 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.571, allocations: 4 kB / 0.734 GB, free: 4.789 MB / 0.545 GB Notification: Performance of Templates: time 0.003588/0.5746, allocations: 0.8773 MB / 0.7349 GB, free: 3.941 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: