Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.624/1.624, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001072/0.001072, allocations: 184.8 kB / 361.4 MB, free: 6.84 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.633/1.633, allocations: 205.2 MB / 0.62 GB, free: 11.69 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.0008745/0.0008741, allocations: 103.4 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.226e-05/2.229e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7722/0.7722, allocations: 115.3 MB / 0.9645 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2251/0.9973, allocations: 142.6 MB / 1.104 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.9977, allocations: 90.34 kB / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05948/1.057, allocations: 22.78 MB / 1.126 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.887e-06/1.057, allocations: 4 kB / 1.126 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.409e-05/1.057, allocations: 37.59 kB / 1.126 GB, free: 6.387 MB / 0.7292 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.003377/1.061, allocations: 1.614 MB / 1.128 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/1.061, allocations: 8.031 kB / 1.128 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005124/1.061, allocations: 210.6 kB / 1.128 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/1.064, allocations: 1.141 MB / 1.129 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/1.064, allocations: 49.19 kB / 1.129 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/1.064, allocations: 95.98 kB / 1.129 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001981/1.066, allocations: 0.8374 MB / 1.13 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/1.068, allocations: 1.09 MB / 1.131 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/1.068, allocations: 4 kB / 1.131 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.585e-05/1.068, allocations: 11.92 kB / 1.131 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/1.068, allocations: 32 kB / 1.131 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007891/1.076, allocations: 4.268 MB / 1.135 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/1.078, allocations: 0.7474 MB / 1.136 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/1.078, allocations: 335.4 kB / 1.136 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-05/1.078, allocations: 15.98 kB / 1.136 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007609/1.079, allocations: 439.1 kB / 1.137 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=87): time 3.516e-06/1.079, allocations: 0 / 1.137 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87): time 0.001368/1.08, allocations: 0.646 MB / 1.137 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/1.08, allocations: 247.3 kB / 1.138 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/1.082, allocations: 0.7812 MB / 1.138 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/1.082, allocations: 45.69 kB / 1.138 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007197/1.082, allocations: 0.7567 MB / 1.139 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/1.083, allocations: 268.2 kB / 1.139 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/1.083, allocations: 8 kB / 1.139 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.083, allocations: 341.9 kB / 1.14 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005613/1.084, allocations: 302.6 kB / 1.14 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007929/1.084, allocations: 0.6312 MB / 1.141 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007737/1.085, allocations: 360 kB / 1.141 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/1.085, allocations: 7.953 kB / 1.141 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001959/1.087, allocations: 0.9731 MB / 1.142 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001202/1.088, allocations: 2.849 MB / 1.145 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/1.088, allocations: 4 kB / 1.145 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.796e-05/1.088, allocations: 19.95 kB / 1.145 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008735/1.089, allocations: 231.6 kB / 1.145 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/1.089, allocations: 19.92 kB / 1.145 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/1.09, allocations: 184.4 kB / 1.145 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.28e-05/1.091, allocations: 51.98 kB / 1.145 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/1.091, allocations: 4 kB / 1.145 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001445/1.092, allocations: 0.7892 MB / 1.146 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.092, allocations: 8 kB / 1.146 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/1.092, allocations: 20.81 kB / 1.146 GB, free: 1.266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/1.093, allocations: 207.7 kB / 1.146 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/1.093, allocations: 19.92 kB / 1.146 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008768/1.094, allocations: 131.3 kB / 1.146 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.583e-05/1.094, allocations: 47.98 kB / 1.146 GB, free: 0.8672 MB / 0.7448 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.0003238/1.094, allocations: 159.7 kB / 1.147 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00115/1.095, allocations: 0.6338 MB / 1.147 GB, free: 68 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/1.095, allocations: 118.7 kB / 1.147 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/1.097, allocations: 0.6936 MB / 1.148 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/1.097, allocations: 12 kB / 1.148 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.097, allocations: 1.875 kB / 1.148 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/1.097, allocations: 7.984 kB / 1.148 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/1.1, allocations: 2.201 MB / 1.15 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.1, allocations: 4 kB / 1.15 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007012/1.101, allocations: 156 kB / 1.15 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.799e-05/1.101, allocations: 8 kB / 1.15 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/1.101, allocations: 15.98 kB / 1.15 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-06/1.101, allocations: 7.938 kB / 1.15 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.101, allocations: 4 kB / 1.15 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/1.103, allocations: 1.512 MB / 1.152 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/1.103, allocations: 199.4 kB / 1.152 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/1.104, allocations: 23.94 kB / 1.152 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007522/1.104, allocations: 71.92 kB / 1.152 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/1.105, allocations: 91.73 kB / 1.152 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/1.105, allocations: 35.97 kB / 1.152 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008091/1.105, allocations: 0.5602 MB / 1.153 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/1.105, allocations: 0 / 1.153 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001752/1.107, allocations: 465.7 kB / 1.153 GB, free: 9.695 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.00255/1.11, allocations: 2.862 MB / 1.156 GB, free: 6.742 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002419/1.112, allocations: 1.364 MB / 1.157 GB, free: 5.355 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.112, allocations: 8.188 kB / 1.157 GB, free: 5.348 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005204/1.113, allocations: 323.7 kB / 1.158 GB, free: 5.031 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/1.114, allocations: 213.9 kB / 1.158 GB, free: 4.828 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/1.118, allocations: 1.912 MB / 1.16 GB, free: 2.832 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008114/1.119, allocations: 1.227 MB / 1.161 GB, free: 1.574 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001285/1.12, allocations: 248.1 kB / 1.161 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007433/1.121, allocations: 0.5852 MB / 1.162 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of SimCode: time 7.31e-07/1.121, allocations: 0 / 1.162 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05736/1.178, allocations: 24.23 MB / 1.185 GB, free: 8.902 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/1.179, allocations: 187.8 kB / 1.186 GB, free: 8.703 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.894/4.073, allocations: 0 / 1.186 GB, free: 8.703 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)