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.001625/0.001629, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001846/0.001846, allocations: 189.5 kB / 16.25 MB, free: 6.637 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.596/1.596, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.216/2.216, allocations: 390.3 MB / 0.6644 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 67.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7236/0.7256, allocations: 140.4 MB / 0.9493 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.003373/0.7291, allocations: 1.184 MB / 0.9505 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.7311, allocations: 1.223 MB / 0.9516 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.7312, allocations: 1.594 kB / 0.9516 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.494e-05/0.7313, allocations: 11.86 kB / 0.9517 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.7315, allocations: 22.95 kB / 0.9517 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007159/0.7322, allocations: 165 kB / 0.9518 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.7326, allocations: 267.5 kB / 0.9521 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.7329, allocations: 112.7 kB / 0.9522 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.7331, allocations: 101.1 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.7333, allocations: 116 kB / 0.9524 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.7334, allocations: 27.16 kB / 0.9524 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.7335, allocations: 46.77 kB / 0.9525 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.7336, allocations: 49.67 kB / 0.9525 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.7337, allocations: 116.9 kB / 0.9526 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.7341, allocations: 317.9 kB / 0.9529 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7342, allocations: 0 / 0.9529 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7342, allocations: 3.938 kB / 0.9529 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.7342, allocations: 0.9062 kB / 0.9529 GB, free: 6.375 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.001108/0.7353, allocations: 0.5431 MB / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.7354, allocations: 9.344 kB / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.718e-05/0.7354, allocations: 52.3 kB / 0.9535 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.638e-05/0.7355, allocations: 25.72 kB / 0.9536 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.7366, allocations: 300.2 kB / 0.9538 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.7366, allocations: 22.59 kB / 0.9539 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.7367, allocations: 22.16 kB / 0.9539 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006698/0.7374, allocations: 218.4 kB / 0.9541 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.7374, allocations: 0 / 0.9541 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.7374, allocations: 6.625 kB / 0.9541 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.7375, allocations: 3.969 kB / 0.9541 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007829/0.7383, allocations: 159.8 kB / 0.9543 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.7393, allocations: 0.6436 MB / 0.9549 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.7399, allocations: 158.9 kB / 0.955 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/0.7403, allocations: 80.22 kB / 0.9551 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.7404, allocations: 6.281 kB / 0.9551 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005552/0.7409, allocations: 151.5 kB / 0.9553 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 3.246e-06/0.741, allocations: 3.984 kB / 0.9553 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.001248/0.7422, allocations: 259.8 kB / 0.9555 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.7423, allocations: 79.61 kB / 0.9556 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.7425, allocations: 168.1 kB / 0.9558 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.7425, allocations: 32.23 kB / 0.9558 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.7426, allocations: 142.7 kB / 0.9559 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.7427, allocations: 42.16 kB / 0.956 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.7429, allocations: 64.58 kB / 0.956 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.651e-05/0.7429, allocations: 322.4 kB / 0.9563 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/0.7434, allocations: 83.27 kB / 0.9564 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.7438, allocations: 126.3 kB / 0.9565 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007602/0.7446, allocations: 214.3 kB / 0.9567 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7446, allocations: 0 / 0.9567 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001073/0.7457, allocations: 287.1 kB / 0.957 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.7457, allocations: 40.86 kB / 0.957 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.7458, allocations: 1.719 kB / 0.957 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.7458, allocations: 2.562 kB / 0.957 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.7461, allocations: 33.38 kB / 0.9571 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.7462, allocations: 14.52 kB / 0.9571 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.7466, allocations: 51.92 kB / 0.9571 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/0.7467, allocations: 9.125 kB / 0.9572 GB, free: 2.91 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 0.0001545/0.7468, allocations: 136.2 kB / 0.9573 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.7469, allocations: 22.89 kB / 0.9573 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.221e-05/0.747, allocations: 21 kB / 0.9573 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.747, allocations: 1.781 kB / 0.9573 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.747, allocations: 0 / 0.9573 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.747, allocations: 1.781 kB / 0.9573 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.7473, allocations: 268.5 kB / 0.9576 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7473, allocations: 1.375 kB / 0.9576 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.7476, allocations: 37.91 kB / 0.9576 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.7476, allocations: 5.312 kB / 0.9576 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.7476, allocations: 1.375 kB / 0.9576 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.7477, allocations: 1.375 kB / 0.9576 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7477, allocations: 0 / 0.9576 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008058/0.7485, allocations: 227.1 kB / 0.9578 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.7485, allocations: 89.05 kB / 0.9579 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.7486, allocations: 9.312 kB / 0.9579 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.7488, allocations: 16.22 kB / 0.958 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.7489, allocations: 32.16 kB / 0.958 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.749, allocations: 5.5 kB / 0.958 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001055/0.7491, allocations: 119.2 kB / 0.9581 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7491, allocations: 0 / 0.9581 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000523/0.7496, allocations: 45.38 kB / 0.9581 GB, free: 2.062 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.001166/0.7508, allocations: 0.7749 MB / 0.9589 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.7519, allocations: 266.7 kB / 0.9592 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7519, allocations: 0 / 0.9592 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.7523, allocations: 88.44 kB / 0.9592 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.7528, allocations: 38.66 kB / 0.9593 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/0.7577, allocations: 2.171 MB / 0.9614 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.7582, allocations: 0.7291 MB / 0.9621 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002765/0.7585, allocations: 25.38 kB / 0.9621 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.7587, allocations: 63.05 kB / 0.9622 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.894e-06/0.7588, allocations: 0 / 0.9622 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.002/3.761, allocations: 4.189 MB / 0.9663 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/3.761, allocations: 245.1 kB / 0.9665 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/6.383, allocations: 0 / 0.9665 GB, free: 12.36 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)