Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.378/2.378, allocations: 248.5 MB / 261.1 MB, free: 6.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001471/0.001471, allocations: 176.8 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001086/0.001085, allocations: 86.48 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.923e-05, allocations: 8 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2157, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9006/1.116, allocations: 137.9 MB / 1.025 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/1.117, allocations: 87.44 kB / 1.025 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1073/1.224, allocations: 26.18 MB / 1.051 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.904e-06/1.224, allocations: 0 / 1.051 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001662/1.224, allocations: 40 kB / 1.051 GB, free: 7.332 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.005519/1.23, allocations: 1.676 MB / 1.053 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/1.23, allocations: 15.97 kB / 1.053 GB, free: 5.699 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000624/1.231, allocations: 219.3 kB / 1.053 GB, free: 5.566 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006993/1.231, allocations: 213.4 kB / 1.053 GB, free: 5.355 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004307/1.236, allocations: 1.237 MB / 1.054 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/1.236, allocations: 117.2 kB / 1.054 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005661/1.236, allocations: 156.4 kB / 1.055 GB, free: 4.16 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004104/1.241, allocations: 1.366 MB / 1.056 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.442e-05/1.241, allocations: 3.938 kB / 1.056 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/1.241, allocations: 65.69 kB / 1.056 GB, free: 3.211 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-05/1.241, allocations: 36 kB / 1.056 GB, free: 3.176 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00295/1.244, allocations: 0.9493 MB / 1.057 GB, free: 2.594 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/1.257, allocations: 4.768 MB / 1.062 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/1.26, allocations: 0.7695 MB / 1.062 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008862/1.261, allocations: 342.7 kB / 1.063 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.604e-05/1.261, allocations: 16.38 kB / 1.063 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/1.262, allocations: 456.7 kB / 1.063 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=85): time 3.246e-06/1.262, allocations: 0 / 1.063 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85): time 0.002128/1.264, allocations: 0.6975 MB / 1.064 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002101/1.264, allocations: 254.4 kB / 1.064 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004097/1.269, allocations: 1.177 MB / 1.065 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000446/1.269, allocations: 61.5 kB / 1.065 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001859/1.271, allocations: 0.8042 MB / 1.066 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007965/1.272, allocations: 268.7 kB / 1.066 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/1.272, allocations: 20.5 kB / 1.066 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000278/1.272, allocations: 347.9 kB / 1.067 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/1.274, allocations: 287.8 kB / 1.067 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/1.276, allocations: 0.6317 MB / 1.068 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/1.278, allocations: 343.1 kB / 1.068 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.343e-05/1.278, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003784/1.282, allocations: 1.025 MB / 1.069 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001271/1.283, allocations: 2.805 MB / 1.072 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/1.283, allocations: 11.94 kB / 1.072 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.416e-05/1.283, allocations: 12 kB / 1.072 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/1.285, allocations: 238.3 kB / 1.072 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.364e-05/1.285, allocations: 15.98 kB / 1.072 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/1.287, allocations: 214.4 kB / 1.072 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/1.287, allocations: 38.56 kB / 1.072 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.287, allocations: 7.938 kB / 1.072 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002236/1.29, allocations: 0.8373 MB / 1.073 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/1.29, allocations: 8 kB / 1.073 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/1.29, allocations: 12 kB / 1.073 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/1.291, allocations: 210.8 kB / 1.073 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.152e-05/1.291, allocations: 19.94 kB / 1.073 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/1.293, allocations: 177.2 kB / 1.073 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/1.293, allocations: 40 kB / 1.073 GB, free: 4.859 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,cooVal.uFanSta,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.pulseStart,uSupFan.pulseStart,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 142 * 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 0.0004217/1.294, allocations: 183.8 kB / 1.074 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003613/1.294, allocations: 158 kB / 1.074 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/1.296, allocations: 0.7756 MB / 1.074 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/1.296, allocations: 11.95 kB / 1.074 GB, free: 3.723 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.296, allocations: 4 kB / 1.074 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/1.296, allocations: 3.984 kB / 1.074 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005559/1.302, allocations: 2.405 MB / 1.077 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/1.302, allocations: 0 / 1.077 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/1.303, allocations: 159.9 kB / 1.077 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.027e-05/1.303, allocations: 8 kB / 1.077 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/1.304, allocations: 23.98 kB / 1.077 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-05/1.304, allocations: 7.984 kB / 1.077 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.304, allocations: 4 kB / 1.077 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/1.307, allocations: 1.558 MB / 1.079 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005588/1.307, allocations: 246.9 kB / 1.079 GB, free: 15.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/1.308, allocations: 28 kB / 1.079 GB, free: 15.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/1.309, allocations: 95.88 kB / 1.079 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002992/1.309, allocations: 91.78 kB / 1.079 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.584e-05/1.31, allocations: 31.98 kB / 1.079 GB, free: 14.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002028/1.312, allocations: 0.88 MB / 1.08 GB, free: 13.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.976e-06/1.312, allocations: 0 / 1.08 GB, free: 13.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002284/1.314, allocations: 482.5 kB / 1.08 GB, free: 13.52 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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,$whenCondition5,$whenCondition4,cooVal.uFanSta,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.pulseStart) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 86 * 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.004032/1.318, allocations: 2.751 MB / 1.083 GB, free: 10.69 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003646/1.322, allocations: 1.267 MB / 1.084 GB, free: 9.422 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.322, allocations: 4.938 kB / 1.084 GB, free: 9.418 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/1.323, allocations: 336.5 kB / 1.085 GB, free: 9.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/1.325, allocations: 306.6 kB / 1.085 GB, free: 8.789 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006839/1.332, allocations: 2.106 MB / 1.087 GB, free: 6.613 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/1.333, allocations: 1.268 MB / 1.088 GB, free: 5.312 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002545/1.336, allocations: 300 kB / 1.088 GB, free: 5.016 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/1.337, allocations: 0.6438 MB / 1.089 GB, free: 4.371 MB / 0.698 GB Notification: Performance of SimCode: time 1.944e-06/1.338, allocations: 0 / 1.089 GB, free: 4.371 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0975/1.435, allocations: 29.36 MB / 1.118 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/1.435, allocations: 186.1 kB / 1.118 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.102/5.537, allocations: 0 / 1.118 GB, free: 7.113 MB / 0.7292 GB