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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 289.9 MB / 297.4 MB, free: 6.441 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.001171/0.001171, allocations: 176.9 kB / 366.7 MB, free: 1.699 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008763/0.0008762, allocations: 92.52 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.046e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7751/0.7752, allocations: 116.3 MB / 0.9734 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2224/0.9976, allocations: 139.4 MB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.9979, allocations: 89.5 kB / 1.11 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.007417/1.005, allocations: 2.339 MB / 1.112 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.512e-06/1.005, allocations: 0 / 1.112 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.805e-06/1.005, allocations: 0 / 1.112 GB, free: 8.332 MB / 0.7136 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.0003117/1.006, allocations: 327.1 kB / 1.112 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.006, allocations: 12.03 kB / 1.112 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/1.006, allocations: 4 kB / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/1.006, allocations: 171 kB / 1.112 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/1.006, allocations: 5.812 kB / 1.112 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/1.006, allocations: 4 kB / 1.112 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.821e-05/1.006, allocations: 7.984 kB / 1.112 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.753e-05/1.006, allocations: 33.64 kB / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/1.006, allocations: 0 / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.046e-06/1.006, allocations: 0 / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.006, allocations: 4 kB / 1.112 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/1.006, allocations: 138.1 kB / 1.112 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.168e-05/1.006, allocations: 34.53 kB / 1.113 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/1.006, allocations: 8.922 kB / 1.113 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/1.008, allocations: 0.5511 MB / 1.113 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/1.008, allocations: 36.25 kB / 1.113 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/1.008, allocations: 0 / 1.113 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001733/1.008, allocations: 49.61 kB / 1.113 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/1.008, allocations: 51.41 kB / 1.113 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.758e-05/1.008, allocations: 93 kB / 1.113 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/1.008, allocations: 25.7 kB / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/1.008, allocations: 84.14 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/1.008, allocations: 7.891 kB / 1.113 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/1.008, allocations: 0 / 1.113 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.008, allocations: 310.8 kB / 1.114 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/1.008, allocations: 4 kB / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.227e-05/1.008, allocations: 8 kB / 1.114 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.275e-05/1.008, allocations: 8.125 kB / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.008, allocations: 0 / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.128e-05/1.008, allocations: 37.69 kB / 1.114 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/1.008, allocations: 15.89 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.008, allocations: 0 / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/1.009, allocations: 0 / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/1.009, allocations: 7.281 kB / 1.114 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/1.009, allocations: 0 / 1.114 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.469e-05/1.009, allocations: 0 / 1.114 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/1.009, allocations: 11.27 kB / 1.114 GB, free: 6.055 MB / 0.7136 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 () * 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 6.984e-05/1.009, allocations: 109 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.957e-05/1.009, allocations: 41.61 kB / 1.114 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/1.009, allocations: 7.938 kB / 1.114 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/1.009, allocations: 53.75 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.009, allocations: 0 / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.009, allocations: 2 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.009, allocations: 0 / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.566e-05/1.009, allocations: 134.2 kB / 1.114 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.009, allocations: 0 / 1.114 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/1.009, allocations: 8 kB / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/1.009, allocations: 7.953 kB / 1.114 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/1.009, allocations: 0 / 1.114 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.009, allocations: 0 / 1.114 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.009, allocations: 0 / 1.114 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/1.009, allocations: 67.81 kB / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/1.009, allocations: 77.11 kB / 1.114 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/1.009, allocations: 3.953 kB / 1.114 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.357e-05/1.009, allocations: 4 kB / 1.114 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/1.009, allocations: 11.92 kB / 1.114 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/1.009, allocations: 1.875 kB / 1.114 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.475e-05/1.009, allocations: 79.28 kB / 1.114 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.009, allocations: 1.312 kB / 1.114 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002101/1.01, allocations: 23.94 kB / 1.114 GB, free: 5.34 MB / 0.7136 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 () * 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.0005192/1.01, allocations: 0.6479 MB / 1.115 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.739e-05/1.01, allocations: 15.92 kB / 1.115 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.01, allocations: 0 / 1.115 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.115e-05/1.01, allocations: 4 kB / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/1.01, allocations: 15.95 kB / 1.115 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/1.011, allocations: 97.53 kB / 1.115 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/1.011, allocations: 0.6768 MB / 1.116 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.117e-05/1.011, allocations: 5.969 kB / 1.116 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/1.011, allocations: 9.938 kB / 1.116 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.011, allocations: 0 / 1.116 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/1.031, allocations: 1.158 MB / 1.117 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/1.031, allocations: 166.7 kB / 1.117 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.681, allocations: 4 kB / 1.117 GB, free: 2.477 MB / 0.7136 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)