Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0008381/0.0008381, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.005727/0.005727, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.486/1.486, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004003, allocations: 10 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4004, allocations: 162.2 MB / 1.074 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002247/0.4027, allocations: 0.991 MB / 1.075 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.4047, allocations: 1.057 MB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.4049, allocations: 8 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.405, allocations: 19.78 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.4052, allocations: 23.78 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.4055, allocations: 95.88 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.4059, allocations: 276.4 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004042/0.4063, allocations: 168.8 kB / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.4065, allocations: 83.45 kB / 1.077 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.4067, allocations: 83.44 kB / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.4068, allocations: 8 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.887e-05/0.4068, allocations: 8 kB / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.4069, allocations: 39.83 kB / 1.077 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.407, allocations: 125 kB / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004592/0.4075, allocations: 366.8 kB / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.4075, allocations: 0 / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4075, allocations: 3.938 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.4076, allocations: 0 / 1.077 GB, free: 4.113 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.001075/0.4086, allocations: 0.507 MB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.4087, allocations: 12.03 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.997e-05/0.4088, allocations: 28.56 kB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007669/0.4096, allocations: 329 kB / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.4096, allocations: 20.94 kB / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.4097, allocations: 24.38 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.4104, allocations: 249.4 kB / 1.079 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4105, allocations: 192 / 1.079 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.824e-05/0.4105, allocations: 11.94 kB / 1.079 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.4105, allocations: 8 kB / 1.079 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007281/0.4113, allocations: 202.1 kB / 1.079 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.4128, allocations: 0.6978 MB / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000645/0.4135, allocations: 182.7 kB / 1.08 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.4138, allocations: 84.81 kB / 1.08 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.4138, allocations: 0 / 1.08 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.4138, allocations: 38.56 kB / 1.08 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.4139, allocations: 0 / 1.08 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0009947/0.4149, allocations: 250.7 kB / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.4149, allocations: 55.41 kB / 1.08 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.4152, allocations: 215.5 kB / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.4153, allocations: 29.7 kB / 1.08 GB, free: 1 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.4154, allocations: 176.4 kB / 1.08 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.012e-05/0.4155, allocations: 51.3 kB / 1.08 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/0.4156, allocations: 37.7 kB / 1.081 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.4158, allocations: 334.8 kB / 1.081 GB, free: 400 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.4161, allocations: 68.42 kB / 1.081 GB, free: 328 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.4165, allocations: 131.8 kB / 1.081 GB, free: 172 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/0.4171, allocations: 196.5 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4171, allocations: 0 / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007444/0.4178, allocations: 234.6 kB / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4179, allocations: 8 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4179, allocations: 0 / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.4179, allocations: 4 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.4182, allocations: 47.91 kB / 1.082 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.4182, allocations: 4 kB / 1.082 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.4185, allocations: 35.95 kB / 1.082 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.4185, allocations: 8 kB / 1.082 GB, free: 15.61 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.0002372/0.4188, allocations: 153.7 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.4188, allocations: 19.81 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.013e-05/0.4189, allocations: 25.86 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.4189, allocations: 7.938 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.419, allocations: 4 kB / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.419, allocations: 0 / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.4195, allocations: 309.3 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4195, allocations: 4 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.4197, allocations: 35.89 kB / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.4197, allocations: 0 / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.4198, allocations: 4 kB / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4198, allocations: 0 / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4198, allocations: 4 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006739/0.4205, allocations: 288.7 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/0.4206, allocations: 104.7 kB / 1.082 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.4206, allocations: 8 kB / 1.082 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.4208, allocations: 11.98 kB / 1.082 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.421, allocations: 31.95 kB / 1.083 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.421, allocations: 4 kB / 1.083 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000167/0.4212, allocations: 137.5 kB / 1.083 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4212, allocations: 0 / 1.083 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000515/0.4217, allocations: 47.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.0001987/0.4219, allocations: 118.7 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006712/0.4226, allocations: 185.7 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4226, allocations: 4 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.4229, allocations: 87.89 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.0005323/0.4235, allocations: 31.7 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.4246, allocations: 497.5 kB / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.4251, allocations: 0.7528 MB / 1.084 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002214/0.4253, allocations: 25.95 kB / 1.084 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.82e-05/0.4254, allocations: 27.42 kB / 1.084 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of SimCode: time 4e-07/0.4254, allocations: 0 / 1.084 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of Templates: time 0.007692/0.4331, allocations: 1.765 MB / 1.086 GB, free: 10.88 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)