Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.356/2.356, allocations: 248.7 MB / 256.2 MB, free: 7 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.001442/0.001441, allocations: 187.3 kB / 315.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.204/2.204, allocations: 205.3 MB / 0.5662 GB, free: 0.543 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 90.52 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.296e-05/2.325e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2203, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9035/1.124, allocations: 138.2 MB / 1.019 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/1.124, allocations: 85.56 kB / 1.019 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1064/1.231, allocations: 25.98 MB / 1.044 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.495e-06/1.231, allocations: 0 / 1.044 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001834/1.231, allocations: 43.94 kB / 1.045 GB, free: 10.97 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.005723/1.237, allocations: 1.671 MB / 1.046 GB, free: 9.363 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/1.237, allocations: 12.03 kB / 1.046 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009884/1.238, allocations: 213.5 kB / 1.046 GB, free: 9.141 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004319/1.242, allocations: 1.236 MB / 1.048 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-05/1.242, allocations: 52 kB / 1.048 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003733/1.243, allocations: 88 kB / 1.048 GB, free: 7.98 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003026/1.246, allocations: 0.875 MB / 1.049 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003552/1.249, allocations: 1.159 MB / 1.05 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.168e-05/1.25, allocations: 0 / 1.05 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/1.25, allocations: 4 kB / 1.05 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-05/1.25, allocations: 36 kB / 1.05 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/1.262, allocations: 4.42 MB / 1.054 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/1.265, allocations: 0.7316 MB / 1.055 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008254/1.266, allocations: 322.9 kB / 1.055 GB, free: 2.551 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.72e-05/1.266, allocations: 16.52 kB / 1.055 GB, free: 2.535 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/1.267, allocations: 426.7 kB / 1.056 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=85): time 3.797e-06/1.267, allocations: 0 / 1.056 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85): time 0.001912/1.269, allocations: 0.6244 MB / 1.056 GB, free: 1.75 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/1.269, allocations: 259.2 kB / 1.056 GB, free: 1.445 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/1.271, allocations: 0.8246 MB / 1.057 GB, free: 0.832 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000318/1.271, allocations: 40.08 kB / 1.057 GB, free: 0.793 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009995/1.272, allocations: 0.8268 MB / 1.058 GB, free: 248 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004619/1.273, allocations: 256.7 kB / 1.058 GB, free: 24 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/1.273, allocations: 0 / 1.058 GB, free: 24 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002147/1.273, allocations: 351.1 kB / 1.059 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008109/1.274, allocations: 269.5 kB / 1.059 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/1.275, allocations: 0.6034 MB / 1.059 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009133/1.276, allocations: 317.2 kB / 1.06 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/1.276, allocations: 0 / 1.06 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002759/1.279, allocations: 0.9046 MB / 1.061 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001425/1.28, allocations: 2.748 MB / 1.063 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.98e-05/1.28, allocations: 11.94 kB / 1.063 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.446e-05/1.28, allocations: 12 kB / 1.063 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/1.282, allocations: 237.7 kB / 1.064 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.573e-05/1.282, allocations: 15.94 kB / 1.064 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/1.284, allocations: 147 kB / 1.064 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/1.285, allocations: 45.42 kB / 1.064 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.285, allocations: 4 kB / 1.064 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002175/1.287, allocations: 0.7043 MB / 1.064 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/1.287, allocations: 8 kB / 1.064 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/1.287, allocations: 15.98 kB / 1.064 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/1.288, allocations: 210 kB / 1.065 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.626e-05/1.289, allocations: 15.94 kB / 1.065 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/1.29, allocations: 111.2 kB / 1.065 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/1.29, allocations: 49.75 kB / 1.065 GB, free: 9.863 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.0004227/1.291, allocations: 150.5 kB / 1.065 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001777/1.292, allocations: 0.6223 MB / 1.066 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003537/1.293, allocations: 126.4 kB / 1.066 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/1.295, allocations: 0.6692 MB / 1.066 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/1.295, allocations: 19.95 kB / 1.066 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.295, allocations: 3.984 kB / 1.066 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/1.295, allocations: 3.984 kB / 1.066 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004911/1.3, allocations: 2.171 MB / 1.069 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/1.3, allocations: 0 / 1.069 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.301, allocations: 167.5 kB / 1.069 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.999e-05/1.301, allocations: 8 kB / 1.069 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/1.302, allocations: 7.984 kB / 1.069 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.267e-05/1.302, allocations: 8 kB / 1.069 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.302, allocations: 0 / 1.069 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/1.304, allocations: 1.466 MB / 1.07 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004692/1.305, allocations: 201.2 kB / 1.07 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/1.305, allocations: 14.38 kB / 1.07 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/1.307, allocations: 75.92 kB / 1.07 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/1.307, allocations: 105.5 kB / 1.071 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.239e-05/1.307, allocations: 31.36 kB / 1.071 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001251/1.308, allocations: 0.5885 MB / 1.071 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.675e-06/1.308, allocations: 0 / 1.071 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002526/1.311, allocations: 477.4 kB / 1.072 GB, free: 4.336 MB / 0.6823 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.003646/1.315, allocations: 2.644 MB / 1.074 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00319/1.318, allocations: 1.153 MB / 1.075 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/1.318, allocations: 4.062 kB / 1.075 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009398/1.319, allocations: 320.2 kB / 1.076 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/1.321, allocations: 273.2 kB / 1.076 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007065/1.328, allocations: 1.967 MB / 1.078 GB, free: 14.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/1.33, allocations: 1.271 MB / 1.079 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00253/1.332, allocations: 262.1 kB / 1.079 GB, free: 13.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/1.334, allocations: 0.628 MB / 1.08 GB, free: 13.25 MB / 0.698 GB Notification: Performance of SimCode: time 4.268e-06/1.334, allocations: 0 / 1.08 GB, free: 13.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09986/1.434, allocations: 24.96 MB / 1.104 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003294/1.434, allocations: 178.7 kB / 1.104 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.89/5.324, allocations: 0 / 1.104 GB, free: 4.258 MB / 0.7136 GB