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.001016/0.001016, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005968/0.005968, allocations: 170.1 kB / 16.27 MB, free: 6.648 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.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004857, allocations: 10.94 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3061, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001324/0.3075, allocations: 1.016 MB / 1.075 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3087, allocations: 0.7524 MB / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.389e-05/0.3087, allocations: 3.938 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.3088, allocations: 3.984 kB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.903e-05/0.3088, allocations: 3.938 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.3091, allocations: 76 kB / 1.076 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.634e-05/0.3092, allocations: 15.92 kB / 1.076 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.3092, allocations: 0 / 1.076 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.3092, allocations: 11.98 kB / 1.076 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.3093, allocations: 11.94 kB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.3093, allocations: 0 / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.3096, allocations: 145 kB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.3097, allocations: 8 kB / 1.076 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.3097, allocations: 33.67 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.3099, allocations: 100.5 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3099, allocations: 0 / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.916e-06/0.3099, allocations: 0 / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3099, allocations: 3.938 kB / 1.076 GB, free: 5.371 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.000311/0.3103, allocations: 335.5 kB / 1.077 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3103, allocations: 8.031 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.3103, allocations: 8.938 kB / 1.077 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.3104, allocations: 168.3 kB / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3105, allocations: 384 / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.3105, allocations: 384 / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.969e-05/0.3106, allocations: 42 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.3106, allocations: 4 kB / 1.077 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.3106, allocations: 4 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3106, allocations: 0 / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.962e-05/0.3107, allocations: 4 kB / 1.077 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.3108, allocations: 157.6 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.796e-05/0.3109, allocations: 38.55 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.3109, allocations: 12.92 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002488/0.3134, allocations: 1.038 MB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.3135, allocations: 38.48 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.3135, allocations: 0 / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001428/0.3136, allocations: 57.56 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.3137, allocations: 51.41 kB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.3138, allocations: 97.84 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.3138, allocations: 29.83 kB / 1.078 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.3138, allocations: 84.14 kB / 1.078 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.3139, allocations: 3.906 kB / 1.078 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.3139, allocations: 13.72 kB / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3141, allocations: 310.8 kB / 1.079 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.3141, allocations: 4 kB / 1.079 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.3141, allocations: 7.984 kB / 1.079 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.058e-05/0.3141, allocations: 16.86 kB / 1.079 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3141, allocations: 0 / 1.079 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.536e-05/0.3142, allocations: 53.62 kB / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3143, allocations: 7.938 kB / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3143, allocations: 0 / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3143, allocations: 0 / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.602e-05/0.3144, allocations: 4 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3144, allocations: 0 / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.3144, allocations: 7.906 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.3144, allocations: 0 / 1.079 GB, free: 2.496 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 9.2e-05/0.3145, allocations: 109.8 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.3145, allocations: 15.92 kB / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.3147, allocations: 53.12 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3147, allocations: 0 / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3147, allocations: 0 / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3147, allocations: 0 / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.3148, allocations: 153.7 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3148, allocations: 0 / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.3148, allocations: 4 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3148, allocations: 3.938 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.3149, allocations: 8 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3149, allocations: 0 / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3149, allocations: 3.938 kB / 1.079 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.818e-05/0.315, allocations: 69.06 kB / 1.079 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.315, allocations: 81.05 kB / 1.079 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.315, allocations: 0 / 1.079 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.712e-05/0.315, allocations: 11.98 kB / 1.079 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.3151, allocations: 8.359 kB / 1.079 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.3151, allocations: 4 kB / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.209e-05/0.3151, allocations: 79.28 kB / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3151, allocations: 0 / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000239/0.3154, allocations: 27.94 kB / 1.079 GB, free: 1.77 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.000274/0.3156, allocations: 135.3 kB / 1.08 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.781e-05/0.3157, allocations: 15.98 kB / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3157, allocations: 0 / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.718e-05/0.3158, allocations: 8 kB / 1.08 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.316, allocations: 7.984 kB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.3162, allocations: 122.5 kB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.3164, allocations: 0.677 MB / 1.08 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.873e-05/0.3165, allocations: 8 kB / 1.08 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.3165, allocations: 7.438 kB / 1.08 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3165, allocations: 0 / 1.08 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of Templates: time 0.003075/0.3196, allocations: 0.8785 MB / 1.081 GB, free: 15.87 MB / 0.8419 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)