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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008326/0.008326, allocations: 106.1 kB / 15.73 MB, free: 6.047 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.001578/0.001578, allocations: 196.6 kB / 16.67 MB, free: 5.961 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.526/1.526, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.506/1.506, allocations: 251.7 MB / 0.5094 GB, free: 3.082 MB / 414.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.001375/0.001375, allocations: 72.22 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.196, allocations: 104.7 MB / 0.8281 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002107/0.1981, allocations: 1.284 MB / 0.8293 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1992, allocations: 0.7347 MB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.16e-05/0.1993, allocations: 3.938 kB / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.1993, allocations: 3.938 kB / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.1993, allocations: 0 / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.1997, allocations: 103.8 kB / 0.8301 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.22e-05/0.1997, allocations: 15.94 kB / 0.8302 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.1998, allocations: 7.938 kB / 0.8302 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.925e-05/0.1998, allocations: 7.984 kB / 0.8302 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.1998, allocations: 4 kB / 0.8302 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1999, allocations: 0 / 0.8302 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.2002, allocations: 152 kB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.2002, allocations: 0 / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.2002, allocations: 8 kB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.2004, allocations: 107.7 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2004, allocations: 4 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2004, allocations: 0 / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2004, allocations: 4 kB / 0.8304 GB, free: 13.74 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.0003144/0.2007, allocations: 335.4 kB / 0.8308 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.2008, allocations: 8.031 kB / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.2008, allocations: 4.938 kB / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.34e-05/0.2009, allocations: 160.4 kB / 0.8309 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.2009, allocations: 384 / 0.8309 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.2009, allocations: 4.375 kB / 0.8309 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.887e-05/0.201, allocations: 53.94 kB / 0.831 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.201, allocations: 3.984 kB / 0.831 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.2011, allocations: 0 / 0.831 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2011, allocations: 0 / 0.831 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.441e-05/0.2011, allocations: 4 kB / 0.831 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.2012, allocations: 153.7 kB / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.549e-05/0.2013, allocations: 34.61 kB / 0.8312 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.2014, allocations: 16.92 kB / 0.8312 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001821/0.2032, allocations: 0.6494 MB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.2032, allocations: 42.5 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.304e-06/0.2033, allocations: 0 / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001394/0.2034, allocations: 53.53 kB / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.2034, allocations: 51.41 kB / 0.832 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.2035, allocations: 101.8 kB / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.2035, allocations: 25.7 kB / 0.8321 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.2035, allocations: 80.14 kB / 0.8322 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.2036, allocations: 11.95 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.2036, allocations: 21.72 kB / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.2037, allocations: 314.8 kB / 0.8325 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.2037, allocations: 7.938 kB / 0.8325 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.2038, allocations: 11.94 kB / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.377e-05/0.2038, allocations: 16.86 kB / 0.8325 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2038, allocations: 0 / 0.8325 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.346e-05/0.2039, allocations: 41.69 kB / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2039, allocations: 7.938 kB / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2039, allocations: 4 kB / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2039, allocations: 0 / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.725e-05/0.204, allocations: 4 kB / 0.8326 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.204, allocations: 4 kB / 0.8326 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.204, allocations: 7.984 kB / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.204, allocations: 0 / 0.8326 GB, free: 11.24 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 6.146e-05/0.2041, allocations: 109.8 kB / 0.8327 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.2041, allocations: 7.938 kB / 0.8327 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.2042, allocations: 53.19 kB / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2042, allocations: 0 / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2042, allocations: 0 / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2042, allocations: 384 / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.663e-05/0.2043, allocations: 157.6 kB / 0.8329 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2043, allocations: 0 / 0.8329 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.2044, allocations: 4 kB / 0.8329 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.2044, allocations: 7.938 kB / 0.8329 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.2044, allocations: 0 / 0.8329 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.2044, allocations: 3.984 kB / 0.8329 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2044, allocations: 3.984 kB / 0.8329 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.131e-05/0.2045, allocations: 77.06 kB / 0.833 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.2045, allocations: 81.05 kB / 0.8331 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.2045, allocations: 8 kB / 0.8331 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.178e-05/0.2046, allocations: 3.938 kB / 0.8331 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.2046, allocations: 0 / 0.8331 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.2046, allocations: 0 / 0.8331 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.871e-05/0.2046, allocations: 79.28 kB / 0.8332 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2046, allocations: 8.031 kB / 0.8332 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002239/0.2049, allocations: 31.98 kB / 0.8332 GB, free: 10.51 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.0002287/0.2051, allocations: 127.2 kB / 0.8333 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.289e-05/0.2052, allocations: 11.94 kB / 0.8333 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2052, allocations: 4 kB / 0.8333 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.81e-05/0.2052, allocations: 15.98 kB / 0.8333 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.2054, allocations: 4 kB / 0.8334 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.2056, allocations: 106.2 kB / 0.8335 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.2059, allocations: 0.6805 MB / 0.8341 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.518e-05/0.2059, allocations: 4 kB / 0.8341 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.2059, allocations: 11.44 kB / 0.8341 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.2059, allocations: 0 / 0.8341 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of Templates: time 0.002898/0.2088, allocations: 0.9059 MB / 0.835 GB, free: 8.617 MB / 0.6544 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)