Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 219.7 kB / 23.03 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.161/3.161, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 72.08 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3368, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002808/0.3396, allocations: 1.317 MB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.3412, allocations: 1.132 MB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.3413, allocations: 4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.552e-05/0.3414, allocations: 35.53 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.3416, allocations: 39.61 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.3419, allocations: 131.8 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.3423, allocations: 340.6 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.3426, allocations: 158.5 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.3429, allocations: 151.4 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.3431, allocations: 147.3 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.3431, allocations: 40 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.118e-05/0.3432, allocations: 43.98 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.632e-05/0.3433, allocations: 79.7 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.3434, allocations: 131.3 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005605/0.344, allocations: 494.1 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.344, allocations: 0 / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.344, allocations: 0 / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.344, allocations: 4 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0008654/0.3448, allocations: 0.5134 MB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3449, allocations: 12.03 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.624e-05/0.3449, allocations: 9.188 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.137e-05/0.345, allocations: 66.72 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.3452, allocations: 48.69 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.3457, allocations: 263.7 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.3457, allocations: 29.38 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.3458, allocations: 36.36 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006189/0.3464, allocations: 294.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3464, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.3464, allocations: 12 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.3464, allocations: 11.94 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/0.347, allocations: 243.8 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.3482, allocations: 0.7047 MB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/0.3487, allocations: 224.1 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.3489, allocations: 105.3 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.3489, allocations: 8.172 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.349, allocations: 42.78 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.432e-06/0.349, allocations: 0 / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.0007814/0.3498, allocations: 321.1 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.3498, allocations: 55.41 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.35, allocations: 207.7 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.3501, allocations: 29.7 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.3502, allocations: 180.5 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.88e-05/0.3503, allocations: 83.28 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3504, allocations: 73.91 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3505, allocations: 330.8 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.3507, allocations: 84.5 kB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.351, allocations: 139.9 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/0.3514, allocations: 222.7 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3514, allocations: 0 / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005634/0.352, allocations: 269.5 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.352, allocations: 12 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.352, allocations: 3.938 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.352, allocations: 4 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.3523, allocations: 55.91 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3523, allocations: 4 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.3524, allocations: 27.81 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.3525, allocations: 12 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * 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.0002046/0.3527, allocations: 156.5 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.3527, allocations: 23.84 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005813/0.3533, allocations: 260.5 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3533, allocations: 4 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3533, allocations: 0 / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3533, allocations: 0 / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.3537, allocations: 300.5 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3537, allocations: 4 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.3539, allocations: 43.91 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3539, allocations: 0 / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.3539, allocations: 7.938 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3539, allocations: 4 kB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3539, allocations: 0 / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005349/0.3545, allocations: 323.3 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.3545, allocations: 23.8 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.3545, allocations: 11.94 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.3547, allocations: 15.98 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.221e-05/0.3548, allocations: 23.95 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.3548, allocations: 8 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000117/0.3549, allocations: 141.5 kB / 1.337 GB, free: 6.965 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3549, allocations: 3.938 kB / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000331/0.3552, allocations: 67.73 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008691/0.3561, allocations: 0.8749 MB / 1.338 GB, free: 5.996 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005155/0.3566, allocations: 207.8 kB / 1.338 GB, free: 5.793 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3566, allocations: 0 / 1.338 GB, free: 5.793 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.3569, allocations: 112.2 kB / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.3572, allocations: 34.33 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.3604, allocations: 2.403 MB / 1.34 GB, free: 3.125 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.3606, allocations: 159.3 kB / 1.34 GB, free: 2.953 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001487/0.3608, allocations: 34.27 kB / 1.34 GB, free: 2.914 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.3609, allocations: 95.41 kB / 1.34 GB, free: 2.82 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/0.3609, allocations: 4 kB / 1.34 GB, free: 2.816 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.3865, allocations: 4.365 MB / 1.345 GB, free: 14.68 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.23, allocations: 11.56 kB / 1.345 GB, free: 14.67 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.907110939966515] Failed to read output from testmodel.py, exit status != 0: 12.392649790039286 12.409487822000001 12.062407072 Calling exit ...