Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.001548/0.001548, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001817/0.001817, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.559/1.559, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.939/2.939, allocations: 476.7 MB / 0.7678 GB, free: 9.336 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_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.002008/0.002008, allocations: 63.91 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.113, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002921/1.116, allocations: 1.151 MB / 1.28 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001592/1.118, allocations: 1.057 MB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/1.118, allocations: 2.406 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.486e-05/1.118, allocations: 26.14 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001595/1.118, allocations: 37.11 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/1.118, allocations: 90.2 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/1.119, allocations: 229.7 kB / 1.281 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/1.119, allocations: 97.81 kB / 1.282 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/1.119, allocations: 104.7 kB / 1.282 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/1.119, allocations: 96.12 kB / 1.282 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/1.119, allocations: 28.34 kB / 1.282 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-05/1.119, allocations: 31.33 kB / 1.282 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.201e-05/1.119, allocations: 54.98 kB / 1.282 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/1.12, allocations: 99.31 kB / 1.282 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000478/1.12, allocations: 316.2 kB / 1.282 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.12, allocations: 4.438 kB / 1.282 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.324e-06/1.12, allocations: 0.5312 kB / 1.282 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.825e-06/1.12, allocations: 0.6094 kB / 1.282 GB, free: 9.508 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009296/1.121, allocations: 0.4982 MB / 1.283 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/1.121, allocations: 10.48 kB / 1.283 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.992e-05/1.121, allocations: 6.531 kB / 1.283 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.338e-05/1.121, allocations: 58.31 kB / 1.283 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/1.121, allocations: 41.58 kB / 1.283 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/1.122, allocations: 267 kB / 1.283 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/1.122, allocations: 17.81 kB / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/1.122, allocations: 22.03 kB / 1.283 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/1.122, allocations: 202.6 kB / 1.283 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.122, allocations: 0 / 1.283 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/1.122, allocations: 14.78 kB / 1.283 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/1.122, allocations: 5.281 kB / 1.283 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000444/1.123, allocations: 157 kB / 1.284 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009898/1.124, allocations: 0.5871 MB / 1.284 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/1.124, allocations: 153.9 kB / 1.284 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/1.124, allocations: 63.25 kB / 1.284 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/1.124, allocations: 1.344 kB / 1.284 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/1.124, allocations: 37.89 kB / 1.284 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/1.124, allocations: 3.938 kB / 1.284 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.000662/1.125, allocations: 218.5 kB / 1.285 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/1.125, allocations: 54.03 kB / 1.285 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/1.125, allocations: 182.1 kB / 1.285 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/1.125, allocations: 31.14 kB / 1.285 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/1.126, allocations: 141.3 kB / 1.285 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/1.126, allocations: 56.44 kB / 1.285 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-05/1.126, allocations: 53.31 kB / 1.285 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.126, allocations: 322.3 kB / 1.285 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/1.126, allocations: 57.19 kB / 1.285 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/1.126, allocations: 106.1 kB / 1.286 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/1.127, allocations: 144.5 kB / 1.286 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.127, allocations: 3.938 kB / 1.286 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000469/1.127, allocations: 191 kB / 1.286 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.127, allocations: 9.281 kB / 1.286 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/1.127, allocations: 1.5 kB / 1.286 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.127, allocations: 2.984 kB / 1.286 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/1.127, allocations: 42.39 kB / 1.286 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/1.127, allocations: 3.5 kB / 1.286 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/1.127, allocations: 22.66 kB / 1.286 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/1.127, allocations: 6.25 kB / 1.286 GB, free: 6.875 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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 (22): * Single equations (assignments): 22 * 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.0002068/1.128, allocations: 143.2 kB / 1.286 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/1.128, allocations: 15.59 kB / 1.286 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/1.128, allocations: 22.58 kB / 1.286 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.128, allocations: 2.375 kB / 1.286 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.128, allocations: 4 kB / 1.286 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.128, allocations: 2.141 kB / 1.286 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/1.128, allocations: 281.1 kB / 1.286 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.128, allocations: 0 / 1.286 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/1.128, allocations: 25.56 kB / 1.286 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/1.128, allocations: 1.812 kB / 1.286 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/1.128, allocations: 5.984 kB / 1.286 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.128, allocations: 1.312 kB / 1.286 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/1.128, allocations: 4.562 kB / 1.286 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/1.129, allocations: 258.8 kB / 1.287 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/1.129, allocations: 90.08 kB / 1.287 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/1.129, allocations: 2.172 kB / 1.287 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/1.129, allocations: 11.72 kB / 1.287 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/1.129, allocations: 23.72 kB / 1.287 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/1.129, allocations: 4.547 kB / 1.287 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001035/1.129, allocations: 122.4 kB / 1.287 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.129, allocations: 0 / 1.287 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002966/1.13, allocations: 42.2 kB / 1.287 GB, free: 6.059 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.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): 17 * 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.0008357/1.13, allocations: 0.8118 MB / 1.288 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004649/1.131, allocations: 147 kB / 1.288 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.131, allocations: 320 / 1.288 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/1.131, allocations: 77.28 kB / 1.288 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/1.131, allocations: 21.97 kB / 1.288 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/1.134, allocations: 1.976 MB / 1.29 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/1.135, allocations: 0.7357 MB / 1.291 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001021/1.135, allocations: 28.7 kB / 1.291 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/1.135, allocations: 72.86 kB / 1.291 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.135, allocations: 0 / 1.291 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/1.157, allocations: 3.332 MB / 1.294 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.98/10.14, allocations: 18.44 kB / 1.294 GB, free: 2.5 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.59731613600161] Failed to read output from testmodel.py, exit status != 0: 10.284554983023554 10.29920902 9.176019769 Calling exit ...