Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001121/0.001121, allocations: 101.5 kB / 16.37 MB, free: 6.457 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.001084/0.001084, allocations: 192 kB / 17.31 MB, free: 5.82 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.399/1.399, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.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.001436/0.001436, allocations: 67.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2347, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002873/0.2376, allocations: 1.29 MB / 0.7861 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.2388, allocations: 0.7266 MB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/0.2388, allocations: 0 / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.2388, allocations: 4 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.2389, allocations: 3.938 kB / 0.7868 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.2393, allocations: 95.89 kB / 0.7869 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.167e-05/0.2393, allocations: 11.94 kB / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.2394, allocations: 4 kB / 0.7869 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.198e-05/0.2394, allocations: 8 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.2395, allocations: 11.92 kB / 0.7869 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.2395, allocations: 0 / 0.7869 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.2398, allocations: 152 kB / 0.7871 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.2398, allocations: 4 kB / 0.7871 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.2398, allocations: 3.938 kB / 0.7871 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.24, allocations: 107.7 kB / 0.7872 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.24, allocations: 0 / 0.7872 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.24, allocations: 3.938 kB / 0.7872 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.24, allocations: 0 / 0.7872 GB, free: 0.7227 MB / 0.6544 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.0003463/0.2404, allocations: 339.6 kB / 0.7875 GB, free: 352 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.2404, allocations: 8.031 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.2405, allocations: 4.922 kB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2406, allocations: 168.2 kB / 0.7877 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.2406, allocations: 4.375 kB / 0.7877 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.2406, allocations: 4.125 kB / 0.7877 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.753e-05/0.2407, allocations: 37.62 kB / 0.7877 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2407, allocations: 0 / 0.7877 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.2407, allocations: 0 / 0.7877 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.2408, allocations: 4 kB / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.096e-05/0.2408, allocations: 15.94 kB / 0.7877 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4009/0.6418, allocations: 151 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.6419, allocations: 32.16 kB / 0.7879 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.642, allocations: 17.78 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001732/0.6437, allocations: 0.6504 MB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.6437, allocations: 37.34 kB / 0.7886 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.515e-06/0.6438, allocations: 0 / 0.7886 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001645/0.6439, allocations: 47.03 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.644, allocations: 56.09 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.508e-05/0.644, allocations: 97.64 kB / 0.7888 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.644, allocations: 28.33 kB / 0.7888 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.502e-05/0.644, allocations: 80.14 kB / 0.7889 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.6441, allocations: 9.031 kB / 0.7889 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.6441, allocations: 18.44 kB / 0.7889 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.6442, allocations: 313.8 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.321e-05/0.6442, allocations: 6.562 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.229e-05/0.6442, allocations: 2.625 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.6442, allocations: 21.78 kB / 0.7892 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.6442, allocations: 2.438 kB / 0.7892 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.628e-05/0.6443, allocations: 44.94 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.6443, allocations: 6.031 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.6443, allocations: 0 / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.6444, allocations: 5.859 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.302e-05/0.6444, allocations: 7.594 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.6444, allocations: 6.562 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.6445, allocations: 3.938 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.6445, allocations: 0 / 0.7893 GB, free: 47.68 MB / 0.6544 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 4.75e-05/0.6445, allocations: 108.5 kB / 0.7894 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-06/0.6445, allocations: 3.375 kB / 0.7894 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.6447, allocations: 62.62 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.6447, allocations: 0 / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6447, allocations: 3.938 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.6447, allocations: 3.719 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.106e-05/0.6448, allocations: 158.3 kB / 0.7896 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6448, allocations: 0 / 0.7896 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.253e-05/0.6448, allocations: 6.969 kB / 0.7896 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6448, allocations: 2.875 kB / 0.7897 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.6448, allocations: 0 / 0.7897 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.6448, allocations: 1.125 kB / 0.7897 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6448, allocations: 6.625 kB / 0.7897 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.806e-05/0.6449, allocations: 75.02 kB / 0.7897 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.6449, allocations: 81.05 kB / 0.7898 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.6449, allocations: 0 / 0.7898 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.186e-05/0.645, allocations: 1 kB / 0.7898 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.645, allocations: 11.69 kB / 0.7898 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.645, allocations: 0 / 0.7898 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.856e-05/0.645, allocations: 83.12 kB / 0.7899 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.645, allocations: 0 / 0.7899 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002325/0.6453, allocations: 25.31 kB / 0.7899 GB, free: 47.09 MB / 0.6544 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.0002308/0.6455, allocations: 134.8 kB / 0.7901 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.902e-05/0.6456, allocations: 14.42 kB / 0.7901 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6456, allocations: 0 / 0.7901 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.461e-05/0.6456, allocations: 10.41 kB / 0.7901 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.6458, allocations: 12.11 kB / 0.7901 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.6461, allocations: 135.3 kB / 0.7902 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.6462, allocations: 0.6751 MB / 0.7909 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.6462, allocations: 10.25 kB / 0.7909 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of SimCode: time 1.9e-07/0.6462, allocations: 0 / 0.7909 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.002265/0.6485, allocations: 0.9066 MB / 0.7918 GB, free: 46.13 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)