Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005114/0.005114, allocations: 105.9 kB / 15.73 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 189 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.067/2.067, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 0.9504 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6586/0.6599, allocations: 140.4 MB / 1.088 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002019/0.662, allocations: 1.142 MB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.6631, allocations: 1.238 MB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.133e-05/0.6632, allocations: 6.375 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.124e-05/0.6633, allocations: 19.45 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.6634, allocations: 29.44 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.6639, allocations: 181.3 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.6641, allocations: 278 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.6643, allocations: 107.9 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.6645, allocations: 102.7 kB / 1.091 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.6646, allocations: 124.3 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.6647, allocations: 27.19 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.6648, allocations: 41.58 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.6648, allocations: 52.23 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.6649, allocations: 113.6 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.6652, allocations: 330 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6653, allocations: 1.062 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6653, allocations: 0 / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.6653, allocations: 0 / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007794/0.6661, allocations: 0.5423 MB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.6661, allocations: 9.797 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.6661, allocations: 52.55 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.183e-05/0.6662, allocations: 26.16 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006452/0.6669, allocations: 311.2 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.6669, allocations: 14.95 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.6669, allocations: 25.94 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.6674, allocations: 214.3 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.6674, allocations: 4 kB / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.6674, allocations: 6.422 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.6675, allocations: 3.875 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.668, allocations: 152.6 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007275/0.6687, allocations: 0.6372 MB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.6691, allocations: 155.8 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.6693, allocations: 86.23 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.6694, allocations: 2.25 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003604/0.6697, allocations: 152.4 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 1.382e-06/0.6697, allocations: 0 / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.0008279/0.6706, allocations: 254.9 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.6706, allocations: 84.47 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.6707, allocations: 179.5 kB / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.6708, allocations: 27.8 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.6708, allocations: 145.9 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.6709, allocations: 45.03 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.243e-05/0.671, allocations: 57.91 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.473e-05/0.671, allocations: 323.3 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.6713, allocations: 84.94 kB / 1.095 GB, free: 364 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.6716, allocations: 123.5 kB / 1.095 GB, free: 292 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.6721, allocations: 218.9 kB / 1.095 GB, free: 152 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6721, allocations: 0.7188 kB / 1.095 GB, free: 152 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006995/0.6728, allocations: 293 kB / 1.095 GB, free: 12 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.6e-05/0.6729, allocations: 41.11 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6729, allocations: 1.75 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.6729, allocations: 2.938 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.6731, allocations: 33.67 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.6731, allocations: 5.875 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.6734, allocations: 49.59 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.6735, allocations: 10.98 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.6736, allocations: 139.3 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.6736, allocations: 22.42 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.6737, allocations: 23.67 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6737, allocations: 6.109 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6737, allocations: 1.281 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6737, allocations: 1.953 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.674, allocations: 263.2 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.674, allocations: 1.234 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.6742, allocations: 34.5 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.6742, allocations: 4.875 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.6742, allocations: 2.344 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6742, allocations: 5.719 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6742, allocations: 1.125 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005622/0.6748, allocations: 220 kB / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.6748, allocations: 97.77 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.6749, allocations: 10.55 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.675, allocations: 17.2 kB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.6751, allocations: 28.36 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.6751, allocations: 5.016 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.318e-05/0.6752, allocations: 117.8 kB / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6752, allocations: 0 / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002619/0.6755, allocations: 46.7 kB / 1.096 GB, free: 15.2 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,heaOff.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008465/0.6763, allocations: 0.7747 MB / 1.097 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000672/0.677, allocations: 257 kB / 1.097 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.677, allocations: 3.938 kB / 1.097 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.6773, allocations: 93.64 kB / 1.097 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.6776, allocations: 25.45 kB / 1.098 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.6804, allocations: 2.105 MB / 1.1 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.6807, allocations: 0.73 MB / 1.1 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.6808, allocations: 25.89 kB / 1.1 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.6809, allocations: 61.52 kB / 1.1 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.6809, allocations: 0 / 1.1 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.7121, allocations: 4.482 MB / 1.105 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.089/9.801, allocations: 7.688 kB / 1.105 GB, free: 11.52 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1)