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.001388/0.001388, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001201/0.001201, allocations: 193.3 kB / 16.14 MB, free: 6.703 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.495/1.495, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.047/3.047, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 65.22 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4141, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002445/0.4166, allocations: 1.195 MB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.4178, allocations: 1.014 MB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.819e-05/0.4179, allocations: 4 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.131e-05/0.4179, allocations: 11.86 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.4181, allocations: 15.84 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.4183, allocations: 71.91 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.4185, allocations: 212.2 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.4187, allocations: 124.1 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.4189, allocations: 83.64 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.419, allocations: 91.53 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.419, allocations: 19.94 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.62e-05/0.4191, allocations: 12 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.4191, allocations: 43.78 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.952e-05/0.4192, allocations: 87.47 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.4195, allocations: 287.2 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4195, allocations: 3.984 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.02e-07/0.4195, allocations: 0 / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.4195, allocations: 0 / 1.071 GB, free: 7.562 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.0006909/0.4202, allocations: 499.1 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.4202, allocations: 12.03 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.4203, allocations: 24.66 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.4208, allocations: 275 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.4208, allocations: 16.81 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.4209, allocations: 20.38 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.4213, allocations: 203.7 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.4213, allocations: 4.188 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.4213, allocations: 11.94 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4213, allocations: 8 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.4217, allocations: 157.6 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007925/0.4225, allocations: 0.5878 MB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.4229, allocations: 170.5 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.4231, allocations: 64.83 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.4231, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.4231, allocations: 34.56 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 2.044e-06/0.4231, allocations: 0 / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0005981/0.4237, allocations: 222.7 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.4238, allocations: 55.41 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.4239, allocations: 183.9 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.424, allocations: 25.7 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.4241, allocations: 144.2 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.4241, allocations: 43.39 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.4242, allocations: 53.69 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4243, allocations: 330.8 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.4245, allocations: 55.95 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.4247, allocations: 94.05 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.425, allocations: 146.7 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.425, allocations: 0 / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004197/0.4254, allocations: 199 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4255, allocations: 8 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4255, allocations: 0 / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4255, allocations: 7.938 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.4257, allocations: 27.98 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.4257, allocations: 3.984 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.4258, allocations: 24 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.4259, allocations: 11.98 kB / 1.074 GB, free: 3.648 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.0001817/0.426, allocations: 145.8 kB / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.4261, allocations: 19.75 kB / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.4261, allocations: 25.88 kB / 1.074 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4261, allocations: 0 / 1.074 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4261, allocations: 0 / 1.074 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4262, allocations: 7.984 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.4264, allocations: 273.4 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4265, allocations: 0 / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.4266, allocations: 27.92 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4266, allocations: 4 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4266, allocations: 0 / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4266, allocations: 0 / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4266, allocations: 0 / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.4271, allocations: 267.1 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.4271, allocations: 88.95 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.4272, allocations: 8 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.4273, allocations: 7.984 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.4274, allocations: 31.75 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.4274, allocations: 8 kB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.175e-05/0.4275, allocations: 128.2 kB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4275, allocations: 4 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002738/0.4278, allocations: 35.84 kB / 1.075 GB, free: 2.5 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: 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.0001415/0.4279, allocations: 112.9 kB / 1.075 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000405/0.4283, allocations: 149.6 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4284, allocations: 0 / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.4285, allocations: 75.89 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.4289, allocations: 24.58 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006773/0.4296, allocations: 416.2 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.4298, allocations: 0.7283 MB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.43, allocations: 21.53 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.43, allocations: 19.44 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.43, allocations: 4 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of Templates: time 0.004242/0.4343, allocations: 1.338 MB / 1.078 GB, free: 15.62 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)