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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00102/0.00102, allocations: 190.3 kB / 16.25 MB, free: 6.637 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.17/1.17, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.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.522/1.522, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001313/0.001313, allocations: 66.91 kB / 0.6711 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1642, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001999/0.1663, allocations: 1.345 MB / 0.7843 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009261/0.1672, allocations: 0.7394 MB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.238e-05/0.1672, allocations: 0 / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.1673, allocations: 0 / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.1673, allocations: 11.94 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.1676, allocations: 87.98 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.865e-05/0.1676, allocations: 15.92 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.1677, allocations: 4 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.54e-05/0.1677, allocations: 4 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.439e-05/0.1677, allocations: 7.938 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.626e-06/0.1677, allocations: 0 / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.168, allocations: 157 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.915e-06/0.168, allocations: 0 / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.168, allocations: 11.94 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1682, allocations: 104.5 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1682, allocations: 0 / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1682, allocations: 3.938 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.1682, allocations: 0 / 0.7854 GB, free: 11.29 MB / 0.6075 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.0002744/0.1685, allocations: 335.5 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.1685, allocations: 8.031 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.245e-05/0.1686, allocations: 30.75 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.925e-05/0.1686, allocations: 4.938 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.089e-05/0.1687, allocations: 172.2 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.1687, allocations: 4.375 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.1687, allocations: 3.938 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.877e-05/0.1688, allocations: 37.7 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.1688, allocations: 0 / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.1688, allocations: 0 / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1688, allocations: 0 / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.403e-05/0.1689, allocations: 11.92 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.169, allocations: 153.7 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.705e-05/0.1691, allocations: 38.52 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/0.1691, allocations: 12.91 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/0.1707, allocations: 0.6534 MB / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.1707, allocations: 34.56 kB / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1707, allocations: 0 / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001185/0.1708, allocations: 49.62 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.1709, allocations: 51.41 kB / 0.787 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.768e-05/0.1709, allocations: 101.8 kB / 0.7871 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.1709, allocations: 29.83 kB / 0.7871 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.332e-05/0.171, allocations: 84.12 kB / 0.7872 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.171, allocations: 7.812 kB / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.171, allocations: 17.72 kB / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.1711, allocations: 310.8 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.1711, allocations: 4 kB / 0.7875 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.124e-05/0.1711, allocations: 7.984 kB / 0.7875 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.1712, allocations: 16.86 kB / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1712, allocations: 4 kB / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.148e-05/0.1712, allocations: 53.84 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.1713, allocations: 4 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.1713, allocations: 0 / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1713, allocations: 4.031 kB / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.798e-05/0.1713, allocations: 4 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1713, allocations: 4 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.226e-05/0.1713, allocations: 4 kB / 0.7876 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.1714, allocations: 0 / 0.7876 GB, free: 8.754 MB / 0.6075 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.956e-05/0.1714, allocations: 117.8 kB / 0.7877 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.1714, allocations: 4 kB / 0.7877 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.712e-05/0.1715, allocations: 64.98 kB / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1715, allocations: 0 / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1716, allocations: 0 / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1716, allocations: 0 / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.919e-05/0.1716, allocations: 161.6 kB / 0.7879 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1717, allocations: 0 / 0.7879 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.1717, allocations: 4 kB / 0.7879 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1717, allocations: 0 / 0.7879 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.1717, allocations: 8 kB / 0.7879 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1717, allocations: 0 / 0.7879 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1717, allocations: 0 / 0.7879 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.041e-05/0.1718, allocations: 73.06 kB / 0.788 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.1718, allocations: 88.89 kB / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.1718, allocations: 0 / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.113e-05/0.1719, allocations: 4 kB / 0.7881 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-06/0.1719, allocations: 3.984 kB / 0.7881 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.1719, allocations: 4 kB / 0.7881 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.63e-05/0.1719, allocations: 79.28 kB / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1719, allocations: 0 / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001983/0.1721, allocations: 24 kB / 0.7882 GB, free: 8.02 MB / 0.6075 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.0004035/0.1725, allocations: 0.6398 MB / 0.7888 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.113e-05/0.1726, allocations: 15.94 kB / 0.7888 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.1726, allocations: 4 kB / 0.7888 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/0.1726, allocations: 4 kB / 0.7888 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.1728, allocations: 14.91 kB / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.1731, allocations: 155.7 kB / 0.789 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.1733, allocations: 0.6768 MB / 0.7897 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.263e-05/0.1733, allocations: 4.266 kB / 0.7897 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.1734, allocations: 11.44 kB / 0.7897 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1734, allocations: 0 / 0.7897 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.152/1.326, allocations: 1.677 MB / 0.7913 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/1.326, allocations: 228.4 kB / 0.7915 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/3.798, allocations: 4 kB / 0.7915 GB, free: 4.648 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)