Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.001747/0.001747, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.00211/0.00211, allocations: 215 kB / 20.13 MB, free: 2.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.597/1.597, 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 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 2.979/2.979, allocations: 0.49 GB / 0.7923 GB, free: 1.34 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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_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.002201/0.002201, allocations: 67.89 kB / 1.15 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.954/0.9562, allocations: 176.1 MB / 1.322 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002406/0.9586, allocations: 1.134 MB / 1.323 GB, free: 23.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.9598, allocations: 1.062 MB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.816e-05/0.9599, allocations: 7.031 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.797e-05/0.9599, allocations: 26.34 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.9601, allocations: 40.78 kB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.9603, allocations: 79.84 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.9605, allocations: 226.4 kB / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.9607, allocations: 98.7 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.961, allocations: 101.2 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.9611, allocations: 102.2 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.9611, allocations: 24.66 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.165e-05/0.9612, allocations: 34.66 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.9612, allocations: 51.88 kB / 1.324 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.9613, allocations: 101.1 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.9616, allocations: 314.1 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.9616, allocations: 0 / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9616, allocations: 0 / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.9616, allocations: 0 / 1.325 GB, free: 22.44 MB / 1.061 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.0006602/0.9622, allocations: 0.506 MB / 1.325 GB, free: 21.97 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.9623, allocations: 16.08 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.667e-05/0.9623, allocations: 6.062 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.9623, allocations: 58.41 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.9625, allocations: 32.34 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.963, allocations: 277.1 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.963, allocations: 17.34 kB / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.963, allocations: 21.38 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.9634, allocations: 206.7 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.9634, allocations: 0 / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.9634, allocations: 10.81 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.9635, allocations: 5.594 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.9638, allocations: 156.9 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007893/0.9646, allocations: 0.596 MB / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.965, allocations: 146.4 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.9652, allocations: 65.58 kB / 1.327 GB, free: 20.97 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.9652, allocations: 0 / 1.327 GB, free: 20.97 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.9652, allocations: 41.19 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.9652, allocations: 0 / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0006724/0.9659, allocations: 213 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.9659, allocations: 56.66 kB / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.9661, allocations: 181.7 kB / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.9661, allocations: 34.45 kB / 1.327 GB, free: 20.6 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/0.9662, allocations: 141.3 kB / 1.327 GB, free: 20.47 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.9663, allocations: 49.77 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-05/0.9664, allocations: 55.22 kB / 1.328 GB, free: 20.4 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.609e-05/0.9665, allocations: 325.2 kB / 1.328 GB, free: 20.08 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.9666, allocations: 55.75 kB / 1.328 GB, free: 20.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.9668, allocations: 105.5 kB / 1.328 GB, free: 20 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.9672, allocations: 141.8 kB / 1.328 GB, free: 19.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9672, allocations: 4.969 kB / 1.328 GB, free: 19.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000473/0.9677, allocations: 192.9 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.9677, allocations: 10.31 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.9677, allocations: 1.375 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.9677, allocations: 2.531 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.9679, allocations: 37.55 kB / 1.328 GB, free: 19.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.9679, allocations: 2.312 kB / 1.328 GB, free: 19.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.968, allocations: 23.59 kB / 1.328 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.968, allocations: 5.781 kB / 1.328 GB, free: 19.8 MB / 1.061 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.000136/0.9682, allocations: 151.9 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.9682, allocations: 14.72 kB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.9683, allocations: 17.19 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.9683, allocations: 1.844 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.9683, allocations: 0.9375 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9683, allocations: 7.219 kB / 1.329 GB, free: 19.63 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.9685, allocations: 283.6 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9685, allocations: 0.75 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.9687, allocations: 26.67 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.9687, allocations: 4.844 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.9687, allocations: 4.719 kB / 1.329 GB, free: 19.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.9687, allocations: 0.9688 kB / 1.329 GB, free: 19.37 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.9687, allocations: 1.25 kB / 1.329 GB, free: 19.37 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.9691, allocations: 260.9 kB / 1.329 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.9691, allocations: 90.08 kB / 1.329 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.9691, allocations: 5.125 kB / 1.329 GB, free: 19.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.9693, allocations: 11.8 kB / 1.329 GB, free: 19.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.9693, allocations: 19.55 kB / 1.329 GB, free: 19.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.9694, allocations: 3.812 kB / 1.329 GB, free: 19.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.837e-05/0.9694, allocations: 119.4 kB / 1.329 GB, free: 19 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9694, allocations: 1.469 kB / 1.329 GB, free: 19 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002864/0.9697, allocations: 44.92 kB / 1.329 GB, free: 18.98 MB / 1.061 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.0006254/0.9703, allocations: 0.8129 MB / 1.33 GB, free: 18.26 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004971/0.9708, allocations: 148.5 kB / 1.33 GB, free: 18.22 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9708, allocations: 0 / 1.33 GB, free: 18.22 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.9711, allocations: 74.09 kB / 1.33 GB, free: 18.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.9714, allocations: 20.06 kB / 1.331 GB, free: 18.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.9747, allocations: 1.982 MB / 1.332 GB, free: 16.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.9749, allocations: 0.7327 MB / 1.333 GB, free: 15.94 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.9751, allocations: 22.05 kB / 1.333 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.9752, allocations: 65.97 kB / 1.333 GB, free: 15.89 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.9752, allocations: 0 / 1.333 GB, free: 15.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.9971, allocations: 3.328 MB / 1.336 GB, free: 15.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.909/9.906, allocations: 6.656 kB / 1.337 GB, free: 15.43 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.40509260300314] Failed to read output from testmodel.py, exit status != 0: 10.037400181987323 10.05612585 9.091138493 Calling exit ...