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.331/2.331, allocations: 284.7 MB / 297.2 MB, free: 6.387 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.001454/0.001453, allocations: 172.9 kB / 365.6 MB, free: 2.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 2.033/2.033, allocations: 205.1 MB / 0.624 GB, free: 8.277 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.001073/0.001072, allocations: 99.69 kB / 0.7371 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.98e-05/4.001e-05, allocations: 7.984 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7764/0.7765, allocations: 115.2 MB / 0.97 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/1.013, allocations: 143.1 MB / 1.11 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/1.013, allocations: 84.92 kB / 1.11 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.09945/1.113, allocations: 22.98 MB / 1.132 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.264e-06/1.113, allocations: 0 / 1.132 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001281/1.113, allocations: 36 kB / 1.132 GB, free: 2.484 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.005217/1.118, allocations: 1.618 MB / 1.134 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/1.118, allocations: 8.031 kB / 1.134 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005789/1.119, allocations: 204 kB / 1.134 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006231/1.12, allocations: 203 kB / 1.134 GB, free: 404 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004002/1.124, allocations: 1.145 MB / 1.135 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/1.124, allocations: 114.8 kB / 1.135 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/1.124, allocations: 156 kB / 1.136 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00368/1.128, allocations: 1.287 MB / 1.137 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.665e-05/1.128, allocations: 6.047 kB / 1.137 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/1.128, allocations: 60 kB / 1.137 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.456e-05/1.128, allocations: 36 kB / 1.137 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002958/1.131, allocations: 0.9144 MB / 1.138 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/1.144, allocations: 4.586 MB / 1.142 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/1.147, allocations: 0.7906 MB / 1.143 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/1.148, allocations: 350 kB / 1.143 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/1.148, allocations: 19.92 kB / 1.143 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/1.149, allocations: 466.8 kB / 1.144 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=87): time 4.168e-06/1.149, allocations: 3.938 kB / 1.144 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87): time 0.00227/1.152, allocations: 0.7065 MB / 1.145 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001674/1.152, allocations: 251.2 kB / 1.145 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/1.154, allocations: 1.079 MB / 1.146 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003337/1.155, allocations: 61.69 kB / 1.146 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/1.156, allocations: 0.751 MB / 1.147 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004164/1.156, allocations: 276.2 kB / 1.147 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/1.156, allocations: 20 kB / 1.147 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.156, allocations: 357.9 kB / 1.147 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/1.157, allocations: 314.6 kB / 1.148 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/1.159, allocations: 0.6716 MB / 1.148 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/1.16, allocations: 401.7 kB / 1.149 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/1.16, allocations: 4 kB / 1.149 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003234/1.163, allocations: 1.117 MB / 1.15 GB, free: 0 / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.00146/1.165, allocations: 2.898 MB / 1.153 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/1.165, allocations: 8 kB / 1.153 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.703e-05/1.165, allocations: 16 kB / 1.153 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/1.167, allocations: 231.6 kB / 1.153 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.223e-05/1.167, allocations: 18.33 kB / 1.153 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/1.169, allocations: 238.5 kB / 1.153 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/1.169, allocations: 47.98 kB / 1.153 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/1.169, allocations: 4 kB / 1.153 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002671/1.172, allocations: 0.9477 MB / 1.154 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/1.172, allocations: 8 kB / 1.154 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/1.172, allocations: 12 kB / 1.154 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/1.174, allocations: 207.6 kB / 1.154 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.174e-05/1.174, allocations: 19.92 kB / 1.154 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/1.175, allocations: 191 kB / 1.154 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/1.175, allocations: 47.95 kB / 1.154 GB, free: 10.84 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.000458/1.176, allocations: 187.8 kB / 1.155 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000446/1.176, allocations: 150.1 kB / 1.155 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/1.179, allocations: 0.7831 MB / 1.156 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/1.179, allocations: 12 kB / 1.156 GB, free: 9.699 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.179, allocations: 0 / 1.156 GB, free: 9.699 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/1.179, allocations: 7.969 kB / 1.156 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005739/1.185, allocations: 2.421 MB / 1.158 GB, free: 7.184 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.185, allocations: 7.938 kB / 1.158 GB, free: 7.176 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/1.186, allocations: 164 kB / 1.158 GB, free: 7.016 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.669e-05/1.186, allocations: 4 kB / 1.158 GB, free: 7.012 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.935e-05/1.186, allocations: 23.98 kB / 1.158 GB, free: 6.988 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.408e-05/1.186, allocations: 8 kB / 1.158 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/1.186, allocations: 7.938 kB / 1.158 GB, free: 6.973 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/1.19, allocations: 1.624 MB / 1.16 GB, free: 5.219 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/1.19, allocations: 235 kB / 1.16 GB, free: 4.969 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/1.19, allocations: 32.8 kB / 1.16 GB, free: 4.938 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/1.192, allocations: 87.92 kB / 1.16 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003205/1.192, allocations: 83.86 kB / 1.16 GB, free: 4.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.192, allocations: 35.98 kB / 1.16 GB, free: 4.734 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001794/1.194, allocations: 0.8026 MB / 1.161 GB, free: 3.934 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.01e-07/1.194, allocations: 0 / 1.161 GB, free: 3.934 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00234/1.197, allocations: 490.6 kB / 1.161 GB, free: 3.453 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.004208/1.201, allocations: 2.959 MB / 1.164 GB, free: 408 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004022/1.205, allocations: 1.466 MB / 1.166 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.205, allocations: 4 kB / 1.166 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/1.206, allocations: 349.1 kB / 1.166 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/1.208, allocations: 257.6 kB / 1.166 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006791/1.215, allocations: 2.04 MB / 1.168 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/1.216, allocations: 1.233 MB / 1.17 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002335/1.219, allocations: 270.5 kB / 1.17 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/1.22, allocations: 0.6086 MB / 1.17 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of SimCode: time 1.092e-06/1.22, allocations: 0 / 1.17 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0885/1.308, allocations: 28.08 MB / 1.198 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003301/1.309, allocations: 181.1 kB / 1.198 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.597/4.906, allocations: 0 / 1.198 GB, free: 14.23 MB / 0.8073 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)