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.001222/0.001221, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 191.2 kB / 16.53 MB, free: 6.391 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.33 kB / 0.9121 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3868, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.003559/0.3904, allocations: 1.31 MB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3924, allocations: 1.088 MB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.3927, allocations: 8 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.393, allocations: 27.61 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.3932, allocations: 39.59 kB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.3936, allocations: 107.8 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.3941, allocations: 300.4 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.3945, allocations: 176.8 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.3947, allocations: 123.5 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.395, allocations: 131.3 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.966e-05/0.395, allocations: 32 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.346e-05/0.3951, allocations: 32 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.3952, allocations: 59.84 kB / 1.072 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.3953, allocations: 131.3 kB / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004785/0.3958, allocations: 402.9 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3958, allocations: 3.938 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3958, allocations: 0 / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.466e-05/0.3958, allocations: 0 / 1.072 GB, free: 6.461 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.001092/0.3969, allocations: 0.5458 MB / 1.073 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.397, allocations: 8.031 kB / 1.073 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.3971, allocations: 32.56 kB / 1.073 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005882/0.3977, allocations: 325 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.3977, allocations: 20.94 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.3978, allocations: 24.38 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.3983, allocations: 241.4 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3983, allocations: 192 / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.3984, allocations: 15.94 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.3984, allocations: 11.98 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004658/0.3988, allocations: 182.1 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.4001, allocations: 0.69 MB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.4005, allocations: 186.7 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.4007, allocations: 75.27 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.4008, allocations: 7.984 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.4008, allocations: 30.56 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.794e-06/0.4008, allocations: 0 / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0006657/0.4015, allocations: 241.2 kB / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.4015, allocations: 55.41 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.4018, allocations: 207.6 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.4018, allocations: 29.7 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.4019, allocations: 168.5 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.402, allocations: 55.28 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.4021, allocations: 65.83 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.4023, allocations: 326.8 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.4025, allocations: 64.42 kB / 1.076 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.4027, allocations: 132.9 kB / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.4031, allocations: 176.1 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4031, allocations: 0 / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005059/0.4036, allocations: 223 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4036, allocations: 12.22 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4037, allocations: 0 / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.4037, allocations: 4 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.4039, allocations: 43.91 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.4039, allocations: 4 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.404, allocations: 23.83 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.404, allocations: 8 kB / 1.076 GB, free: 2.012 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.0002165/0.4043, allocations: 161.6 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.4043, allocations: 19.72 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.4044, allocations: 29.8 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.4044, allocations: 4 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4044, allocations: 0 / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4044, allocations: 0 / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.4048, allocations: 309.4 kB / 1.077 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4048, allocations: 0 / 1.077 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.4049, allocations: 23.97 kB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.405, allocations: 4 kB / 1.077 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.405, allocations: 4 kB / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.405, allocations: 0 / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.405, allocations: 0 / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.4055, allocations: 281 kB / 1.077 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.4055, allocations: 96.8 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.4056, allocations: 15.98 kB / 1.077 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.4057, allocations: 8 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4058, allocations: 27.95 kB / 1.077 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.4058, allocations: 8 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001208/0.406, allocations: 137.5 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.406, allocations: 0 / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002967/0.4063, allocations: 51.75 kB / 1.077 GB, free: 0.7695 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.000178/0.4065, allocations: 117.6 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004977/0.407, allocations: 179.7 kB / 1.078 GB, free: 480 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.407, allocations: 4 kB / 1.078 GB, free: 476 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.4072, allocations: 84.33 kB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.4075, allocations: 32.81 kB / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00086/0.4084, allocations: 408.1 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.4088, allocations: 0.7448 MB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.409, allocations: 33.92 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.439e-05/0.4091, allocations: 27.42 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.4091, allocations: 0 / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.005969/0.415, allocations: 1.966 MB / 1.081 GB, free: 13.19 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)