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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 251.5 MB / 267.4 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001389, allocations: 172.5 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205 MB / 0.5766 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008465/0.0008463, allocations: 81.97 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 8.656 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1987, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001383/0.2001, allocations: 1.014 MB / 0.8977 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.2012, allocations: 0.7787 MB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.2013, allocations: 4 kB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.2013, allocations: 0 / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.122e-05/0.2014, allocations: 3.938 kB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.2017, allocations: 68.05 kB / 0.8986 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.246e-05/0.2018, allocations: 19.92 kB / 0.8986 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.2018, allocations: 7.938 kB / 0.8986 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.044e-05/0.2019, allocations: 7.938 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.2019, allocations: 4 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.2019, allocations: 4 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.2023, allocations: 157 kB / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.2023, allocations: 0 / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.2023, allocations: 11.94 kB / 0.8988 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.2025, allocations: 72.11 kB / 0.8989 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2025, allocations: 0 / 0.8989 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2025, allocations: 0 / 0.8989 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2025, allocations: 0 / 0.8989 GB, free: 66.03 MB / 0.6042 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.000276/0.2028, allocations: 339.5 kB / 0.8992 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2028, allocations: 8.031 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.2029, allocations: 4.938 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.546e-05/0.203, allocations: 160.4 kB / 0.8993 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.203, allocations: 384 / 0.8993 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.203, allocations: 8.25 kB / 0.8993 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.22e-05/0.2031, allocations: 45.94 kB / 0.8994 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.2031, allocations: 4 kB / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.2031, allocations: 0 / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2031, allocations: 0 / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.2032, allocations: 11.98 kB / 0.8994 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.2033, allocations: 149.7 kB / 0.8996 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.702e-05/0.2034, allocations: 38.59 kB / 0.8996 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.2034, allocations: 16.86 kB / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00205/0.2055, allocations: 1.035 MB / 0.9006 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.2055, allocations: 34.5 kB / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/0.2055, allocations: 0 / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001468/0.2057, allocations: 45.69 kB / 0.9007 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.2057, allocations: 55.41 kB / 0.9007 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.622e-05/0.2058, allocations: 97.84 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.723e-06/0.2058, allocations: 25.7 kB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.654e-05/0.2058, allocations: 88.27 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.2059, allocations: 7.812 kB / 0.901 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.2059, allocations: 13.72 kB / 0.901 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.314e-05/0.2059, allocations: 310.8 kB / 0.9013 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.2059, allocations: 11.92 kB / 0.9013 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.104e-05/0.206, allocations: 4 kB / 0.9013 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.145e-05/0.206, allocations: 16.86 kB / 0.9013 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.206, allocations: 0 / 0.9013 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.411e-05/0.2061, allocations: 45.69 kB / 0.9013 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2061, allocations: 11.94 kB / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2061, allocations: 0 / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2061, allocations: 0 / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.171e-05/0.2062, allocations: 4 kB / 0.9014 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2062, allocations: 0 / 0.9014 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.2062, allocations: 4 kB / 0.9014 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.2062, allocations: 3.938 kB / 0.9014 GB, free: 63.16 MB / 0.6042 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 5.072e-05/0.2063, allocations: 113.8 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-06/0.2063, allocations: 7.938 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.2064, allocations: 57.12 kB / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.2064, allocations: 0 / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2064, allocations: 3.938 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2064, allocations: 0 / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.623e-05/0.2065, allocations: 161.5 kB / 0.9017 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2065, allocations: 0 / 0.9017 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/0.2065, allocations: 4 kB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2066, allocations: 3.938 kB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.2066, allocations: 4 kB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2066, allocations: 0 / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2066, allocations: 7.938 kB / 0.9017 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.656e-05/0.2066, allocations: 69.5 kB / 0.9018 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.2067, allocations: 85.03 kB / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.2067, allocations: 4 kB / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.213e-05/0.2067, allocations: 4.047 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.2067, allocations: 3.984 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2067, allocations: 0 / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.661e-05/0.2068, allocations: 83.28 kB / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2068, allocations: 0 / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000207/0.207, allocations: 27.98 kB / 0.902 GB, free: 62.43 MB / 0.6042 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.0002225/0.2072, allocations: 131.2 kB / 0.9021 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.416e-05/0.2073, allocations: 16.03 kB / 0.9021 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2073, allocations: 0 / 0.9021 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.387e-05/0.2073, allocations: 11.98 kB / 0.9021 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.2075, allocations: 5.266 kB / 0.9021 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.2078, allocations: 141.4 kB / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.2079, allocations: 0.6731 MB / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.2079, allocations: 15.42 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.2079, allocations: 0 / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.002177/0.2101, allocations: 0.9034 MB / 0.9038 GB, free: 60.47 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (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)