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.0009088/0.0009088, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001134/0.001134, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.693/1.693, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0005046/0.0005047, allocations: 15.88 kB / 0.6738 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2169, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001199/0.2181, allocations: 1.006 MB / 0.7884 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009789/0.2191, allocations: 0.6969 MB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.2192, allocations: 4 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.2192, allocations: 7.922 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.133e-05/0.2193, allocations: 0 / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.2195, allocations: 75.75 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.456e-05/0.2196, allocations: 15.94 kB / 0.7892 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.2196, allocations: 7.984 kB / 0.7892 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.735e-05/0.2197, allocations: 0 / 0.7892 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.2197, allocations: 7.938 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.2197, allocations: 7.984 kB / 0.7892 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.22, allocations: 147.8 kB / 0.7893 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.839e-06/0.22, allocations: 7.984 kB / 0.7894 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.2201, allocations: 29.64 kB / 0.7894 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.2202, allocations: 68.12 kB / 0.7894 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2202, allocations: 11.94 kB / 0.7895 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2202, allocations: 0 / 0.7895 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.2203, allocations: 0 / 0.7895 GB, free: 9.699 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.0002829/0.2205, allocations: 327.3 kB / 0.7898 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2206, allocations: 8.031 kB / 0.7898 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.2206, allocations: 38.55 kB / 0.7898 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.057e-05/0.2206, allocations: 0 / 0.7898 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.2208, allocations: 170.9 kB / 0.79 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2208, allocations: 0 / 0.79 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.2208, allocations: 12 kB / 0.79 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.607e-05/0.2209, allocations: 33.69 kB / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2209, allocations: 0 / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.2209, allocations: 0 / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2209, allocations: 0 / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.696e-05/0.221, allocations: 15.94 kB / 0.79 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.2211, allocations: 153.6 kB / 0.7902 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.17e-05/0.2212, allocations: 34.61 kB / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.79e-05/0.2213, allocations: 16.92 kB / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002069/0.2233, allocations: 1.027 MB / 0.7912 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.2234, allocations: 34.56 kB / 0.7913 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2234, allocations: 0 / 0.7913 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001397/0.2235, allocations: 53.62 kB / 0.7913 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.2236, allocations: 55.41 kB / 0.7914 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/0.2236, allocations: 93.86 kB / 0.7915 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.2236, allocations: 29.69 kB / 0.7915 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.452e-05/0.2237, allocations: 80.14 kB / 0.7916 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.2237, allocations: 7.906 kB / 0.7916 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.2237, allocations: 0 / 0.7916 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.2238, allocations: 314.8 kB / 0.7919 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.2238, allocations: 4.125 kB / 0.7919 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.057e-05/0.2238, allocations: 8 kB / 0.7919 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.662e-05/0.2239, allocations: 12.27 kB / 0.7919 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2239, allocations: 3.938 kB / 0.7919 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.591e-05/0.2239, allocations: 53.53 kB / 0.792 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.224, allocations: 4 kB / 0.792 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.224, allocations: 3.984 kB / 0.792 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.224, allocations: 0 / 0.792 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.863e-05/0.224, allocations: 4 kB / 0.792 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2241, allocations: 0 / 0.792 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.2241, allocations: 4 kB / 0.792 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.2241, allocations: 4 kB / 0.792 GB, free: 6.824 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.628e-05/0.2242, allocations: 109.8 kB / 0.7921 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.118e-06/0.2242, allocations: 4 kB / 0.7921 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.2243, allocations: 61.06 kB / 0.7921 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2243, allocations: 0 / 0.7921 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2243, allocations: 3.984 kB / 0.7921 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2243, allocations: 0 / 0.7921 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.811e-05/0.2244, allocations: 149.6 kB / 0.7923 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2244, allocations: 4 kB / 0.7923 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.609e-05/0.2244, allocations: 11.98 kB / 0.7923 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.2245, allocations: 0 / 0.7923 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.2245, allocations: 4 kB / 0.7923 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2245, allocations: 0 / 0.7923 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2245, allocations: 4 kB / 0.7923 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.413e-05/0.2246, allocations: 65.12 kB / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.2246, allocations: 84.97 kB / 0.7924 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.2246, allocations: 4 kB / 0.7925 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.19e-05/0.2246, allocations: 0 / 0.7925 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.2247, allocations: 7.938 kB / 0.7925 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.2247, allocations: 3.984 kB / 0.7925 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.823e-05/0.2247, allocations: 79.28 kB / 0.7925 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2247, allocations: 4 kB / 0.7925 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002235/0.2249, allocations: 27.94 kB / 0.7926 GB, free: 6.098 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 (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.0004238/0.2254, allocations: 0.636 MB / 0.7932 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.953e-05/0.2254, allocations: 19.86 kB / 0.7932 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2255, allocations: 0 / 0.7932 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.2255, allocations: 16 kB / 0.7932 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.2257, allocations: 0 / 0.7932 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.226, allocations: 152.6 kB / 0.7934 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.2262, allocations: 0.677 MB / 0.794 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.027e-05/0.2263, allocations: 7.938 kB / 0.794 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.2263, allocations: 7.438 kB / 0.794 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2263, allocations: 4 kB / 0.7941 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01117/0.2375, allocations: 1.575 MB / 0.7956 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.2377, allocations: 213.1 kB / 0.7958 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.887, allocations: 0 / 0.7958 GB, free: 2.863 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/linux/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) Environment - environmentSimulation: