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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001467/0.001467, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001306/0.001306, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.188/1.188, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.045/2.045, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 71.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4803/0.4815, allocations: 140.4 MB / 0.9491 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.00187/0.4834, allocations: 1.177 MB / 0.9503 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.4844, allocations: 1.242 MB / 0.9515 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.4845, allocations: 6 kB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.62e-05/0.4845, allocations: 11.86 kB / 0.9515 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.416e-05/0.4846, allocations: 17.8 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.485, allocations: 168.6 kB / 0.9517 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.4852, allocations: 243.4 kB / 0.9519 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.4853, allocations: 112.5 kB / 0.952 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.058e-05/0.4854, allocations: 96.8 kB / 0.9521 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.044e-05/0.4855, allocations: 103.9 kB / 0.9522 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.4855, allocations: 16.28 kB / 0.9522 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.719e-05/0.4856, allocations: 28.48 kB / 0.9522 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.4856, allocations: 42.11 kB / 0.9523 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.4857, allocations: 109.5 kB / 0.9524 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.4859, allocations: 299.1 kB / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.4859, allocations: 0 / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.81e-07/0.486, allocations: 0 / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.486, allocations: 1.062 kB / 0.9527 GB, free: 6.398 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.000667/0.4866, allocations: 0.5426 MB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.4867, allocations: 9.688 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.4867, allocations: 51.89 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.4868, allocations: 26.03 kB / 0.9533 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.4874, allocations: 308.8 kB / 0.9536 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.4874, allocations: 13.59 kB / 0.9536 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.4874, allocations: 26.66 kB / 0.9536 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.4878, allocations: 210.1 kB / 0.9538 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4878, allocations: 0 / 0.9538 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.4878, allocations: 6.75 kB / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4878, allocations: 4.375 kB / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.4883, allocations: 159.6 kB / 0.954 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.4889, allocations: 0.647 MB / 0.9546 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.4892, allocations: 155.8 kB / 0.9548 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.4894, allocations: 80.5 kB / 0.9548 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.4895, allocations: 5.406 kB / 0.9548 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.4897, allocations: 149.1 kB / 0.955 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.4898, allocations: 0 / 0.955 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0007006/0.4905, allocations: 264 kB / 0.9552 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.4905, allocations: 79.45 kB / 0.9553 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.4906, allocations: 171.9 kB / 0.9555 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.4906, allocations: 31.92 kB / 0.9555 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.4907, allocations: 135.7 kB / 0.9556 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.4907, allocations: 41.17 kB / 0.9557 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.084e-05/0.4908, allocations: 65.19 kB / 0.9557 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.677e-05/0.4908, allocations: 327 kB / 0.956 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.4911, allocations: 82.72 kB / 0.9561 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.4913, allocations: 129.6 kB / 0.9563 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/0.4917, allocations: 209.9 kB / 0.9565 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4918, allocations: 0 / 0.9565 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005773/0.4923, allocations: 291.1 kB / 0.9567 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.4924, allocations: 36.73 kB / 0.9568 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4924, allocations: 5.312 kB / 0.9568 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.4924, allocations: 3.188 kB / 0.9568 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.4926, allocations: 36.19 kB / 0.9568 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.4926, allocations: 2.719 kB / 0.9568 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.4928, allocations: 49.58 kB / 0.9569 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.4929, allocations: 11.61 kB / 0.9569 GB, free: 2.949 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.184e-05/0.4929, allocations: 142.5 kB / 0.957 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.493, allocations: 18.94 kB / 0.957 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.493, allocations: 21.02 kB / 0.957 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.493, allocations: 1.781 kB / 0.957 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.493, allocations: 5.781 kB / 0.957 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.493, allocations: 0 / 0.957 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.4932, allocations: 269.7 kB / 0.9573 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4932, allocations: 0 / 0.9573 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.4934, allocations: 35.09 kB / 0.9573 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4934, allocations: 7.875 kB / 0.9573 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4934, allocations: 6.75 kB / 0.9574 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4934, allocations: 5.312 kB / 0.9574 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4934, allocations: 0 / 0.9574 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.4938, allocations: 219.4 kB / 0.9576 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.4939, allocations: 90.42 kB / 0.9577 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.4939, allocations: 9.312 kB / 0.9577 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.494, allocations: 12.23 kB / 0.9577 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.4941, allocations: 28.2 kB / 0.9577 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.4941, allocations: 4.125 kB / 0.9577 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.323e-05/0.4942, allocations: 124.6 kB / 0.9578 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4942, allocations: 0 / 0.9578 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002365/0.4944, allocations: 45.69 kB / 0.9579 GB, free: 2.098 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.0006134/0.495, allocations: 0.7802 MB / 0.9586 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005283/0.4956, allocations: 254.8 kB / 0.9589 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4956, allocations: 4.062 kB / 0.9589 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.4958, allocations: 92.34 kB / 0.959 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.4961, allocations: 36.83 kB / 0.959 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.4985, allocations: 2.157 MB / 0.9611 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.4987, allocations: 0.7302 MB / 0.9618 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000124/0.4989, allocations: 27.84 kB / 0.9618 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.422e-05/0.499, allocations: 53.98 kB / 0.9619 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.499, allocations: 1.281 kB / 0.9619 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6481/1.147, allocations: 4.057 MB / 0.9659 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/1.147, allocations: 254.3 kB / 0.9661 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.719, allocations: 0 / 0.9661 GB, free: 12.46 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)