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.827/1.827, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001271/0.00127, allocations: 177.1 kB / 377.1 MB, free: 1.523 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.868/1.868, allocations: 205.4 MB / 0.6366 GB, free: 8.539 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.0008691/0.0008689, allocations: 94.81 kB / 0.7509 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2568, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7651/1.022, allocations: 144.3 MB / 1.129 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/1.022, allocations: 89.17 kB / 1.129 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05892/1.081, allocations: 23.03 MB / 1.152 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.815e-06/1.081, allocations: 0 / 1.152 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.615e-05/1.081, allocations: 35.98 kB / 1.152 GB, free: 15.23 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.003218/1.085, allocations: 1.87 MB / 1.154 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.085, allocations: 8.031 kB / 1.154 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002352/1.085, allocations: 203.7 kB / 1.154 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/1.085, allocations: 203.6 kB / 1.154 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/1.087, allocations: 1.15 MB / 1.155 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/1.087, allocations: 114.2 kB / 1.155 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/1.087, allocations: 156 kB / 1.156 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/1.09, allocations: 1.394 MB / 1.157 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/1.09, allocations: 4 kB / 1.157 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/1.09, allocations: 63.98 kB / 1.157 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/1.09, allocations: 32 kB / 1.157 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/1.092, allocations: 1.112 MB / 1.158 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006853/1.099, allocations: 4.602 MB / 1.163 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/1.1, allocations: 0.9672 MB / 1.164 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.692e-05/1.1, allocations: 20.28 kB / 1.164 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009453/1.101, allocations: 0.5477 MB / 1.164 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=87): time 3.016e-06/1.101, allocations: 0 / 1.164 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87): time 0.002332/1.104, allocations: 1.2 MB / 1.165 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.104, allocations: 248.1 kB / 1.166 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/1.105, allocations: 1.088 MB / 1.167 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/1.106, allocations: 61.69 kB / 1.167 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00069/1.106, allocations: 0.7549 MB / 1.167 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/1.106, allocations: 280.1 kB / 1.168 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/1.107, allocations: 24 kB / 1.168 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.107, allocations: 357.8 kB / 1.168 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009088/1.108, allocations: 414.4 kB / 1.168 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/1.109, allocations: 0.7587 MB / 1.169 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00099/1.11, allocations: 495.1 kB / 1.17 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/1.11, allocations: 4 kB / 1.17 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002697/1.113, allocations: 1.314 MB / 1.171 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001241/1.114, allocations: 2.894 MB / 1.174 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/1.114, allocations: 8 kB / 1.174 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/1.114, allocations: 12 kB / 1.174 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009016/1.115, allocations: 231.6 kB / 1.174 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.42e-05/1.115, allocations: 19.94 kB / 1.174 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/1.116, allocations: 235.6 kB / 1.174 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-05/1.116, allocations: 44 kB / 1.174 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/1.116, allocations: 4 kB / 1.174 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001852/1.118, allocations: 1.036 MB / 1.175 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.118, allocations: 11.12 kB / 1.175 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/1.118, allocations: 12 kB / 1.175 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007426/1.119, allocations: 208.1 kB / 1.175 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/1.119, allocations: 21.19 kB / 1.176 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009957/1.12, allocations: 182.8 kB / 1.176 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.113e-05/1.12, allocations: 52 kB / 1.176 GB, free: 6.059 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 () * 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.0009567/1.121, allocations: 424.8 kB / 1.176 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/1.121, allocations: 147.2 kB / 1.176 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/1.123, allocations: 0.969 MB / 1.177 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/1.123, allocations: 8 kB / 1.177 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.123, allocations: 4 kB / 1.177 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/1.123, allocations: 3.984 kB / 1.177 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004035/1.127, allocations: 2.609 MB / 1.18 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/1.127, allocations: 4 kB / 1.18 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006542/1.128, allocations: 152 kB / 1.18 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/1.128, allocations: 12 kB / 1.18 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.106e-05/1.128, allocations: 23.98 kB / 1.18 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/1.128, allocations: 4 kB / 1.18 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.128, allocations: 7.938 kB / 1.18 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/1.131, allocations: 1.893 MB / 1.182 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/1.131, allocations: 231.1 kB / 1.182 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/1.131, allocations: 31.95 kB / 1.182 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007202/1.132, allocations: 83.92 kB / 1.182 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/1.132, allocations: 95.75 kB / 1.182 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/1.132, allocations: 39.92 kB / 1.182 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001202/1.134, allocations: 0.8141 MB / 1.183 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.863e-06/1.134, allocations: 0 / 1.183 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001582/1.135, allocations: 494.5 kB / 1.184 GB, free: 13.79 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) * 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.003569/1.139, allocations: 3.221 MB / 1.187 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003309/1.142, allocations: 1.647 MB / 1.188 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/1.142, allocations: 0 / 1.188 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0009101/1.143, allocations: 448.2 kB / 1.189 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/1.144, allocations: 260.8 kB / 1.189 GB, free: 8.121 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008336/1.153, allocations: 8.518 MB / 1.197 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008665/1.154, allocations: 1.226 MB / 1.199 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001125/1.155, allocations: 213.2 kB / 1.199 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008437/1.156, allocations: 0.632 MB / 1.199 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of SimCode: time 1.102e-06/1.156, allocations: 0 / 1.199 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05288/1.209, allocations: 25.59 MB / 1.224 GB, free: 3.988 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/1.209, allocations: 209 kB / 1.225 GB, free: 3.746 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.54/4.749, allocations: 1.875 kB / 1.225 GB, free: 3.746 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)