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.0009645/0.0009644, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009878/0.0009879, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.147/2.147, allocations: 390.2 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 0.8127 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5028, allocations: 140.4 MB / 0.9498 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002171/0.505, allocations: 1.138 MB / 0.9509 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.5063, allocations: 1.238 MB / 0.9521 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.5065, allocations: 2.375 kB / 0.9521 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.576e-05/0.5065, allocations: 21.02 kB / 0.9521 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.5067, allocations: 30.28 kB / 0.9521 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.5072, allocations: 177.7 kB / 0.9523 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.5074, allocations: 272 kB / 0.9526 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.5076, allocations: 111.6 kB / 0.9527 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.5077, allocations: 110.3 kB / 0.9528 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.5078, allocations: 115.8 kB / 0.9529 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.5078, allocations: 27.81 kB / 0.9529 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.996e-05/0.5079, allocations: 37.19 kB / 0.953 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.419e-05/0.508, allocations: 51.58 kB / 0.953 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.572e-05/0.508, allocations: 111.4 kB / 0.9531 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.5083, allocations: 322.5 kB / 0.9534 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.5083, allocations: 4 kB / 0.9534 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5083, allocations: 0 / 0.9534 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.5083, allocations: 0 / 0.9534 GB, free: 6.441 MB / 0.7169 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.0007119/0.509, allocations: 0.5439 MB / 0.9539 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.5091, allocations: 9.25 kB / 0.954 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.5091, allocations: 53.3 kB / 0.954 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.5092, allocations: 25.19 kB / 0.954 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006027/0.5098, allocations: 298.5 kB / 0.9543 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.5098, allocations: 22.28 kB / 0.9543 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.5099, allocations: 27.89 kB / 0.9544 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.5103, allocations: 205.9 kB / 0.9546 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.5103, allocations: 0 / 0.9546 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.5103, allocations: 10.25 kB / 0.9546 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5103, allocations: 4.469 kB / 0.9546 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.5108, allocations: 150.5 kB / 0.9547 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.5114, allocations: 0.6558 MB / 0.9554 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.5117, allocations: 156.7 kB / 0.9555 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.512, allocations: 83.09 kB / 0.9556 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.512, allocations: 3.156 kB / 0.9556 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003332/0.5123, allocations: 155.8 kB / 0.9557 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.844e-06/0.5123, allocations: 3.984 kB / 0.9557 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0007466/0.5131, allocations: 257 kB / 0.956 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.5131, allocations: 78.98 kB / 0.9561 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.943e-05/0.5132, allocations: 171.7 kB / 0.9562 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.5132, allocations: 33.3 kB / 0.9563 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.5133, allocations: 135.6 kB / 0.9564 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.5133, allocations: 49 kB / 0.9564 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/0.5134, allocations: 57.72 kB / 0.9565 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.886e-05/0.5135, allocations: 329.6 kB / 0.9568 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.5137, allocations: 82.52 kB / 0.9569 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.514, allocations: 127.7 kB / 0.957 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.5145, allocations: 202.9 kB / 0.9572 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5145, allocations: 5.344 kB / 0.9572 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006334/0.5151, allocations: 289.6 kB / 0.9575 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.5151, allocations: 37.33 kB / 0.9575 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.5151, allocations: 5.266 kB / 0.9575 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5152, allocations: 3.438 kB / 0.9575 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.5154, allocations: 44.03 kB / 0.9576 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.5154, allocations: 3.469 kB / 0.9576 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.5156, allocations: 44.27 kB / 0.9576 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.5157, allocations: 12.06 kB / 0.9576 GB, free: 2.984 MB / 0.7169 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 8.957e-05/0.5158, allocations: 139.8 kB / 0.9578 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.5158, allocations: 18.59 kB / 0.9578 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.5158, allocations: 21.12 kB / 0.9578 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.5159, allocations: 6.469 kB / 0.9578 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5159, allocations: 0 / 0.9578 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5159, allocations: 5.422 kB / 0.9578 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.516, allocations: 260.7 kB / 0.9581 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.516, allocations: 1.062 kB / 0.9581 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.5162, allocations: 29.56 kB / 0.9581 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5162, allocations: 10.19 kB / 0.9581 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.5162, allocations: 5.188 kB / 0.9581 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5162, allocations: 4.828 kB / 0.9581 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5163, allocations: 1 kB / 0.9581 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.5167, allocations: 226.1 kB / 0.9583 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.529e-05/0.5168, allocations: 93.36 kB / 0.9584 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.5168, allocations: 9.484 kB / 0.9584 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.5169, allocations: 16.7 kB / 0.9584 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.517, allocations: 31.94 kB / 0.9585 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.517, allocations: 4.344 kB / 0.9585 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.072e-05/0.5171, allocations: 122.7 kB / 0.9586 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5171, allocations: 0 / 0.9586 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000253/0.5174, allocations: 46.78 kB / 0.9586 GB, free: 2.125 MB / 0.7169 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.0007311/0.5181, allocations: 0.7818 MB / 0.9594 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005847/0.5187, allocations: 257.7 kB / 0.9596 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5187, allocations: 0 / 0.9596 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.519, allocations: 92.94 kB / 0.9597 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.5192, allocations: 33.66 kB / 0.9598 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.5218, allocations: 2.105 MB / 0.9618 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.5221, allocations: 0.7332 MB / 0.9625 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.5222, allocations: 24.48 kB / 0.9626 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.397e-05/0.5223, allocations: 58.86 kB / 0.9626 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.5223, allocations: 1.688 kB / 0.9626 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.114/2.637, allocations: 4.415 MB / 0.9669 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/10.77, allocations: 6.969 kB / 0.9669 GB, free: 12.55 MB / 0.7325 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)