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.001327/0.001327, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.288/1.288, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.671/1.671, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001395/0.001396, allocations: 78.92 kB / 0.6716 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1798, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002148/0.182, allocations: 1.28 MB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009978/0.183, allocations: 0.7345 MB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.617e-05/0.183, allocations: 0 / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.1831, allocations: 0 / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.951e-05/0.1831, allocations: 11.92 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.1834, allocations: 91.97 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.614e-05/0.1835, allocations: 19.86 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.1835, allocations: 0 / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.71e-05/0.1835, allocations: 4 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.205e-05/0.1836, allocations: 11.94 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.1836, allocations: 0 / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.1839, allocations: 144 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.1839, allocations: 11.98 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.1839, allocations: 3.938 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.1841, allocations: 104.1 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1841, allocations: 4 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1841, allocations: 0 / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.1842, allocations: 0 / 0.7859 GB, free: 10.95 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.0002914/0.1844, allocations: 335.5 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1845, allocations: 15.97 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.624e-05/0.1845, allocations: 30.75 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.99e-05/0.1845, allocations: 4.875 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.286e-05/0.1846, allocations: 168.3 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1847, allocations: 4.375 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.1847, allocations: 7.938 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.779e-05/0.1848, allocations: 37.69 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.1848, allocations: 0 / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.1848, allocations: 3.938 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1848, allocations: 4 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.803e-05/0.1848, allocations: 11.98 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.185, allocations: 154.8 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.306e-05/0.1851, allocations: 42.45 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.1851, allocations: 8.922 kB / 0.7866 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001786/0.1869, allocations: 0.6572 MB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.1869, allocations: 30.56 kB / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1869, allocations: 0 / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001338/0.1871, allocations: 53.62 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.1871, allocations: 51.41 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.216e-05/0.1872, allocations: 89.86 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.1872, allocations: 29.7 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.396e-05/0.1872, allocations: 88.27 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.1872, allocations: 11.8 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.1873, allocations: 13.72 kB / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.1874, allocations: 314.8 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.1874, allocations: 4 kB / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.286e-05/0.1874, allocations: 8.172 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.847e-05/0.1874, allocations: 16.84 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1874, allocations: 0 / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.616e-05/0.1875, allocations: 49.58 kB / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1875, allocations: 15.98 kB / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.1875, allocations: 0 / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1876, allocations: 0 / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.1876, allocations: 4 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1876, allocations: 0 / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.1876, allocations: 0 / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1876, allocations: 7.938 kB / 0.788 GB, free: 8.402 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.846e-05/0.1877, allocations: 109.8 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.1877, allocations: 0 / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.1878, allocations: 61.12 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1879, allocations: 11.92 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1879, allocations: 3.938 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1879, allocations: 0 / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.933e-05/0.188, allocations: 153.6 kB / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.188, allocations: 3.984 kB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.188, allocations: 4 kB / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.188, allocations: 0 / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.188, allocations: 0 / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.188, allocations: 4 kB / 0.7884 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.188, allocations: 4 kB / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.42e-05/0.1881, allocations: 69.06 kB / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.1881, allocations: 81.02 kB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-06/0.1882, allocations: 0 / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/0.1882, allocations: 4 kB / 0.7885 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.1882, allocations: 7.984 kB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1882, allocations: 0 / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.911e-05/0.1882, allocations: 83.28 kB / 0.7886 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1883, allocations: 3.938 kB / 0.7886 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000223/0.1885, allocations: 28 kB / 0.7886 GB, free: 7.672 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.0004205/0.1889, allocations: 0.644 MB / 0.7893 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.442e-05/0.189, allocations: 11.98 kB / 0.7893 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.189, allocations: 3.938 kB / 0.7893 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.764e-05/0.189, allocations: 12 kB / 0.7893 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.1892, allocations: 3.984 kB / 0.7893 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.1895, allocations: 151.6 kB / 0.7895 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.1897, allocations: 0.6768 MB / 0.7901 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.1898, allocations: 7.938 kB / 0.7901 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.1898, allocations: 11.44 kB / 0.7901 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.1898, allocations: 0 / 0.7901 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4005/0.5903, allocations: 1.734 MB / 0.7918 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.35, allocations: 6.5 kB / 0.7918 GB, free: 4.445 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)