Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.555/2.555, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001621/0.001621, allocations: 193 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.235/2.235, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.00127, allocations: 94.84 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004912, allocations: 13.05 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2392, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9919/1.231, allocations: 143.2 MB / 1.118 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/1.232, allocations: 87.42 kB / 1.118 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08533/1.317, allocations: 23.02 MB / 1.141 GB, free: 25.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.455e-06/1.317, allocations: 0 / 1.141 GB, free: 25.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001188/1.317, allocations: 45.98 kB / 1.141 GB, free: 25.21 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.005289/1.322, allocations: 1.86 MB / 1.143 GB, free: 24.01 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.322, allocations: 11.59 kB / 1.143 GB, free: 24 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003734/1.323, allocations: 202.4 kB / 1.143 GB, free: 23.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004104/1.323, allocations: 204.7 kB / 1.143 GB, free: 23.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/1.326, allocations: 1.153 MB / 1.144 GB, free: 23.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/1.327, allocations: 114.7 kB / 1.144 GB, free: 23.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000296/1.327, allocations: 149.3 kB / 1.144 GB, free: 23.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003662/1.331, allocations: 1.399 MB / 1.146 GB, free: 22.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.934e-05/1.331, allocations: 3.875 kB / 1.146 GB, free: 22.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/1.331, allocations: 60.86 kB / 1.146 GB, free: 22.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/1.331, allocations: 38.69 kB / 1.146 GB, free: 22.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003394/1.334, allocations: 1.114 MB / 1.147 GB, free: 22.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/1.345, allocations: 4.599 MB / 1.151 GB, free: 20.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003951/1.349, allocations: 0.9694 MB / 1.152 GB, free: 20.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/1.349, allocations: 15.12 kB / 1.152 GB, free: 20.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001725/1.351, allocations: 0.5512 MB / 1.153 GB, free: 20 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 4.379e-06/1.351, allocations: 0 / 1.153 GB, free: 20 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.004219/1.355, allocations: 1.198 MB / 1.154 GB, free: 19.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/1.355, allocations: 248.6 kB / 1.154 GB, free: 19.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/1.357, allocations: 1.085 MB / 1.155 GB, free: 19.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002715/1.357, allocations: 64 kB / 1.155 GB, free: 19.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007408/1.358, allocations: 0.753 MB / 1.156 GB, free: 18.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002973/1.359, allocations: 274.6 kB / 1.156 GB, free: 18.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/1.359, allocations: 29.25 kB / 1.156 GB, free: 18.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001982/1.359, allocations: 351.2 kB / 1.157 GB, free: 18.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/1.36, allocations: 418.7 kB / 1.157 GB, free: 18.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002802/1.363, allocations: 0.7566 MB / 1.158 GB, free: 17.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00236/1.366, allocations: 488.4 kB / 1.158 GB, free: 17.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/1.366, allocations: 3.875 kB / 1.158 GB, free: 17.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006781/1.373, allocations: 1.314 MB / 1.16 GB, free: 17.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001598/1.374, allocations: 2.897 MB / 1.162 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-05/1.374, allocations: 11.98 kB / 1.162 GB, free: 13.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.791e-05/1.374, allocations: 16 kB / 1.162 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/1.376, allocations: 234.2 kB / 1.163 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.462e-05/1.376, allocations: 15.94 kB / 1.163 GB, free: 13.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/1.378, allocations: 227.8 kB / 1.163 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/1.378, allocations: 46.31 kB / 1.163 GB, free: 13.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/1.378, allocations: 9.875 kB / 1.163 GB, free: 13.47 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002795/1.381, allocations: 1.023 MB / 1.164 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/1.381, allocations: 8 kB / 1.164 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/1.381, allocations: 19.92 kB / 1.164 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/1.383, allocations: 206.7 kB / 1.164 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/1.383, allocations: 12 kB / 1.164 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/1.384, allocations: 191.7 kB / 1.164 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/1.384, allocations: 47.44 kB / 1.164 GB, free: 12.33 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,$whenCondition6,cooVal.limPI.trigger,$PRE.cooVal.TOutThr.y,cooVal.TOutThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.uFanFeeThr.y,$PRE.cooVal.cha.u,cooVal.cha.u,$PRE.uSupFan.y,uSupFan.y,$whenCondition3,cooVal3.limPI.trigger,$PRE.cooVal3.TOutThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.uFanFeeThr.y,$PRE.cooVal3.cha.u,cooVal3.cha.u,$whenCondition2,cooVal1.limPI.trigger,$PRE.cooVal1.TOutThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.uFanFeeThr.y,$PRE.cooVal1.cha.u,cooVal1.cha.u,$whenCondition1,cooVal2.limPI.trigger,$PRE.cooVal2.TOutThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.uFanFeeThr.y,$PRE.cooVal2.cha.u,cooVal2.cha.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 1 * 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 0.001117/1.385, allocations: 429.7 kB / 1.165 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/1.386, allocations: 146.1 kB / 1.165 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/1.389, allocations: 0.9659 MB / 1.166 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/1.389, allocations: 15.98 kB / 1.166 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.389, allocations: 4 kB / 1.166 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/1.389, allocations: 3.984 kB / 1.166 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006329/1.395, allocations: 2.598 MB / 1.169 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/1.395, allocations: 4 kB / 1.169 GB, free: 9.227 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/1.397, allocations: 162.6 kB / 1.169 GB, free: 9.074 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/1.397, allocations: 8 kB / 1.169 GB, free: 9.066 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.879e-05/1.397, allocations: 26.86 kB / 1.169 GB, free: 9.051 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-05/1.397, allocations: 11.94 kB / 1.169 GB, free: 9.039 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.397, allocations: 4 kB / 1.169 GB, free: 9.035 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006541/1.403, allocations: 1.887 MB / 1.171 GB, free: 7.426 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006941/1.404, allocations: 236.1 kB / 1.171 GB, free: 7.191 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003914/1.405, allocations: 29.62 kB / 1.171 GB, free: 7.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/1.407, allocations: 89.55 kB / 1.171 GB, free: 7.105 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004147/1.407, allocations: 96.75 kB / 1.171 GB, free: 7.023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/1.407, allocations: 34.61 kB / 1.171 GB, free: 6.996 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003034/1.41, allocations: 0.8226 MB / 1.172 GB, free: 6.398 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.252e-06/1.41, allocations: 0 / 1.172 GB, free: 6.398 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004755/1.415, allocations: 488.7 kB / 1.172 GB, free: 5.969 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (cooVal2.limPI.I.y,cooVal1.limPI.I.y,cooVal3.limPI.I.y,cooVal.limPI.I.y) * Number of discrete variables: 23 (cooVal2.limPI.trigger,$whenCondition1,cooVal2.TOutThr.y,cooVal2.uFanFeeThr.y,cooVal2.cha.u,cooVal1.limPI.trigger,$whenCondition2,cooVal1.TOutThr.y,cooVal1.uFanFeeThr.y,cooVal1.cha.u,cooVal3.limPI.trigger,$whenCondition3,cooVal3.TOutThr.y,cooVal3.uFanFeeThr.y,cooVal3.cha.u,cooVal.limPI.trigger,$whenCondition6,$whenCondition4,$whenCondition5,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.y) * Number of discrete states: 12 (cooVal.uFanFeeThr.y,cooVal.TOutThr.y,cooVal.cha.u,cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,cooVal3.cha.u,cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,cooVal1.cha.u,cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,cooVal2.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.007063/1.422, allocations: 3.221 MB / 1.175 GB, free: 3.066 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005368/1.428, allocations: 1.654 MB / 1.177 GB, free: 1.801 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.428, allocations: 0 / 1.177 GB, free: 1.801 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001673/1.429, allocations: 439.7 kB / 1.177 GB, free: 1.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/1.432, allocations: 249.8 kB / 1.178 GB, free: 1.305 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/1.443, allocations: 8.53 MB / 1.186 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/1.444, allocations: 1.225 MB / 1.187 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001813/1.446, allocations: 215.2 kB / 1.187 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.447, allocations: 0.6245 MB / 1.188 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of SimCode: time 1.152e-06/1.447, allocations: 0 / 1.188 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09528/1.542, allocations: 25.59 MB / 1.213 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/1.543, allocations: 215.4 kB / 1.213 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.546/5.089, allocations: 0 / 1.213 GB, free: 13.77 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.fmu > Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)