Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",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.001174/0.001174, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001243/0.001243, allocations: 189 kB / 16.25 MB, free: 6.152 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.643/1.643, allocations: 222.9 MB / 239.9 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.2 MB / 0.6644 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 63.91 kB / 0.8122 GB, free: 14.61 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6542/0.6565, allocations: 140.4 MB / 0.9493 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002177/0.6588, allocations: 1.064 MB / 0.9503 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008269/0.6596, allocations: 0.9676 MB / 0.9513 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.6597, allocations: 6.75 kB / 0.9513 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.322e-05/0.6597, allocations: 11.86 kB / 0.9513 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.896e-05/0.6598, allocations: 18.61 kB / 0.9513 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.66, allocations: 52.2 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.6601, allocations: 158.8 kB / 0.9515 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.6603, allocations: 84.91 kB / 0.9516 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.6604, allocations: 76.62 kB / 0.9517 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.607e-05/0.6605, allocations: 72.19 kB / 0.9517 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.6605, allocations: 15.53 kB / 0.9517 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.201e-05/0.6605, allocations: 17.31 kB / 0.9518 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.6606, allocations: 36.02 kB / 0.9518 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.6606, allocations: 73.83 kB / 0.9519 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.6608, allocations: 197.8 kB / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6608, allocations: 1.5 kB / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.206e-06/0.6608, allocations: 0 / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.6608, allocations: 4 kB / 0.9521 GB, free: 6.891 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0004822/0.6613, allocations: 446.6 kB / 0.9525 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.6613, allocations: 13.78 kB / 0.9525 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.6614, allocations: 55.14 kB / 0.9526 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.6614, allocations: 16.28 kB / 0.9526 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.6617, allocations: 249.4 kB / 0.9528 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.6618, allocations: 19.22 kB / 0.9528 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.6618, allocations: 12.41 kB / 0.9528 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.6622, allocations: 147.5 kB / 0.953 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.6622, allocations: 0 / 0.953 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.6622, allocations: 9.812 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.6622, allocations: 6.922 kB / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/0.6626, allocations: 114.1 kB / 0.9531 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/0.6633, allocations: 487.3 kB / 0.9536 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.6636, allocations: 102.9 kB / 0.9537 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.6638, allocations: 48.86 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.6638, allocations: 1.094 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.6638, allocations: 36.55 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.6638, allocations: 0 / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005757/0.6644, allocations: 171.2 kB / 0.9539 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.6644, allocations: 52.47 kB / 0.954 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.6646, allocations: 155.7 kB / 0.9541 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.6646, allocations: 26.83 kB / 0.9541 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.6646, allocations: 123 kB / 0.9542 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.6647, allocations: 28 kB / 0.9543 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.6647, allocations: 46.3 kB / 0.9543 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.6648, allocations: 325.1 kB / 0.9546 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.6649, allocations: 38.41 kB / 0.9547 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.6651, allocations: 70.95 kB / 0.9547 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.6655, allocations: 112.3 kB / 0.9548 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6655, allocations: 0 / 0.9548 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004639/0.6659, allocations: 151.9 kB / 0.955 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.666, allocations: 4.875 kB / 0.955 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.666, allocations: 5.188 kB / 0.955 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.666, allocations: 2.125 kB / 0.955 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.6662, allocations: 22.77 kB / 0.955 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.6662, allocations: 1.219 kB / 0.955 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.6664, allocations: 22.7 kB / 0.955 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.6664, allocations: 7.469 kB / 0.955 GB, free: 4.285 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.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 (14): * Single equations (assignments): 14 * 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 9.661e-05/0.6665, allocations: 135.8 kB / 0.9552 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.6665, allocations: 9.562 kB / 0.9552 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.6666, allocations: 14.97 kB / 0.9552 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6666, allocations: 1 kB / 0.9552 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6666, allocations: 1.156 kB / 0.9552 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6666, allocations: 3.938 kB / 0.9552 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.6668, allocations: 233.8 kB / 0.9554 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6668, allocations: 0 / 0.9554 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.6669, allocations: 22.23 kB / 0.9555 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.667, allocations: 1.062 kB / 0.9555 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.667, allocations: 4.984 kB / 0.9555 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.667, allocations: 4.969 kB / 0.9555 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.667, allocations: 3.984 kB / 0.9555 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.6673, allocations: 237.7 kB / 0.9557 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.6673, allocations: 91.17 kB / 0.9558 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.6674, allocations: 5.031 kB / 0.9558 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.6675, allocations: 13.52 kB / 0.9558 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.6675, allocations: 14.2 kB / 0.9558 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.6676, allocations: 7.594 kB / 0.9558 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.978e-05/0.6676, allocations: 109.5 kB / 0.9559 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6676, allocations: 0 / 0.9559 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002432/0.6679, allocations: 26.56 kB / 0.9559 GB, free: 3.449 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000461/0.6683, allocations: 0.769 MB / 0.9567 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003138/0.6687, allocations: 118.4 kB / 0.9568 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6687, allocations: 1.344 kB / 0.9568 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.6688, allocations: 60.89 kB / 0.9569 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.6691, allocations: 14.56 kB / 0.9569 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.6707, allocations: 1.759 MB / 0.9586 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.6708, allocations: 0.7191 MB / 0.9593 GB, free: 380 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.482e-05/0.6709, allocations: 16.3 kB / 0.9593 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.991e-05/0.671, allocations: 51.12 kB / 0.9594 GB, free: 328 kB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.671, allocations: 0 / 0.9594 GB, free: 328 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.443/2.114, allocations: 2.66 MB / 0.962 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003002/2.115, allocations: 259.4 kB / 0.9622 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/4.184, allocations: 0 / 0.9622 GB, free: 14.83 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)