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.001378/0.001378, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001661/0.001661, allocations: 191.8 kB / 16.14 MB, free: 6.703 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.29/1.29, allocations: 205.1 MB / 222 MB, free: 4.973 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.549/1.549, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.002521/0.002521, allocations: 68.66 kB / 0.6709 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.2, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002079/0.2021, allocations: 1.363 MB / 0.7841 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.2032, allocations: 0.7707 MB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.2033, allocations: 0 / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.2033, allocations: 3.984 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-05/0.2034, allocations: 3.984 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.2037, allocations: 68 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.287e-05/0.2037, allocations: 15.94 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.033e-05/0.2037, allocations: 0 / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.972e-05/0.2038, allocations: 15.92 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.931e-05/0.2038, allocations: 7.984 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.2038, allocations: 0 / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.2041, allocations: 156.9 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.2041, allocations: 4 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.2042, allocations: 7.938 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.2043, allocations: 108.5 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2044, allocations: 0 / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.21e-07/0.2044, allocations: 0 / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.2044, allocations: 4 kB / 0.7853 GB, free: 11.36 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.0002962/0.2047, allocations: 339.5 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.2047, allocations: 8.031 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.529e-05/0.2047, allocations: 30.75 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.864e-05/0.2048, allocations: 4.875 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.851e-05/0.2049, allocations: 168.3 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.2049, allocations: 384 / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.2049, allocations: 7.938 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.096e-05/0.205, allocations: 37.62 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.205, allocations: 4 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.205, allocations: 4 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.205, allocations: 0 / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.795e-05/0.2051, allocations: 11.98 kB / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.2052, allocations: 145.7 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.181e-05/0.2053, allocations: 38.55 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.2053, allocations: 16.86 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/0.207, allocations: 0.6572 MB / 0.7867 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.207, allocations: 38.56 kB / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.207, allocations: 0 / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001432/0.2072, allocations: 49.69 kB / 0.7868 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.2072, allocations: 51.41 kB / 0.7868 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.531e-05/0.2073, allocations: 93.86 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.2073, allocations: 25.7 kB / 0.7869 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.2073, allocations: 80.14 kB / 0.787 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.2074, allocations: 11.81 kB / 0.787 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.2074, allocations: 21.83 kB / 0.787 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.2075, allocations: 310.8 kB / 0.7873 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.942e-05/0.2075, allocations: 11.94 kB / 0.7873 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.158e-05/0.2075, allocations: 7.938 kB / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.348e-05/0.2076, allocations: 16.86 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2076, allocations: 4 kB / 0.7874 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.156e-05/0.2077, allocations: 49.91 kB / 0.7874 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2077, allocations: 4 kB / 0.7874 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2077, allocations: 0 / 0.7874 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.2077, allocations: 8.031 kB / 0.7874 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.875e-05/0.2078, allocations: 7.984 kB / 0.7874 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.2078, allocations: 0 / 0.7874 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.2078, allocations: 0 / 0.7874 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.2078, allocations: 7.938 kB / 0.7874 GB, free: 8.809 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 6.09e-05/0.2079, allocations: 110.4 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.2079, allocations: 0 / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.208, allocations: 69.06 kB / 0.7876 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.208, allocations: 0 / 0.7876 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.208, allocations: 0 / 0.7876 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.208, allocations: 0 / 0.7876 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.211e-05/0.2081, allocations: 153.6 kB / 0.7878 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2081, allocations: 0 / 0.7878 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.2082, allocations: 7.984 kB / 0.7878 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2082, allocations: 0 / 0.7878 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.2082, allocations: 8 kB / 0.7878 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2082, allocations: 0 / 0.7878 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2082, allocations: 3.938 kB / 0.7878 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.207e-05/0.2083, allocations: 76.97 kB / 0.7879 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.2083, allocations: 77.11 kB / 0.7879 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.2083, allocations: 0 / 0.7879 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.258e-05/0.2084, allocations: 0 / 0.7879 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.2084, allocations: 4 kB / 0.7879 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.2084, allocations: 0 / 0.7879 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.2084, allocations: 87.27 kB / 0.788 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2084, allocations: 4.094 kB / 0.788 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002222/0.2087, allocations: 24 kB / 0.788 GB, free: 8.086 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.0004736/0.2091, allocations: 0.6435 MB / 0.7887 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.387e-05/0.2092, allocations: 11.98 kB / 0.7887 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2092, allocations: 0 / 0.7887 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.721e-05/0.2092, allocations: 12 kB / 0.7887 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.2094, allocations: 4 kB / 0.7887 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.2098, allocations: 150.2 kB / 0.7888 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.21, allocations: 0.6731 MB / 0.7895 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.79e-05/0.2101, allocations: 12.27 kB / 0.7895 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.2101, allocations: 15.42 kB / 0.7895 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.2101, allocations: 0 / 0.7895 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.2272, allocations: 1.624 MB / 0.7911 GB, free: 5 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.2274, allocations: 225.5 kB / 0.7913 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/1.987, allocations: 4.062 kB / 0.7913 GB, free: 4.746 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)