Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.486/1.486, allocations: 288.4 MB / 303.6 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008633/0.0008633, allocations: 187.4 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.146/1.146, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006977/0.0006978, allocations: 92.77 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 16.31 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1603, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001101/0.1615, allocations: 1.006 MB / 0.9812 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008311/0.1623, allocations: 0.6965 MB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.1624, allocations: 4 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.227e-05/0.1624, allocations: 3.938 kB / 0.9819 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.855e-05/0.1625, allocations: 4 kB / 0.9819 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1627, allocations: 67.75 kB / 0.9819 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.27e-05/0.1628, allocations: 19.92 kB / 0.982 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.1628, allocations: 0 / 0.982 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.781e-05/0.1629, allocations: 4 kB / 0.982 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.593e-05/0.1629, allocations: 7.938 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1629, allocations: 4 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.1632, allocations: 167.8 kB / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.255e-06/0.1632, allocations: 0 / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.1633, allocations: 33.64 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.1634, allocations: 72.11 kB / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1634, allocations: 0 / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1634, allocations: 0 / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.1634, allocations: 4 kB / 0.9822 GB, free: 25.11 MB / 0.6198 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.0002381/0.1636, allocations: 327.5 kB / 0.9826 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1637, allocations: 16.03 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.212e-05/0.1637, allocations: 30.75 kB / 0.9826 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.932e-05/0.1637, allocations: 4.844 kB / 0.9826 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.327e-05/0.1638, allocations: 168.3 kB / 0.9828 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.1638, allocations: 4.359 kB / 0.9828 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.1639, allocations: 3.938 kB / 0.9828 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.923e-05/0.1639, allocations: 37.64 kB / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1639, allocations: 0 / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.164, allocations: 0 / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.164, allocations: 0 / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.814e-05/0.164, allocations: 19.92 kB / 0.9828 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.1641, allocations: 153.7 kB / 0.983 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.866e-05/0.1642, allocations: 34.52 kB / 0.983 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.1642, allocations: 12.86 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001989/0.1662, allocations: 1.039 MB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.1663, allocations: 34.56 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.1663, allocations: 3.984 kB / 0.9841 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001196/0.1664, allocations: 45.69 kB / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.1664, allocations: 51.41 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.184e-05/0.1665, allocations: 97.86 kB / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.1665, allocations: 25.7 kB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.484e-05/0.1665, allocations: 84.27 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.1665, allocations: 3.906 kB / 0.9844 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.1665, allocations: 4 kB / 0.9844 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.037e-05/0.1666, allocations: 318.8 kB / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.1666, allocations: 3.938 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-06/0.1666, allocations: 4 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.821e-05/0.1666, allocations: 16.86 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1666, allocations: 0 / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.489e-05/0.1667, allocations: 53.53 kB / 0.9848 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1667, allocations: 8 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1667, allocations: 0 / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1668, allocations: 0 / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.1668, allocations: 11.98 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1668, allocations: 3.938 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.1668, allocations: 0 / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.1668, allocations: 3.938 kB / 0.9848 GB, free: 22.21 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/0.1669, allocations: 113.8 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.1669, allocations: 0 / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.581e-05/0.167, allocations: 57.19 kB / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.167, allocations: 0 / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.167, allocations: 0 / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.167, allocations: 3.938 kB / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.676e-05/0.1671, allocations: 157.6 kB / 0.9851 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1671, allocations: 0 / 0.9851 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.1671, allocations: 8 kB / 0.9851 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1671, allocations: 0 / 0.9851 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1671, allocations: 3.984 kB / 0.9851 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1671, allocations: 0 / 0.9851 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1672, allocations: 11.94 kB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.895e-05/0.1672, allocations: 69.06 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.1672, allocations: 81.02 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.1673, allocations: 4 kB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.07e-05/0.1673, allocations: 0 / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.1673, allocations: 432 / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1673, allocations: 0 / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.656e-05/0.1673, allocations: 87.28 kB / 0.9853 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1673, allocations: 0 / 0.9853 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002093/0.1675, allocations: 31.92 kB / 0.9854 GB, free: 21.5 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003348/0.1679, allocations: 0.6437 MB / 0.986 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.569e-05/0.168, allocations: 11.98 kB / 0.986 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.168, allocations: 0 / 0.986 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.276e-05/0.168, allocations: 12 kB / 0.986 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.1681, allocations: 4 kB / 0.986 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.1684, allocations: 162 kB / 0.9862 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.315e-05/0.1685, allocations: 0.6809 MB / 0.9869 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.657e-05/0.1686, allocations: 7.938 kB / 0.9869 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.1686, allocations: 11.44 kB / 0.9869 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.1686, allocations: 0 / 0.9869 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3424/0.511, allocations: 1.57 MB / 0.9884 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.5112, allocations: 224.3 kB / 0.9886 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.253, allocations: 0 / 0.9886 GB, free: 18.28 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)