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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008464/0.0008464, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004945/0.004945, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.223/1.223, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.314/2.314, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003042, allocations: 8 kB / 0.873 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5302/0.5305, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.001219/0.5318, allocations: 0.8397 MB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.5332, allocations: 1.249 MB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.5333, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.5333, allocations: 15.86 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.886e-05/0.5335, allocations: 19.78 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.5339, allocations: 159.6 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.5341, allocations: 247.9 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.5343, allocations: 103.8 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.883e-05/0.5344, allocations: 79.69 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.5345, allocations: 87.53 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.5345, allocations: 8 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.783e-05/0.5346, allocations: 23.98 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.5347, allocations: 39.83 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.933e-05/0.5348, allocations: 109.2 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.535, allocations: 301.1 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.535, allocations: 3.938 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.535, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.5351, allocations: 0 / 1.026 GB, free: 12.57 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.000725/0.5358, allocations: 0.5122 MB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.5358, allocations: 15.97 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.5359, allocations: 50.73 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.5359, allocations: 24.66 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006743/0.5366, allocations: 319.8 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.5366, allocations: 12.38 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.5367, allocations: 28.36 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004339/0.5371, allocations: 223.3 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.5371, allocations: 0 / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.5372, allocations: 4 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5372, allocations: 4 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.5377, allocations: 176.3 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007535/0.5384, allocations: 0.6599 MB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.5388, allocations: 177.1 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.5391, allocations: 81.77 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.5391, allocations: 8 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003414/0.5395, allocations: 157 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.5395, allocations: 0 / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.000798/0.5403, allocations: 277.3 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.5403, allocations: 89.03 kB / 1.029 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.5405, allocations: 170.2 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.5405, allocations: 29.7 kB / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.212e-05/0.5406, allocations: 144.2 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.5406, allocations: 43.34 kB / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.5407, allocations: 33.7 kB / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5408, allocations: 326.8 kB / 1.03 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.5411, allocations: 91.92 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.5414, allocations: 133.8 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.5419, allocations: 218.7 kB / 1.03 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5419, allocations: 7.938 kB / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006724/0.5426, allocations: 299.4 kB / 1.031 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.5426, allocations: 35.27 kB / 1.031 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5426, allocations: 4 kB / 1.031 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.5426, allocations: 7.922 kB / 1.031 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.5428, allocations: 48.03 kB / 1.031 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.5429, allocations: 4 kB / 1.031 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.5431, allocations: 59.8 kB / 1.031 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.5432, allocations: 19.98 kB / 1.031 GB, free: 7.816 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.0001132/0.5433, allocations: 133.8 kB / 1.031 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.5433, allocations: 11.81 kB / 1.031 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.164e-05/0.5434, allocations: 25.39 kB / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5434, allocations: 7.938 kB / 1.031 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5434, allocations: 0 / 1.031 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5434, allocations: 3.938 kB / 1.031 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.5436, allocations: 269.4 kB / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5436, allocations: 0 / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.5438, allocations: 43.84 kB / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5438, allocations: 0 / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.5438, allocations: 8 kB / 1.031 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.5438, allocations: 3.938 kB / 1.031 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5438, allocations: 0 / 1.031 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/0.5444, allocations: 243.7 kB / 1.031 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.5444, allocations: 88.92 kB / 1.031 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.5445, allocations: 4 kB / 1.031 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.5446, allocations: 23.92 kB / 1.032 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.5447, allocations: 24.27 kB / 1.032 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.5447, allocations: 8 kB / 1.032 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.832e-05/0.5448, allocations: 121.8 kB / 1.032 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5448, allocations: 0 / 1.032 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002407/0.545, allocations: 47.84 kB / 1.032 GB, free: 6.68 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.0007931/0.5458, allocations: 0.7887 MB / 1.032 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006181/0.5464, allocations: 279.3 kB / 1.033 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5465, allocations: 4.062 kB / 1.033 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.5467, allocations: 99.81 kB / 1.033 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.547, allocations: 33.55 kB / 1.033 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.5498, allocations: 2.211 MB / 1.035 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.5501, allocations: 0.7283 MB / 1.036 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.5502, allocations: 25.55 kB / 1.036 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.611e-05/0.5503, allocations: 63.41 kB / 1.036 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5503, allocations: 0 / 1.036 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.086/2.636, allocations: 3.994 MB / 1.04 GB, free: 14.51 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/2.637, allocations: 248.5 kB / 1.04 GB, free: 14.25 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/4.241, allocations: 4 kB / 1.04 GB, free: 14.25 MB / 0.795 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)