Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 98.27 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.01297/0.01297, allocations: 169.7 kB / 16.27 MB, free: 6.363 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.608/1.608, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.144/3.144, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000515/0.0005152, allocations: 10.44 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4091, allocations: 162.2 MB / 1.074 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002165/0.4114, allocations: 0.8276 MB / 1.075 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002279/0.4137, allocations: 0.9947 MB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003129/0.414, allocations: 11.94 kB / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.4142, allocations: 19.78 kB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.4145, allocations: 19.86 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.4149, allocations: 63.95 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.4153, allocations: 212.2 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.4157, allocations: 128 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.4161, allocations: 67.64 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.4163, allocations: 63.58 kB / 1.077 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.4163, allocations: 8 kB / 1.077 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.118e-05/0.4164, allocations: 4 kB / 1.077 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.4164, allocations: 35.78 kB / 1.077 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.4166, allocations: 101.2 kB / 1.077 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.417, allocations: 279.1 kB / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.417, allocations: 0 / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.617e-06/0.417, allocations: 4 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.417, allocations: 4 kB / 1.077 GB, free: 4.652 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001083/0.4181, allocations: 455.2 kB / 1.077 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.4182, allocations: 8.031 kB / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.4183, allocations: 24.66 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.419, allocations: 291.2 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.4191, allocations: 20.81 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.4191, allocations: 16.38 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00055/0.4197, allocations: 211.8 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4197, allocations: 4.125 kB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.4198, allocations: 11.94 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.4198, allocations: 4 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.4203, allocations: 173.6 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.4214, allocations: 0.5956 MB / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.4219, allocations: 162.6 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.4221, allocations: 76.81 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.4221, allocations: 80 / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.4221, allocations: 34.56 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.874e-06/0.4221, allocations: 4 kB / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006759/0.4228, allocations: 230.7 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.4229, allocations: 55.41 kB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.4231, allocations: 175.9 kB / 1.079 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.4231, allocations: 37.7 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.4233, allocations: 144.1 kB / 1.08 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.4233, allocations: 47.39 kB / 1.08 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.4234, allocations: 41.58 kB / 1.08 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.4235, allocations: 326.8 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.4237, allocations: 59.95 kB / 1.08 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.424, allocations: 106.4 kB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.4244, allocations: 158.3 kB / 1.08 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.4244, allocations: 8 kB / 1.08 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004835/0.4249, allocations: 206.6 kB / 1.08 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.4249, allocations: 8.156 kB / 1.08 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.4249, allocations: 4 kB / 1.08 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4249, allocations: 4 kB / 1.08 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.4252, allocations: 39.91 kB / 1.081 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.4252, allocations: 0 / 1.081 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.4253, allocations: 27.83 kB / 1.081 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.4253, allocations: 8 kB / 1.081 GB, free: 0.6836 MB / 0.8262 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.0001771/0.4255, allocations: 145.8 kB / 1.081 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.4256, allocations: 19.75 kB / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.4256, allocations: 17.88 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.4256, allocations: 4 kB / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.4257, allocations: 3.984 kB / 1.081 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4257, allocations: 0 / 1.081 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.426, allocations: 269.5 kB / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.426, allocations: 3.938 kB / 1.081 GB, free: 180 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.4261, allocations: 27.98 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4261, allocations: 3.938 kB / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.4262, allocations: 7.984 kB / 1.081 GB, free: 140 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.4262, allocations: 4 kB / 1.081 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4262, allocations: 0 / 1.081 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004808/0.4267, allocations: 264.9 kB / 1.081 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/0.4267, allocations: 100.8 kB / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.4268, allocations: 0 / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.4269, allocations: 15.98 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.427, allocations: 23.97 kB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.427, allocations: 11.94 kB / 1.081 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001076/0.4271, allocations: 124.2 kB / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4272, allocations: 0 / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002892/0.4275, allocations: 39.75 kB / 1.082 GB, free: 15.53 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: 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.0001539/0.4276, allocations: 115.2 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000448/0.4281, allocations: 153.4 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4281, allocations: 0 / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.4283, allocations: 92.2 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.4286, allocations: 27.86 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007429/0.4294, allocations: 420.3 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.4297, allocations: 0.7322 MB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001234/0.4298, allocations: 25.53 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.4299, allocations: 15.44 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of SimCode: time 4.2e-07/0.4299, allocations: 0 / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.004658/0.4346, allocations: 1.327 MB / 1.084 GB, free: 12.63 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1)