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.001328/0.001328, allocations: 103.4 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.001575/0.001575, allocations: 193.7 kB / 16.25 MB, free: 6.617 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.963/2.963, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 62.02 kB / 0.9116 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3687, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.003629/0.3723, allocations: 1.354 MB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.3742, allocations: 1.069 MB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003435/0.3746, allocations: 4 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.3748, allocations: 23.72 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.3751, allocations: 23.78 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.3755, allocations: 87.95 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004234/0.3759, allocations: 308.4 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003854/0.3763, allocations: 172.8 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.3765, allocations: 115.5 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.3768, allocations: 123.4 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.708e-05/0.3768, allocations: 32 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.576e-05/0.3769, allocations: 32 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.955e-05/0.377, allocations: 75.75 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.3771, allocations: 135.3 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.3776, allocations: 394.9 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3776, allocations: 4 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3776, allocations: 0 / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.3776, allocations: 0 / 1.072 GB, free: 6.828 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.001024/0.3787, allocations: 0.5419 MB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.3787, allocations: 12.03 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.3788, allocations: 32.56 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006612/0.3795, allocations: 324.9 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.3796, allocations: 20.94 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.3796, allocations: 24.38 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.3802, allocations: 237.4 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3802, allocations: 192 / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/0.3802, allocations: 23.88 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.3803, allocations: 4 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/0.3807, allocations: 186.1 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.382, allocations: 0.6939 MB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.3825, allocations: 180.4 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.3827, allocations: 76.81 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.3827, allocations: 0 / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.3828, allocations: 38.56 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.252e-06/0.3828, allocations: 0 / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0006742/0.3834, allocations: 235.7 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.3835, allocations: 51.41 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.3837, allocations: 219.5 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.3837, allocations: 25.7 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.3839, allocations: 164.5 kB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.3839, allocations: 51.3 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.384, allocations: 69.83 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3841, allocations: 334.8 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.3843, allocations: 68.42 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.3846, allocations: 123.8 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.3849, allocations: 178.6 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3849, allocations: 0 / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004917/0.3854, allocations: 227 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3855, allocations: 5.719 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.3855, allocations: 4 kB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3855, allocations: 4 kB / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.3857, allocations: 43.91 kB / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3857, allocations: 0 / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.3859, allocations: 23.83 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.3859, allocations: 15.94 kB / 1.076 GB, free: 2.375 MB / 0.8262 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.0002123/0.3861, allocations: 157.8 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.3862, allocations: 19.72 kB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.919e-05/0.3862, allocations: 25.86 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.3863, allocations: 4 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3863, allocations: 0 / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3863, allocations: 0 / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003827/0.3867, allocations: 317.2 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3867, allocations: 0 / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.3869, allocations: 27.97 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.3869, allocations: 0 / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.3869, allocations: 11.94 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3869, allocations: 0 / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3869, allocations: 0 / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/0.3874, allocations: 284.6 kB / 1.076 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.3875, allocations: 96.86 kB / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.3876, allocations: 8 kB / 1.077 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.3877, allocations: 7.984 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.89e-05/0.3878, allocations: 31.95 kB / 1.077 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.3878, allocations: 4 kB / 1.077 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001102/0.3879, allocations: 141.5 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3879, allocations: 0 / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003224/0.3883, allocations: 47.75 kB / 1.077 GB, free: 1.129 MB / 0.8262 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.0001707/0.3885, allocations: 114.2 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004876/0.3889, allocations: 179.7 kB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.389, allocations: 0 / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.3892, allocations: 90.39 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.3895, allocations: 36.55 kB / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008786/0.3904, allocations: 494 kB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.3908, allocations: 0.7448 MB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.391, allocations: 33.94 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.146e-05/0.391, allocations: 23.44 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3911, allocations: 0 / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of Templates: time 0.005837/0.3969, allocations: 1.857 MB / 1.08 GB, free: 13.58 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)