Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_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_1.6_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.001689/0.001689, 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.001894/0.001894, allocations: 196.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.725/2.725, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 65.97 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2692, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002216/0.2714, allocations: 1.284 MB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2725, allocations: 0.7386 MB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.669e-05/0.2725, allocations: 0 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.2726, allocations: 0 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.095e-05/0.2726, allocations: 15.91 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.273, allocations: 87.92 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.738e-05/0.273, allocations: 19.92 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.2731, allocations: 0 / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.256e-05/0.2731, allocations: 7.984 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.2731, allocations: 11.94 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.2732, allocations: 0 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.2735, allocations: 148 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.2735, allocations: 3.938 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.2735, allocations: 8 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.2737, allocations: 104.1 kB / 1.071 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2737, allocations: 0 / 1.071 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2737, allocations: 0 / 1.071 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2737, allocations: 0 / 1.071 GB, free: 8.027 MB / 0.8262 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.0002978/0.274, allocations: 331.5 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.274, allocations: 16.03 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.2741, allocations: 4.844 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.77e-05/0.2742, allocations: 160.4 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.2742, allocations: 384 / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.2742, allocations: 4.375 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.296e-05/0.2743, allocations: 42 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.2743, allocations: 0 / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.2743, allocations: 0 / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2743, allocations: 0 / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.339e-05/0.2744, allocations: 19.86 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.2745, allocations: 161.7 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.224e-05/0.2746, allocations: 30.56 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/0.2746, allocations: 12.92 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00183/0.2765, allocations: 0.665 MB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.2765, allocations: 34.5 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2765, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001369/0.2767, allocations: 49.62 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.2767, allocations: 55.41 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.988e-05/0.2768, allocations: 97.86 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.2768, allocations: 25.7 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.2768, allocations: 80.14 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.2768, allocations: 7.906 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.2769, allocations: 21.64 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.277, allocations: 314.8 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.277, allocations: 128 / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.195e-05/0.277, allocations: 8 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.593e-05/0.2771, allocations: 24.84 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2771, allocations: 0 / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.844e-05/0.2771, allocations: 49.55 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2772, allocations: 7.938 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2772, allocations: 3.984 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.2772, allocations: 0 / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.578e-05/0.2772, allocations: 8 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.2772, allocations: 0 / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.2773, allocations: 0 / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.2773, allocations: 4 kB / 1.073 GB, free: 5.523 MB / 0.8262 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.3e-05/0.2773, allocations: 113.8 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.577e-06/0.2774, allocations: 3.938 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.2775, allocations: 53.12 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2775, allocations: 0 / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.2775, allocations: 3.984 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2775, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.868e-05/0.2776, allocations: 153.7 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2776, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.726e-05/0.2776, allocations: 11.98 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2776, allocations: 7.875 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.2776, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2777, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2777, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.869e-05/0.2777, allocations: 73.44 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.2778, allocations: 88.98 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.2778, allocations: 4 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.253e-05/0.2778, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.2778, allocations: 4.031 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.2778, allocations: 11.92 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.746e-05/0.2779, allocations: 75.28 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2779, allocations: 0 / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002282/0.2781, allocations: 28 kB / 1.073 GB, free: 4.797 MB / 0.8262 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.0002248/0.2783, allocations: 131.8 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.463e-05/0.2784, allocations: 11.98 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.2784, allocations: 4 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.678e-05/0.2785, allocations: 11.94 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.2786, allocations: 4.562 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.2789, allocations: 115.1 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.2791, allocations: 0.6768 MB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.716e-05/0.2791, allocations: 4 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.545e-05/0.2791, allocations: 7.438 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of SimCode: time 4e-07/0.2791, allocations: 0 / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of Templates: time 0.002853/0.282, allocations: 0.8966 MB / 1.075 GB, free: 2.891 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)