Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 249.3 MB / 261.8 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 170.2 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000843/0.000843, allocations: 90.52 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.131e-05/4.136e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2155, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7386/0.9542, allocations: 138.1 MB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.9546, allocations: 89.31 kB / 1.027 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06806/1.023, allocations: 26.18 MB / 1.052 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.373e-06/1.023, allocations: 0 / 1.052 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000108/1.023, allocations: 47.06 kB / 1.052 GB, free: 6.602 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.003175/1.026, allocations: 1.678 MB / 1.054 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.026, allocations: 8.031 kB / 1.054 GB, free: 4.977 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000251/1.026, allocations: 214 kB / 1.054 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003596/1.027, allocations: 213.5 kB / 1.054 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/1.029, allocations: 1.236 MB / 1.056 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/1.029, allocations: 119.3 kB / 1.056 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/1.03, allocations: 160.3 kB / 1.056 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/1.032, allocations: 1.367 MB / 1.057 GB, free: 2.508 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/1.032, allocations: 0 / 1.057 GB, free: 2.508 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/1.032, allocations: 59 kB / 1.057 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.588e-05/1.032, allocations: 40 kB / 1.057 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/1.034, allocations: 0.9581 MB / 1.058 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008425/1.043, allocations: 4.761 MB / 1.063 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/1.044, allocations: 0.7716 MB / 1.064 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005478/1.045, allocations: 336.5 kB / 1.064 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.513e-05/1.045, allocations: 16.3 kB / 1.064 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007838/1.046, allocations: 451.4 kB / 1.064 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=85): time 4.398e-06/1.046, allocations: 0 / 1.064 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85): time 0.0015/1.047, allocations: 0.709 MB / 1.065 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/1.047, allocations: 247.3 kB / 1.065 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/1.049, allocations: 1.185 MB / 1.067 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/1.049, allocations: 51.14 kB / 1.067 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006834/1.05, allocations: 0.8063 MB / 1.067 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/1.05, allocations: 271.5 kB / 1.068 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/1.05, allocations: 21.44 kB / 1.068 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.05, allocations: 348 kB / 1.068 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/1.051, allocations: 288.8 kB / 1.068 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007797/1.052, allocations: 0.6281 MB / 1.069 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/1.052, allocations: 347.8 kB / 1.069 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.052, allocations: 4 kB / 1.069 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001805/1.054, allocations: 1.033 MB / 1.07 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001669/1.056, allocations: 2.805 MB / 1.073 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/1.056, allocations: 11.94 kB / 1.073 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.232e-05/1.056, allocations: 12 kB / 1.073 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/1.057, allocations: 235.6 kB / 1.073 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.054e-05/1.057, allocations: 19.94 kB / 1.073 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/1.058, allocations: 202.5 kB / 1.073 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/1.058, allocations: 51.98 kB / 1.073 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/1.058, allocations: 9.562 kB / 1.074 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001621/1.06, allocations: 0.8204 MB / 1.074 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.06, allocations: 8 kB / 1.074 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.06, allocations: 12 kB / 1.074 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007372/1.061, allocations: 207.7 kB / 1.075 GB, free: 3.723 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/1.061, allocations: 23.88 kB / 1.075 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/1.062, allocations: 167.1 kB / 1.075 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.809e-05/1.062, allocations: 40 kB / 1.075 GB, free: 3.496 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,cooVal.uFanSta,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.pulseStart,uSupFan.pulseStart,$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): 142 * Array equations: 0 * Algorithm blocks: 0 * 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.0003514/1.062, allocations: 191.8 kB / 1.075 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/1.063, allocations: 158 kB / 1.075 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/1.064, allocations: 0.7822 MB / 1.076 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.064, allocations: 8 kB / 1.076 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.064, allocations: 3.953 kB / 1.076 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/1.064, allocations: 7.984 kB / 1.076 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/1.068, allocations: 2.406 MB / 1.078 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/1.068, allocations: 4 kB / 1.078 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006853/1.069, allocations: 160 kB / 1.078 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/1.069, allocations: 4 kB / 1.078 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.213e-05/1.069, allocations: 23.98 kB / 1.078 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-05/1.069, allocations: 8 kB / 1.078 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.069, allocations: 3.938 kB / 1.078 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/1.071, allocations: 1.562 MB / 1.08 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/1.071, allocations: 242.9 kB / 1.08 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/1.071, allocations: 28 kB / 1.08 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007486/1.072, allocations: 99.91 kB / 1.08 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/1.072, allocations: 83.81 kB / 1.08 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.196e-05/1.072, allocations: 35.97 kB / 1.08 GB, free: 13.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001355/1.074, allocations: 0.8839 MB / 1.081 GB, free: 12.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.074, allocations: 0 / 1.081 GB, free: 12.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001523/1.075, allocations: 470.6 kB / 1.082 GB, free: 12.15 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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,$whenCondition5,$whenCondition4,cooVal.uFanSta,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.pulseStart) * 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 (87): * Single equations (assignments): 86 * 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.002814/1.078, allocations: 2.771 MB / 1.084 GB, free: 9.297 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003039/1.081, allocations: 1.269 MB / 1.086 GB, free: 8.031 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/1.081, allocations: 4 kB / 1.086 GB, free: 8.027 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007323/1.082, allocations: 333.6 kB / 1.086 GB, free: 7.703 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/1.084, allocations: 304.8 kB / 1.086 GB, free: 7.406 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005905/1.09, allocations: 2.098 MB / 1.088 GB, free: 5.238 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/1.091, allocations: 1.26 MB / 1.09 GB, free: 3.945 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001643/1.093, allocations: 308 kB / 1.09 GB, free: 3.641 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008521/1.094, allocations: 0.6438 MB / 1.09 GB, free: 2.996 MB / 0.698 GB Notification: Performance of SimCode: time 1.543e-06/1.094, allocations: 0 / 1.09 GB, free: 2.996 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06529/1.159, allocations: 29.36 MB / 1.119 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/1.159, allocations: 207.7 kB / 1.119 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.407/4.567, allocations: 4 kB / 1.119 GB, free: 5.738 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)