Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001926/0.001926, allocations: 198.5 kB / 16.14 MB, free: 6.688 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3677, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.005975/0.3737, allocations: 4.035 MB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00372/0.3774, allocations: 2.215 MB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000803/0.3783, allocations: 31.88 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.3788, allocations: 138.6 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003351/0.3792, allocations: 71.38 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.3804, allocations: 0.5693 MB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001282/0.3817, allocations: 1.385 MB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.3831, allocations: 0.9729 MB / 1.077 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005143/0.3836, allocations: 465.9 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004585/0.3841, allocations: 0.5595 MB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.3843, allocations: 88 kB / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.3845, allocations: 99.98 kB / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.3847, allocations: 266.8 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004774/0.3852, allocations: 0.5864 MB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.3868, allocations: 2.06 MB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3868, allocations: 0 / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3869, allocations: 0 / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.3869, allocations: 0 / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.002443/0.3893, allocations: 1.513 MB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3894, allocations: 8.031 kB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.3896, allocations: 155.1 kB / 1.082 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.3906, allocations: 0.7296 MB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.545e-05/0.3907, allocations: 111.2 kB / 1.083 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.3909, allocations: 144.4 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.393, allocations: 1.135 MB / 1.084 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.393, allocations: 4.125 kB / 1.084 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.3931, allocations: 59.94 kB / 1.085 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.89e-05/0.3931, allocations: 35.94 kB / 1.085 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.3949, allocations: 0.9482 MB / 1.086 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004735/0.3997, allocations: 3.146 MB / 1.089 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.4009, allocations: 0.5295 MB / 1.089 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005499/0.4014, allocations: 315.2 kB / 1.089 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-05/0.4015, allocations: 29.17 kB / 1.089 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007098/0.4022, allocations: 397.8 kB / 1.09 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=74): time 2.635e-06/0.4022, allocations: 0 / 1.09 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74): time 0.001667/0.4039, allocations: 0.7988 MB / 1.091 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.404, allocations: 166.8 kB / 1.091 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.405, allocations: 0.821 MB / 1.092 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.792e-05/0.4051, allocations: 49.69 kB / 1.092 GB, free: 1.859 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/0.4056, allocations: 0.5574 MB / 1.092 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.4058, allocations: 248.5 kB / 1.092 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.4061, allocations: 214.4 kB / 1.093 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.4063, allocations: 345.9 kB / 1.093 GB, free: 496 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/0.4069, allocations: 281.9 kB / 1.093 GB, free: 216 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007269/0.4076, allocations: 499.8 kB / 1.094 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.4088, allocations: 0.7295 MB / 1.094 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.4088, allocations: 0 / 1.094 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00168/0.4105, allocations: 0.9435 MB / 1.095 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.4106, allocations: 41.77 kB / 1.095 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.4106, allocations: 11.98 kB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.4106, allocations: 8 kB / 1.095 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/0.4113, allocations: 183.7 kB / 1.096 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.4113, allocations: 15.98 kB / 1.096 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007054/0.412, allocations: 186.4 kB / 1.096 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/0.4121, allocations: 39.98 kB / 1.096 GB, free: 13.38 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,actAirSet_RehBox1.conInt4.y,actAirSet_RehBox1.conInt3.y,actAirSet_RehBox1.conInt2.y,actAirSet_RehBox1.conInt1.y,actAirSet_RehBox1.conInt.y,actAirSet_RehBox.conInt4.y,actAirSet_RehBox.conInt3.y,actAirSet_RehBox.conInt2.y,actAirSet_RehBox.conInt1.y,actAirSet_RehBox.conInt.y,actAirSet_RehBox.gre.y,actAirSet_RehBox.greThr1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox1.gre.y,actAirSet_RehBox1.greThr1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu4.y,winSta.y,$PRE.winSta.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.greThr.greHys.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 1 * 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.0004512/0.4125, allocations: 281.6 kB / 1.096 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.4127, allocations: 90.78 kB / 1.096 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.4139, allocations: 0.6252 MB / 1.097 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.4139, allocations: 8 kB / 1.097 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.4139, allocations: 4 kB / 1.097 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.4139, allocations: 3.984 kB / 1.097 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/0.417, allocations: 2.319 MB / 1.099 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.4171, allocations: 8 kB / 1.099 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/0.4176, allocations: 139.7 kB / 1.099 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/0.4176, allocations: 11.94 kB / 1.099 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.484e-05/0.4176, allocations: 35.92 kB / 1.099 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.201e-05/0.4177, allocations: 12 kB / 1.099 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.4177, allocations: 12.38 kB / 1.099 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.419, allocations: 0.9401 MB / 1.1 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.4192, allocations: 191.7 kB / 1.1 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.844e-05/0.4193, allocations: 27.94 kB / 1.1 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.4197, allocations: 47.95 kB / 1.1 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.4198, allocations: 92.14 kB / 1.1 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.197e-05/0.4199, allocations: 35.98 kB / 1.101 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006456/0.4205, allocations: 0.5225 MB / 1.101 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4206, allocations: 0 / 1.101 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000754/0.4213, allocations: 250.9 kB / 1.101 GB, free: 7.434 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,winSta.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002212/0.4215, allocations: 140.8 kB / 1.101 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.4229, allocations: 0.7599 MB / 1.102 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4229, allocations: 128 / 1.102 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007326/0.4237, allocations: 375.9 kB / 1.102 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007828/0.4245, allocations: 123.3 kB / 1.103 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.4275, allocations: 2.304 MB / 1.105 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/0.4281, allocations: 1.061 MB / 1.106 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004878/0.4286, allocations: 127 kB / 1.106 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.4289, allocations: 87.41 kB / 1.106 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.4289, allocations: 0 / 1.106 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of Templates: time 0.01589/0.4448, allocations: 7.608 MB / 1.114 GB, free: 10.8 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)