Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 91.84 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.009168/0.009169, allocations: 170.2 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.635/1.635, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.998/2.998, allocations: 473.4 MB / 0.7469 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004015, allocations: 16.66 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3536, allocations: 162.2 MB / 1.074 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.001799/0.3554, allocations: 0.991 MB / 1.075 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.3571, allocations: 1.057 MB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.3574, allocations: 7.938 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.3575, allocations: 27.78 kB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.3577, allocations: 15.8 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.358, allocations: 99.92 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003464/0.3584, allocations: 272.4 kB / 1.077 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.3587, allocations: 172.8 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.3589, allocations: 79.52 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.3591, allocations: 91.36 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.3591, allocations: 8 kB / 1.077 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.737e-05/0.3592, allocations: 8 kB / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.3592, allocations: 27.86 kB / 1.077 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.3594, allocations: 121 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.3597, allocations: 370.8 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3598, allocations: 4 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.777e-06/0.3598, allocations: 4 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.3598, allocations: 0 / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009137/0.3607, allocations: 0.4992 MB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3608, allocations: 12.03 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.219e-05/0.3608, allocations: 32.56 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/0.3615, allocations: 329 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.3615, allocations: 20.94 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-05/0.3616, allocations: 24.38 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/0.3621, allocations: 249.4 kB / 1.079 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3622, allocations: 192 / 1.079 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.3622, allocations: 15.94 kB / 1.079 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.3622, allocations: 8 kB / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.3627, allocations: 202.1 kB / 1.079 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.3639, allocations: 0.6899 MB / 1.079 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.3644, allocations: 190.7 kB / 1.08 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.3646, allocations: 80.86 kB / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.3646, allocations: 0 / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.3646, allocations: 46.55 kB / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.412e-06/0.3646, allocations: 0 / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0007012/0.3653, allocations: 251 kB / 1.08 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3654, allocations: 55.41 kB / 1.08 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.3656, allocations: 211.5 kB / 1.08 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.3656, allocations: 29.7 kB / 1.08 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.3658, allocations: 172.4 kB / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.3658, allocations: 47.3 kB / 1.08 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.3659, allocations: 41.7 kB / 1.081 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.366, allocations: 338.8 kB / 1.081 GB, free: 388 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.3662, allocations: 72.42 kB / 1.081 GB, free: 312 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.3665, allocations: 131.7 kB / 1.081 GB, free: 156 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.3669, allocations: 188.3 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3669, allocations: 8 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005091/0.3674, allocations: 239 kB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3674, allocations: 9.094 kB / 1.081 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3674, allocations: 0 / 1.081 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3675, allocations: 4 kB / 1.081 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.3677, allocations: 47.91 kB / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3677, allocations: 0 / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.3678, allocations: 35.73 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.3679, allocations: 8.031 kB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.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 (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 prepare postOptimizeDAE: time 0.0001856/0.3681, allocations: 157.7 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.3681, allocations: 15.81 kB / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/0.3682, allocations: 29.86 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3682, allocations: 0 / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3682, allocations: 0 / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3682, allocations: 0 / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.3686, allocations: 309.3 kB / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3686, allocations: 4 kB / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.3687, allocations: 27.97 kB / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3688, allocations: 4 kB / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.3688, allocations: 4 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3688, allocations: 0 / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3688, allocations: 0 / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/0.3693, allocations: 296.3 kB / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.3693, allocations: 100.7 kB / 1.082 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.3694, allocations: 4 kB / 1.082 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.3695, allocations: 19.98 kB / 1.082 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.3696, allocations: 27.95 kB / 1.083 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3696, allocations: 8 kB / 1.083 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001208/0.3698, allocations: 137.5 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3698, allocations: 0 / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002888/0.3701, allocations: 43.84 kB / 1.083 GB, free: 14.35 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001701/0.3702, allocations: 117.4 kB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004543/0.3707, allocations: 179.8 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3707, allocations: 448 / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.3709, allocations: 93.27 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.3713, allocations: 43.58 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007685/0.3721, allocations: 497.5 kB / 1.084 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.3724, allocations: 0.7528 MB / 1.084 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.3726, allocations: 29.92 kB / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.3727, allocations: 23.44 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3727, allocations: 4 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.005137/0.3778, allocations: 1.763 MB / 1.086 GB, free: 10.87 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)