Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.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.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil",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.366/1.366, allocations: 249.5 MB / 257 MB, free: 6.93 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.0009392/0.0009393, allocations: 185.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0007521/0.000752, allocations: 88.36 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.57e-05/1.571e-05, allocations: 4 kB / 0.7815 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1567, allocations: 106.3 MB / 0.8854 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5727/0.7294, allocations: 135.6 MB / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/0.7297, allocations: 78.28 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01264/0.7423, allocations: 5.356 MB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7424, allocations: 0 / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.673e-05/0.7424, allocations: 8 kB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0007773/0.7432, allocations: 0.5617 MB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.7432, allocations: 8.031 kB / 1.024 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.914e-05/0.7433, allocations: 35.53 kB / 1.024 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.7437, allocations: 319.6 kB / 1.024 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.7437, allocations: 11.98 kB / 1.024 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.7438, allocations: 12 kB / 1.024 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002973/0.7441, allocations: 163 kB / 1.024 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.7444, allocations: 228.4 kB / 1.024 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.7445, allocations: 4 kB / 1.024 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.7445, allocations: 0 / 1.024 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.7445, allocations: 4 kB / 1.024 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.7457, allocations: 0.8762 MB / 1.025 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.7461, allocations: 168.1 kB / 1.025 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.7462, allocations: 74.23 kB / 1.025 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.7462, allocations: 0 / 1.025 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.7464, allocations: 118 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.7464, allocations: 0 / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0002914/0.7467, allocations: 162.1 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.7468, allocations: 84.36 kB / 1.026 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.747, allocations: 218.7 kB / 1.026 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.747, allocations: 29.7 kB / 1.026 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.7471, allocations: 180.9 kB / 1.026 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.7472, allocations: 58.31 kB / 1.026 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.7472, allocations: 0 / 1.026 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7473, allocations: 336.3 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.583e-05/0.7474, allocations: 61.16 kB / 1.027 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.7476, allocations: 92.2 kB / 1.027 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.985e-05/0.7477, allocations: 56.53 kB / 1.027 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7477, allocations: 0 / 1.027 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002811/0.748, allocations: 186.1 kB / 1.027 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.402e-05/0.748, allocations: 181.1 kB / 1.027 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7481, allocations: 32 / 1.027 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.7481, allocations: 8 kB / 1.027 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.7484, allocations: 59.27 kB / 1.027 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.7484, allocations: 7.953 kB / 1.027 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.7486, allocations: 47.81 kB / 1.027 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.7486, allocations: 4 kB / 1.027 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.7486, allocations: 4 kB / 1.027 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002133/0.7489, allocations: 125.5 kB / 1.027 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.7489, allocations: 3.984 kB / 1.027 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-06/0.7489, allocations: 0 / 1.027 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.7491, allocations: 55.39 kB / 1.027 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.7491, allocations: 12.02 kB / 1.027 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.7493, allocations: 31.88 kB / 1.028 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.7493, allocations: 4 kB / 1.028 GB, free: 9.297 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,$PRE.zonSta.T_start,zonSta.T_start,$PRE.zonSta.count,zonSta.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 8.468e-05/0.7494, allocations: 116.1 kB / 1.028 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002242/0.7497, allocations: 162.4 kB / 1.028 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.7497, allocations: 27.72 kB / 1.028 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.7498, allocations: 25.89 kB / 1.028 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.7498, allocations: 4 kB / 1.028 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.7498, allocations: 3.938 kB / 1.028 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.7498, allocations: 0 / 1.028 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.7503, allocations: 0.536 MB / 1.028 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7503, allocations: 0 / 1.028 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.7505, allocations: 47.98 kB / 1.028 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.7506, allocations: 4 kB / 1.028 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.7506, allocations: 0 / 1.028 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.7506, allocations: 0 / 1.028 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.7506, allocations: 7.938 kB / 1.028 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.7509, allocations: 283.3 kB / 1.029 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.7509, allocations: 100.6 kB / 1.029 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.751, allocations: 4 kB / 1.029 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.7512, allocations: 27.97 kB / 1.029 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.709e-05/0.7513, allocations: 22.16 kB / 1.029 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.7513, allocations: 11.98 kB / 1.029 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001399/0.7515, allocations: 173.5 kB / 1.029 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7515, allocations: 0 / 1.029 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003901/0.7519, allocations: 95.53 kB / 1.029 GB, free: 7.805 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,zonSta.T_start,zonSta.count) * Number of discrete states: 1 (zonSta.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006119/0.7525, allocations: 0.8918 MB / 1.03 GB, free: 6.926 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003563/0.7529, allocations: 231.4 kB / 1.03 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7529, allocations: 0 / 1.03 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.753, allocations: 74.25 kB / 1.03 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.7534, allocations: 55.81 kB / 1.03 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007776/0.7542, allocations: 375.2 kB / 1.031 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.7545, allocations: 0.7684 MB / 1.031 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002263/0.7547, allocations: 42.05 kB / 1.031 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.7548, allocations: 89.78 kB / 1.032 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of SimCode: time 4.1e-07/0.7548, allocations: 3.938 kB / 1.032 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.7774, allocations: 4.965 MB / 1.036 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.7776, allocations: 195.4 kB / 1.037 GB, free: 360 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.597, allocations: 0 / 1.037 GB, free: 360 kB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil_fmu --startTime=0 --stopTime=28000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe 2>&1)