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.797/1.797, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001117/0.001117, allocations: 179.6 kB / 371.6 MB, free: 3.383 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.885/1.885, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.001189/0.001189, allocations: 88.5 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.582e-05, allocations: 0 / 0.8663 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2841, allocations: 116.3 MB / 0.9799 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8914/1.176, allocations: 144.2 MB / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/1.176, allocations: 85.08 kB / 1.121 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05696/1.233, allocations: 22.98 MB / 1.143 GB, free: 29.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.713e-06/1.233, allocations: 0 / 1.143 GB, free: 29.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.744e-05/1.233, allocations: 32 kB / 1.143 GB, free: 29.09 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.002907/1.236, allocations: 1.612 MB / 1.145 GB, free: 27.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/1.236, allocations: 12.03 kB / 1.145 GB, free: 27.72 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000275/1.236, allocations: 204.9 kB / 1.145 GB, free: 27.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/1.237, allocations: 204.1 kB / 1.145 GB, free: 27.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/1.239, allocations: 1.139 MB / 1.146 GB, free: 26.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.76e-05/1.239, allocations: 120.8 kB / 1.147 GB, free: 26.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/1.239, allocations: 145.8 kB / 1.147 GB, free: 26.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/1.241, allocations: 1.289 MB / 1.148 GB, free: 25.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/1.242, allocations: 0 / 1.148 GB, free: 25.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/1.242, allocations: 64.86 kB / 1.148 GB, free: 25.74 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/1.242, allocations: 36 kB / 1.148 GB, free: 25.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/1.243, allocations: 0.9145 MB / 1.149 GB, free: 25.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006653/1.25, allocations: 4.6 MB / 1.153 GB, free: 22.63 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/1.251, allocations: 0.7931 MB / 1.154 GB, free: 22.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004306/1.251, allocations: 347.8 kB / 1.154 GB, free: 21.89 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/1.251, allocations: 12.61 kB / 1.155 GB, free: 21.89 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006819/1.252, allocations: 470.6 kB / 1.155 GB, free: 21.6 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=87): time 2.805e-06/1.252, allocations: 0 / 1.155 GB, free: 21.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87): time 0.001134/1.253, allocations: 0.7056 MB / 1.156 GB, free: 21.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.204e-05/1.253, allocations: 252.7 kB / 1.156 GB, free: 20.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/1.255, allocations: 1.077 MB / 1.157 GB, free: 20.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/1.255, allocations: 63.52 kB / 1.157 GB, free: 20.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006411/1.256, allocations: 0.7545 MB / 1.158 GB, free: 19.67 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/1.256, allocations: 273.6 kB / 1.158 GB, free: 19.47 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/1.256, allocations: 22.94 kB / 1.158 GB, free: 19.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.908e-05/1.256, allocations: 352.4 kB / 1.158 GB, free: 19.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000541/1.257, allocations: 324.9 kB / 1.159 GB, free: 18.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006825/1.257, allocations: 0.6678 MB / 1.159 GB, free: 18.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005729/1.258, allocations: 400.8 kB / 1.16 GB, free: 18.1 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.258, allocations: 0 / 1.16 GB, free: 18.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001634/1.26, allocations: 1.121 MB / 1.161 GB, free: 17.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006236/1.26, allocations: 2.896 MB / 1.164 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.26, allocations: 8 kB / 1.164 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/1.26, allocations: 16 kB / 1.164 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008679/1.261, allocations: 235 kB / 1.164 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/1.261, allocations: 17.62 kB / 1.164 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/1.262, allocations: 224.3 kB / 1.164 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.935e-05/1.262, allocations: 49.39 kB / 1.164 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/1.262, allocations: 4 kB / 1.164 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001349/1.264, allocations: 0.9523 MB / 1.165 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.264, allocations: 8 kB / 1.165 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/1.264, allocations: 15.94 kB / 1.165 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000656/1.264, allocations: 203 kB / 1.165 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/1.264, allocations: 22.89 kB / 1.165 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008907/1.265, allocations: 192.4 kB / 1.165 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/1.265, allocations: 49.14 kB / 1.166 GB, free: 12.76 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.0002515/1.266, allocations: 188.7 kB / 1.166 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/1.266, allocations: 146.1 kB / 1.166 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/1.268, allocations: 0.787 MB / 1.167 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/1.268, allocations: 8 kB / 1.167 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/1.268, allocations: 5.359 kB / 1.167 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/1.268, allocations: 3.141 kB / 1.167 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/1.271, allocations: 2.426 MB / 1.169 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.271, allocations: 4 kB / 1.169 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006548/1.272, allocations: 157.1 kB / 1.169 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/1.272, allocations: 8 kB / 1.169 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-05/1.272, allocations: 34.89 kB / 1.169 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/1.272, allocations: 4.938 kB / 1.169 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.272, allocations: 4 kB / 1.169 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/1.273, allocations: 1.624 MB / 1.171 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/1.274, allocations: 236.2 kB / 1.171 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/1.274, allocations: 31.19 kB / 1.171 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006893/1.275, allocations: 85.58 kB / 1.171 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/1.275, allocations: 95.77 kB / 1.171 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/1.275, allocations: 32 kB / 1.171 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009767/1.276, allocations: 0.8035 MB / 1.172 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.276, allocations: 0 / 1.172 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001493/1.277, allocations: 480.2 kB / 1.173 GB, free: 7.832 MB / 0.7448 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.00197/1.279, allocations: 2.97 MB / 1.175 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00228/1.282, allocations: 1.474 MB / 1.177 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.282, allocations: 4.375 kB / 1.177 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004606/1.282, allocations: 357.1 kB / 1.177 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/1.283, allocations: 249.1 kB / 1.177 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/1.287, allocations: 2.031 MB / 1.179 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/1.288, allocations: 1.232 MB / 1.181 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00155/1.289, allocations: 277.2 kB / 1.181 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006833/1.29, allocations: 0.6115 MB / 1.181 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of SimCode: time 8.41e-07/1.29, allocations: 0 / 1.181 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05629/1.346, allocations: 28.08 MB / 1.209 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/1.347, allocations: 178.9 kB / 1.209 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.283/4.63, allocations: 3.094 kB / 1.209 GB, free: 5.25 MB / 0.7761 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)