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.001406/0.001406, allocations: 112.3 kB / 16.38 MB, free: 6.008 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.001528/0.001528, allocations: 190 kB / 17.31 MB, free: 5.621 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.406/1.406, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.815/1.815, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.00157/0.00157, allocations: 68.38 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2262, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002645/0.2288, allocations: 1.294 MB / 0.7861 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2302, allocations: 0.7344 MB / 0.7868 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.2302, allocations: 0 / 0.7868 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.2303, allocations: 0 / 0.7868 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.869e-05/0.2304, allocations: 3.938 kB / 0.7868 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.2308, allocations: 91.95 kB / 0.7869 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.698e-05/0.2309, allocations: 15.88 kB / 0.7869 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.587e-05/0.231, allocations: 7.984 kB / 0.7869 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.231, allocations: 3.938 kB / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.465e-05/0.2311, allocations: 8 kB / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.2311, allocations: 8 kB / 0.7869 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.2315, allocations: 148 kB / 0.7871 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.2315, allocations: 4 kB / 0.7871 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.2316, allocations: 11.92 kB / 0.7871 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.2318, allocations: 95.78 kB / 0.7872 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2318, allocations: 3.938 kB / 0.7872 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2318, allocations: 3.938 kB / 0.7872 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2318, allocations: 0 / 0.7872 GB, free: 0.7422 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.0003971/0.2322, allocations: 335.6 kB / 0.7875 GB, free: 376 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2323, allocations: 8.031 kB / 0.7875 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.2323, allocations: 8.938 kB / 0.7875 GB, free: 360 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.2325, allocations: 172.2 kB / 0.7877 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2325, allocations: 384 / 0.7877 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.2325, allocations: 8.062 kB / 0.7877 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.746e-05/0.2326, allocations: 37.69 kB / 0.7877 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2326, allocations: 0 / 0.7877 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2326, allocations: 0 / 0.7877 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2326, allocations: 0 / 0.7877 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.572e-05/0.2327, allocations: 11.98 kB / 0.7877 GB, free: 84 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3011/0.5338, allocations: 152.9 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.534, allocations: 39.73 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.534, allocations: 12.38 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001708/0.5357, allocations: 0.6543 MB / 0.7886 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.5358, allocations: 37.81 kB / 0.7886 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.5358, allocations: 0 / 0.7886 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001359/0.5359, allocations: 44 kB / 0.7886 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.428e-05/0.5359, allocations: 54.41 kB / 0.7887 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.978e-05/0.536, allocations: 103.5 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.536, allocations: 28.33 kB / 0.7888 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.141e-05/0.536, allocations: 81 kB / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.536, allocations: 8.781 kB / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.5361, allocations: 17.97 kB / 0.7889 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.662e-05/0.5361, allocations: 317.6 kB / 0.7892 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.5361, allocations: 2.625 kB / 0.7892 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/0.5361, allocations: 2.812 kB / 0.7892 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.977e-05/0.5362, allocations: 20.77 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5362, allocations: 0 / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.614e-05/0.5362, allocations: 49.11 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.5363, allocations: 7.875 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.5363, allocations: 0 / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.5363, allocations: 0 / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.665e-05/0.5363, allocations: 4.969 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.5363, allocations: 3.938 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.385e-05/0.5364, allocations: 2.594 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.5364, allocations: 0 / 0.7893 GB, free: 47.7 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 3.634e-05/0.5364, allocations: 112.1 kB / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-06/0.5364, allocations: 0 / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.5365, allocations: 65.03 kB / 0.7895 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.5365, allocations: 0 / 0.7895 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5366, allocations: 0 / 0.7895 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.5366, allocations: 84.84 kB / 0.7896 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.5366, allocations: 3.656 kB / 0.7896 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.362e-05/0.5366, allocations: 2.531 kB / 0.7896 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.5366, allocations: 2.562 kB / 0.7896 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.282e-05/0.5367, allocations: 125.4 kB / 0.7897 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.53e-05/0.5368, allocations: 223.9 kB / 0.7899 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.99e-05/0.5368, allocations: 13.58 kB / 0.7899 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.375e-05/0.5368, allocations: 80.41 kB / 0.79 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of Backend: time 5.31e-07/0.5368, allocations: 0 / 0.79 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004552/0.5373, allocations: 116.4 kB / 0.7901 GB, free: 47 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002732/0.5376, allocations: 0.5456 MB / 0.7906 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.002669/0.5402, allocations: 0.9093 MB / 0.7915 GB, free: 46.38 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)