Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.894/2.894, allocations: 287.5 MB / 302.4 MB, free: 8.27 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.001378/0.001378, allocations: 176.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009189/0.0009187, allocations: 91.11 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.0004691, allocations: 12.69 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2041, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001404/0.2056, allocations: 1.01 MB / 0.9795 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2069, allocations: 0.6967 MB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.233e-05/0.2069, allocations: 4 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.207, allocations: 0 / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.638e-05/0.207, allocations: 7.984 kB / 0.9801 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.2074, allocations: 63.77 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.215e-05/0.2075, allocations: 15.94 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.2075, allocations: 3.984 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.2076, allocations: 7.938 kB / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.2076, allocations: 7.984 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.2076, allocations: 0 / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.2081, allocations: 167.7 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.366e-06/0.2081, allocations: 4 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.2081, allocations: 25.7 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.2083, allocations: 72.11 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2083, allocations: 0 / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2083, allocations: 0 / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.639e-06/0.2084, allocations: 0 / 0.9805 GB, free: 26.14 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.0002869/0.2086, allocations: 329.7 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.2087, allocations: 8.031 kB / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.684e-05/0.2087, allocations: 34.56 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.2088, allocations: 11.86 kB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.11e-05/0.2089, allocations: 174.9 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.2089, allocations: 3.984 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.2089, allocations: 4 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.358e-05/0.209, allocations: 33.64 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.209, allocations: 0 / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.209, allocations: 3.984 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.2091, allocations: 0 / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.173e-05/0.2091, allocations: 12 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.2093, allocations: 157.6 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.915e-05/0.2094, allocations: 30.58 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.2094, allocations: 12.95 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003713/0.2131, allocations: 1.039 MB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.2132, allocations: 34.5 kB / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.224e-06/0.2132, allocations: 0 / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001836/0.2134, allocations: 49.69 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.2134, allocations: 51.41 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.508e-05/0.2135, allocations: 89.86 kB / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.2135, allocations: 25.7 kB / 0.9825 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.045e-05/0.2135, allocations: 88.27 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.2136, allocations: 11.89 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.2136, allocations: 0 / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.2137, allocations: 314.8 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.2137, allocations: 4 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.2137, allocations: 11.94 kB / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.566e-05/0.2138, allocations: 4 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2138, allocations: 0 / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.404e-05/0.2139, allocations: 45.59 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2139, allocations: 9.562 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2139, allocations: 4 kB / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2139, allocations: 0 / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.975e-05/0.214, allocations: 7.984 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.214, allocations: 3.938 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/0.214, allocations: 0 / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.2141, allocations: 4 kB / 0.983 GB, free: 23.27 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 5.746e-05/0.2141, allocations: 109.8 kB / 0.9831 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.2142, allocations: 4 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.2143, allocations: 61.39 kB / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.2143, allocations: 4 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2143, allocations: 4 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2143, allocations: 4.031 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.344e-05/0.2144, allocations: 161.6 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2145, allocations: 0 / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.2145, allocations: 4 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2145, allocations: 3.984 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.2145, allocations: 0 / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2145, allocations: 4 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2146, allocations: 4 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.195e-05/0.2147, allocations: 73.02 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/0.2147, allocations: 81.02 kB / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.2147, allocations: 0 / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.828e-05/0.2147, allocations: 0 / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.2148, allocations: 8 kB / 0.9835 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-06/0.2148, allocations: 0 / 0.9835 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.228e-05/0.2148, allocations: 79.28 kB / 0.9836 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2148, allocations: 0 / 0.9836 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002935/0.2151, allocations: 35.92 kB / 0.9836 GB, free: 22.54 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.0004665/0.2156, allocations: 0.6282 MB / 0.9842 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.878e-05/0.2157, allocations: 19.92 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2157, allocations: 0 / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.267e-05/0.2157, allocations: 8 kB / 0.9843 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.216, allocations: 7.938 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004071/0.2164, allocations: 156.2 kB / 0.9844 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.2166, allocations: 0.6809 MB / 0.9851 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.278e-05/0.2166, allocations: 0 / 0.9851 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.2167, allocations: 15.38 kB / 0.9851 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of SimCode: time 1.001e-06/0.2167, allocations: 0 / 0.9851 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.2376, allocations: 1.574 MB / 0.9866 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/0.2379, allocations: 229.1 kB / 0.9869 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/2.8, allocations: 0 / 0.9869 GB, free: 19.29 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)