Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001208/0.001208, 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.001193/0.001193, allocations: 192.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.226/1.226, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.288/2.288, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.89 kB / 0.8689 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5173/0.5185, allocations: 151.6 MB / 1.017 GB, free: 2.648 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002215/0.5208, allocations: 1.187 MB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.5222, allocations: 1.245 MB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.842e-05/0.5223, allocations: 4 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.894e-05/0.5224, allocations: 11.86 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.5225, allocations: 19.84 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.523, allocations: 167.1 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.5233, allocations: 275.9 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.5234, allocations: 107.8 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.5236, allocations: 111.6 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.5237, allocations: 111.5 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.5238, allocations: 28 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.966e-05/0.5239, allocations: 47.97 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.5239, allocations: 47.84 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.801e-05/0.524, allocations: 111.5 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.5243, allocations: 321.2 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5243, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5243, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.5243, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 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.0008154/0.5252, allocations: 0.5433 MB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5252, allocations: 12.03 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.5253, allocations: 46.73 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.5253, allocations: 24.66 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006515/0.526, allocations: 313.8 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.526, allocations: 20.36 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.5261, allocations: 20.38 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/0.5265, allocations: 215.3 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.5265, allocations: 4 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.5265, allocations: 8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.5265, allocations: 4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.527, allocations: 152.3 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007695/0.5278, allocations: 0.66 MB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.5281, allocations: 149.2 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.5284, allocations: 89.69 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.5284, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003436/0.5288, allocations: 141 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.5288, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.0007513/0.5295, allocations: 253.7 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.5296, allocations: 81.11 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.5297, allocations: 179 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.5298, allocations: 33.7 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.5298, allocations: 128.2 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.5299, allocations: 51.34 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.53, allocations: 53.69 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.5301, allocations: 330.8 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.5303, allocations: 83.94 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.5306, allocations: 128.2 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.5311, allocations: 214.7 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5311, allocations: 7.938 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00064/0.5317, allocations: 286.9 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.5318, allocations: 34.8 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5318, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.5318, allocations: 7.938 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.532, allocations: 39.91 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.532, allocations: 8.109 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.5323, allocations: 47.8 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.5323, allocations: 12 kB / 1.025 GB, free: 10.21 MB / 0.7794 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.0001161/0.5325, allocations: 133.8 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.5325, allocations: 15.89 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.5325, allocations: 21.41 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.5325, allocations: 3.938 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.5326, allocations: 4 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5326, allocations: 0 / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.5328, allocations: 269.4 kB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5328, allocations: 0 / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.533, allocations: 35.91 kB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.533, allocations: 0 / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.533, allocations: 4 kB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.533, allocations: 7.938 kB / 1.025 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.533, allocations: 4 kB / 1.025 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004998/0.5335, allocations: 226.9 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.5336, allocations: 85.02 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.5336, allocations: 8 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.5337, allocations: 23.91 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.5338, allocations: 19.97 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.5338, allocations: 8 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.702e-05/0.5339, allocations: 120.8 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5339, allocations: 4 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002544/0.5342, allocations: 43.84 kB / 1.026 GB, free: 9.098 MB / 0.7794 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.000761/0.5349, allocations: 0.7743 MB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005889/0.5355, allocations: 267.1 kB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5355, allocations: 0 / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.5358, allocations: 99.98 kB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.536, allocations: 44.22 kB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.5388, allocations: 2.156 MB / 1.029 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.539, allocations: 0.7357 MB / 1.03 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001276/0.5391, allocations: 29.48 kB / 1.03 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.5392, allocations: 59.42 kB / 1.03 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.5392, allocations: 0 / 1.03 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7754/1.315, allocations: 4.186 MB / 1.034 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/1.315, allocations: 246.8 kB / 1.034 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.978, allocations: 0 / 1.034 GB, free: 0.543 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1)