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.0008776/0.0008776, allocations: 90.36 kB / 15.36 MB, free: 0.7344 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.004783/0.004783, allocations: 168.9 kB / 16.26 MB, free: 6.68 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.279/1.279, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.679/1.679, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004926/0.0004926, allocations: 11.84 kB / 0.6744 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2285, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001424/0.2299, allocations: 1.022 MB / 0.789 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.2313, allocations: 0.7513 MB / 0.7897 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.2314, allocations: 4 kB / 0.7897 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.2314, allocations: 0 / 0.7897 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.891e-05/0.2315, allocations: 11.92 kB / 0.7898 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.2318, allocations: 71.98 kB / 0.7898 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.469e-05/0.2319, allocations: 11.94 kB / 0.7898 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.232, allocations: 4 kB / 0.7898 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.458e-05/0.232, allocations: 4 kB / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.2321, allocations: 11.92 kB / 0.7899 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.2321, allocations: 4 kB / 0.7899 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003676/0.2325, allocations: 153 kB / 0.79 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.2325, allocations: 4 kB / 0.79 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.162e-05/0.2325, allocations: 33.64 kB / 0.79 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.2328, allocations: 104.5 kB / 0.7901 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.2328, allocations: 3.984 kB / 0.7901 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2328, allocations: 0 / 0.7901 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2328, allocations: 0 / 0.7901 GB, free: 9.266 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.0003984/0.2332, allocations: 331.5 kB / 0.7905 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.2333, allocations: 12.03 kB / 0.7905 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.2333, allocations: 38.73 kB / 0.7905 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.2334, allocations: 0.9375 kB / 0.7905 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.2335, allocations: 164.3 kB / 0.7907 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2335, allocations: 8.312 kB / 0.7907 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.2335, allocations: 3.938 kB / 0.7907 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.916e-05/0.2336, allocations: 37.69 kB / 0.7907 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.2336, allocations: 0 / 0.7907 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.2337, allocations: 0 / 0.7907 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2337, allocations: 0 / 0.7907 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.426e-05/0.2337, allocations: 15.94 kB / 0.7907 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.2339, allocations: 153.7 kB / 0.7909 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.716e-05/0.234, allocations: 38.55 kB / 0.7909 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.2341, allocations: 12.92 kB / 0.7909 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002495/0.2366, allocations: 1.031 MB / 0.7919 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.2366, allocations: 34.56 kB / 0.792 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.2366, allocations: 0 / 0.792 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001991/0.2368, allocations: 49.62 kB / 0.792 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.2369, allocations: 59.34 kB / 0.7921 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.237, allocations: 97.84 kB / 0.7922 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.237, allocations: 25.7 kB / 0.7922 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.2371, allocations: 80.27 kB / 0.7923 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.2371, allocations: 19.81 kB / 0.7923 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.2372, allocations: 9.719 kB / 0.7923 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2373, allocations: 310.8 kB / 0.7926 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.2373, allocations: 4 kB / 0.7926 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.705e-05/0.2373, allocations: 7.984 kB / 0.7926 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.32e-05/0.2374, allocations: 21.06 kB / 0.7926 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2374, allocations: 0 / 0.7926 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001026/0.2375, allocations: 49.62 kB / 0.7927 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.2375, allocations: 8 kB / 0.7927 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2376, allocations: 4 kB / 0.7927 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2376, allocations: 0 / 0.7927 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.787e-05/0.2376, allocations: 4 kB / 0.7927 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2377, allocations: 0 / 0.7927 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.2377, allocations: 0 / 0.7927 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.2377, allocations: 4 kB / 0.7927 GB, free: 6.355 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 0.0001109/0.2378, allocations: 114.4 kB / 0.7928 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.2378, allocations: 0 / 0.7928 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.238, allocations: 61.11 kB / 0.7929 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.238, allocations: 3.938 kB / 0.7929 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.238, allocations: 4 kB / 0.7929 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.238, allocations: 0 / 0.7929 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.2382, allocations: 161.6 kB / 0.793 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2382, allocations: 4 kB / 0.793 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.2382, allocations: 4 kB / 0.793 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2382, allocations: 0 / 0.793 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.2383, allocations: 0 / 0.793 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2383, allocations: 0 / 0.793 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2383, allocations: 4 kB / 0.793 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.2384, allocations: 84.94 kB / 0.7931 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.2384, allocations: 81.02 kB / 0.7932 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.2385, allocations: 0 / 0.7932 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.459e-05/0.2385, allocations: 3.984 kB / 0.7932 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.2385, allocations: 4 kB / 0.7932 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.2385, allocations: 0 / 0.7932 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.845e-05/0.2386, allocations: 79.28 kB / 0.7933 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2386, allocations: 0 / 0.7933 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002645/0.2388, allocations: 31.94 kB / 0.7933 GB, free: 5.617 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.0005927/0.2394, allocations: 0.6281 MB / 0.7939 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.578e-05/0.2395, allocations: 20.12 kB / 0.7939 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2395, allocations: 0 / 0.7939 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.2396, allocations: 4.094 kB / 0.7939 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.2398, allocations: 10.42 kB / 0.7939 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.2402, allocations: 167.1 kB / 0.7941 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.2406, allocations: 0.677 MB / 0.7948 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.455e-05/0.2406, allocations: 4 kB / 0.7948 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.2406, allocations: 7.438 kB / 0.7948 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2406, allocations: 0 / 0.7948 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01125/0.2519, allocations: 1.561 MB / 0.7963 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.2521, allocations: 233.1 kB / 0.7965 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/1.953, allocations: 0 / 0.7965 GB, free: 2.371 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)