Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.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.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001096/0.001096, allocations: 188.8 kB / 366.7 MB, free: 1.648 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.674/1.674, allocations: 205.3 MB / 0.626 GB, free: 7.164 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.0009147/0.0009146, allocations: 87.97 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.024e-05/2.027e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8565/0.8565, allocations: 116.3 MB / 0.9733 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2345/1.091, allocations: 143.6 MB / 1.114 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/1.091, allocations: 89.94 kB / 1.114 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06082/1.152, allocations: 22.79 MB / 1.136 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.675e-06/1.152, allocations: 0 / 1.136 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.145e-05/1.152, allocations: 32 kB / 1.136 GB, free: 15.7 MB / 0.7448 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.003125/1.156, allocations: 1.618 MB / 1.138 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/1.156, allocations: 8.031 kB / 1.138 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000327/1.156, allocations: 213.5 kB / 1.138 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/1.158, allocations: 1.145 MB / 1.139 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.314e-05/1.158, allocations: 48 kB / 1.139 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/1.158, allocations: 88 kB / 1.139 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001657/1.16, allocations: 0.8413 MB / 1.14 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/1.162, allocations: 1.094 MB / 1.141 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/1.162, allocations: 4 kB / 1.141 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-05/1.162, allocations: 0 / 1.141 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/1.162, allocations: 36 kB / 1.141 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007415/1.17, allocations: 4.268 MB / 1.145 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/1.171, allocations: 0.7497 MB / 1.146 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/1.172, allocations: 326 kB / 1.146 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.312e-05/1.172, allocations: 15.98 kB / 1.146 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007956/1.173, allocations: 433.3 kB / 1.147 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=87): time 3.617e-06/1.173, allocations: 0 / 1.147 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87): time 0.001187/1.174, allocations: 0.6455 MB / 1.147 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/1.174, allocations: 251.3 kB / 1.147 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/1.175, allocations: 0.785 MB / 1.148 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.451e-05/1.175, allocations: 45.69 kB / 1.148 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006855/1.176, allocations: 0.7567 MB / 1.149 GB, free: 1.965 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/1.176, allocations: 268.2 kB / 1.149 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/1.176, allocations: 0 / 1.149 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.176, allocations: 345.9 kB / 1.15 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005327/1.177, allocations: 302.6 kB / 1.15 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008393/1.178, allocations: 0.6305 MB / 1.15 GB, free: 288 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/1.178, allocations: 354 kB / 1.151 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/1.178, allocations: 3.953 kB / 1.151 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001732/1.18, allocations: 0.9917 MB / 1.152 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001486/1.182, allocations: 2.837 MB / 1.155 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/1.182, allocations: 11.94 kB / 1.155 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.498e-05/1.182, allocations: 15.95 kB / 1.155 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009081/1.183, allocations: 235.6 kB / 1.155 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/1.183, allocations: 19.98 kB / 1.155 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000966/1.184, allocations: 179.8 kB / 1.155 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/1.184, allocations: 55.92 kB / 1.155 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/1.184, allocations: 5.094 kB / 1.155 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001382/1.185, allocations: 0.7897 MB / 1.156 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.185, allocations: 8.125 kB / 1.156 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.185, allocations: 16 kB / 1.156 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007151/1.186, allocations: 203.6 kB / 1.156 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/1.186, allocations: 23.92 kB / 1.156 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008137/1.187, allocations: 137.4 kB / 1.156 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.001e-05/1.187, allocations: 48 kB / 1.156 GB, free: 10.17 MB / 0.7605 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 () * 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.0002704/1.187, allocations: 151.8 kB / 1.156 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001006/1.188, allocations: 0.6262 MB / 1.157 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/1.188, allocations: 126.4 kB / 1.157 GB, free: 9.258 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/1.19, allocations: 0.6926 MB / 1.158 GB, free: 8.555 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.19, allocations: 8 kB / 1.158 GB, free: 8.547 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/1.19, allocations: 7.562 kB / 1.158 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/1.19, allocations: 3.984 kB / 1.158 GB, free: 8.539 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/1.193, allocations: 2.194 MB / 1.16 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.193, allocations: 3.953 kB / 1.16 GB, free: 6.273 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006947/1.194, allocations: 168 kB / 1.16 GB, free: 6.109 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/1.194, allocations: 4 kB / 1.16 GB, free: 6.105 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/1.194, allocations: 15.98 kB / 1.16 GB, free: 6.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/1.194, allocations: 8 kB / 1.16 GB, free: 6.082 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.194, allocations: 0 / 1.16 GB, free: 6.082 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/1.196, allocations: 1.52 MB / 1.162 GB, free: 4.465 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/1.196, allocations: 202.7 kB / 1.162 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/1.196, allocations: 19.95 kB / 1.162 GB, free: 4.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006885/1.197, allocations: 71.86 kB / 1.162 GB, free: 4.16 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/1.197, allocations: 91.86 kB / 1.162 GB, free: 4.07 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-05/1.197, allocations: 31.97 kB / 1.162 GB, free: 4.039 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008225/1.198, allocations: 0.5602 MB / 1.163 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.2e-07/1.198, allocations: 0 / 1.163 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001796/1.2, allocations: 469.7 kB / 1.163 GB, free: 3.012 MB / 0.7605 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) * 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.002533/1.202, allocations: 2.858 MB / 1.166 GB, free: 56 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002543/1.205, allocations: 1.359 MB / 1.167 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.205, allocations: 4 kB / 1.167 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005381/1.205, allocations: 334.9 kB / 1.167 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/1.207, allocations: 225 kB / 1.168 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/1.212, allocations: 1.917 MB / 1.17 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/1.213, allocations: 1.229 MB / 1.171 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001509/1.215, allocations: 241.7 kB / 1.171 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009127/1.216, allocations: 0.5852 MB / 1.172 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of SimCode: time 1.734e-06/1.216, allocations: 0 / 1.172 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06485/1.281, allocations: 24.23 MB / 1.195 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/1.281, allocations: 171.6 kB / 1.195 GB, free: 2 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.149/4.43, allocations: 2.672 kB / 1.195 GB, free: 2 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.fmu > Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)