Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 173.8 kB / 325.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205 MB / 0.576 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007479/0.0007478, allocations: 91.17 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003362, allocations: 12.59 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2154, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001374/0.2169, allocations: 1.029 MB / 0.8972 GB, free: 67.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.2179, allocations: 0.7748 MB / 0.898 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.478e-05/0.218, allocations: 0 / 0.898 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.218, allocations: 0 / 0.898 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/0.2181, allocations: 11.92 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.2183, allocations: 64.06 kB / 0.898 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.932e-05/0.2184, allocations: 15.88 kB / 0.8981 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.2185, allocations: 7.984 kB / 0.8981 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.106e-05/0.2185, allocations: 19.92 kB / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.2185, allocations: 0 / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.2186, allocations: 4 kB / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.2188, allocations: 149 kB / 0.8982 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.2189, allocations: 3.984 kB / 0.8982 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.2189, allocations: 15.88 kB / 0.8983 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.219, allocations: 104.5 kB / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2191, allocations: 0 / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2191, allocations: 0 / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2191, allocations: 4 kB / 0.8984 GB, free: 65.84 MB / 0.6042 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.0002946/0.2194, allocations: 331.5 kB / 0.8987 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2194, allocations: 12.03 kB / 0.8987 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.2195, allocations: 30.75 kB / 0.8987 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.293e-05/0.2195, allocations: 4.875 kB / 0.8987 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.668e-05/0.2196, allocations: 168.4 kB / 0.8989 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.2196, allocations: 4.375 kB / 0.8989 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.2196, allocations: 384 / 0.8989 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.856e-05/0.2197, allocations: 37.81 kB / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.2197, allocations: 4 kB / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.2197, allocations: 0 / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2197, allocations: 0 / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.035e-05/0.2198, allocations: 15.98 kB / 0.8989 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.2199, allocations: 149.7 kB / 0.8991 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.603e-05/0.22, allocations: 38.55 kB / 0.8991 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.351e-05/0.22, allocations: 8.922 kB / 0.8991 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001964/0.222, allocations: 1.035 MB / 0.9001 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.222, allocations: 42.48 kB / 0.9002 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.222, allocations: 0 / 0.9002 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001364/0.2222, allocations: 49.55 kB / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.2222, allocations: 55.39 kB / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.513e-05/0.2223, allocations: 97.86 kB / 0.9004 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.2223, allocations: 25.7 kB / 0.9004 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.962e-05/0.2223, allocations: 84.12 kB / 0.9005 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.2223, allocations: 11.91 kB / 0.9005 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.2224, allocations: 9.719 kB / 0.9005 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.2224, allocations: 318.8 kB / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.2224, allocations: 8 kB / 0.9008 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.826e-06/0.2224, allocations: 0 / 0.9008 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.2225, allocations: 20.98 kB / 0.9008 GB, free: 63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2225, allocations: 0 / 0.9008 GB, free: 63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.23e-05/0.2225, allocations: 49.56 kB / 0.9009 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2226, allocations: 8 kB / 0.9009 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2226, allocations: 0 / 0.9009 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2226, allocations: 0 / 0.9009 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.068e-05/0.2226, allocations: 8 kB / 0.9009 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2227, allocations: 0 / 0.9009 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.314e-05/0.2227, allocations: 3.984 kB / 0.9009 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.2227, allocations: 3.938 kB / 0.9009 GB, free: 62.93 MB / 0.6042 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.135e-05/0.2227, allocations: 113.8 kB / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.2228, allocations: 3.938 kB / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.2229, allocations: 61.44 kB / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2229, allocations: 0 / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2229, allocations: 7.938 kB / 0.9011 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2229, allocations: 0 / 0.9011 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.998e-05/0.223, allocations: 157.6 kB / 0.9012 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.223, allocations: 0 / 0.9012 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.223, allocations: 7.938 kB / 0.9012 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.223, allocations: 4 kB / 0.9012 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.223, allocations: 0 / 0.9012 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.223, allocations: 0 / 0.9012 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.223, allocations: 3.984 kB / 0.9012 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.263e-05/0.2231, allocations: 73.12 kB / 0.9013 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.2231, allocations: 81.05 kB / 0.9014 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.2231, allocations: 0 / 0.9014 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.2231, allocations: 0 / 0.9014 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.2232, allocations: 4 kB / 0.9014 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.2232, allocations: 4 kB / 0.9014 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.869e-05/0.2232, allocations: 75.28 kB / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2232, allocations: 3.938 kB / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000214/0.2234, allocations: 35.98 kB / 0.9015 GB, free: 62.2 MB / 0.6042 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.0003501/0.2238, allocations: 0.6358 MB / 0.9021 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.63e-05/0.2239, allocations: 15.98 kB / 0.9021 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2239, allocations: 0 / 0.9021 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.208e-05/0.2239, allocations: 7.938 kB / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.2241, allocations: 11.25 kB / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.2244, allocations: 149.4 kB / 0.9023 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.2245, allocations: 0.677 MB / 0.903 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.691e-05/0.2246, allocations: 4 kB / 0.903 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.2246, allocations: 7.438 kB / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2246, allocations: 0 / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/0.3269, allocations: 1.579 MB / 0.9045 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.3272, allocations: 246.1 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.079, allocations: 0 / 0.9048 GB, free: 58.96 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)