Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.846/2.846, allocations: 287.5 MB / 302.4 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001423/0.001423, allocations: 186.7 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.31/2.31, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008924/0.0008925, allocations: 94.97 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005204/0.0005206, allocations: 11.14 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2669, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.005117/0.2721, allocations: 3.337 MB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004694/0.2768, allocations: 2.19 MB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009873/0.2779, allocations: 23.94 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005241/0.2784, allocations: 146.5 kB / 0.984 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004597/0.2789, allocations: 79.25 kB / 0.984 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.2804, allocations: 431.2 kB / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001783/0.2822, allocations: 1.362 MB / 0.9858 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.2836, allocations: 0.7093 MB / 0.9865 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005996/0.2842, allocations: 326.1 kB / 0.9868 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.2847, allocations: 401.3 kB / 0.9872 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.2848, allocations: 36 kB / 0.9872 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.285, allocations: 47.98 kB / 0.9872 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.2852, allocations: 171.1 kB / 0.9874 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.2854, allocations: 229 kB / 0.9876 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001875/0.2873, allocations: 1.714 MB / 0.9893 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.2873, allocations: 4 kB / 0.9893 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.026e-06/0.2873, allocations: 0 / 0.9893 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.687e-05/0.2874, allocations: 0 / 0.9893 GB, free: 17.07 MB / 0.6198 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.00325/0.2907, allocations: 1.344 MB / 0.9906 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.2907, allocations: 12.02 kB / 0.9906 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003809/0.2911, allocations: 158.1 kB / 0.9908 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.2925, allocations: 0.7267 MB / 0.9915 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.2927, allocations: 122.8 kB / 0.9916 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.2929, allocations: 140 kB / 0.9917 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003052/0.296, allocations: 1.135 MB / 0.9928 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/0.296, allocations: 0 / 0.9928 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/0.2962, allocations: 56 kB / 0.9929 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.2963, allocations: 32 kB / 0.9929 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002856/0.2991, allocations: 0.9833 MB / 0.9939 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007112/0.3063, allocations: 3.266 MB / 0.9971 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.3081, allocations: 0.5738 MB / 0.9976 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007721/0.3089, allocations: 266.7 kB / 0.9979 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.542e-05/0.309, allocations: 8.656 kB / 0.9979 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.3101, allocations: 413.8 kB / 0.9983 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 3.838e-06/0.3101, allocations: 0 / 0.9983 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.002625/0.3127, allocations: 0.8493 MB / 0.9991 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/0.3129, allocations: 162.8 kB / 0.9993 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.3143, allocations: 0.8859 MB / 1 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.3144, allocations: 49.69 kB / 1 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/0.3149, allocations: 0.593 MB / 1.001 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.3152, allocations: 252.5 kB / 1.001 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.711e-05/0.3152, allocations: 20 kB / 1.001 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.3153, allocations: 345.9 kB / 1.001 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009388/0.3163, allocations: 289.9 kB / 1.002 GB, free: 4.113 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.3173, allocations: 0.5153 MB / 1.002 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009746/0.3183, allocations: 352.6 kB / 1.002 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.3184, allocations: 4 kB / 1.002 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002527/0.3209, allocations: 0.9669 MB / 1.003 GB, free: 2.176 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/0.321, allocations: 41.69 kB / 1.003 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.321, allocations: 12 kB / 1.003 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/0.321, allocations: 12 kB / 1.003 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.3223, allocations: 171.7 kB / 1.004 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/0.3223, allocations: 15.94 kB / 1.004 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.3236, allocations: 214.5 kB / 1.004 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.725e-05/0.3237, allocations: 39.98 kB / 1.004 GB, free: 1.672 MB / 0.6198 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.not1.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.winSta.y,winSta.y,actAirSet_RehBox1.intEqu4.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.greThr1.y,actAirSet_RehBox1.gre.y,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.greThr1.y,actAirSet_RehBox.gre.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006501/0.3244, allocations: 297.5 kB / 1.004 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.3246, allocations: 106.6 kB / 1.004 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.3265, allocations: 0.6456 MB / 1.005 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.3265, allocations: 15.98 kB / 1.005 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.3265, allocations: 0 / 1.005 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.3265, allocations: 3.984 kB / 1.005 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005543/0.3321, allocations: 2.43 MB / 1.007 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.3321, allocations: 8.938 kB / 1.007 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.3332, allocations: 139.8 kB / 1.007 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-05/0.3332, allocations: 15.98 kB / 1.007 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.247e-05/0.3333, allocations: 20 kB / 1.007 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-05/0.3333, allocations: 11.94 kB / 1.008 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.768e-05/0.3334, allocations: 11.94 kB / 1.008 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.3358, allocations: 0.9753 MB / 1.008 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.3361, allocations: 199.6 kB / 1.009 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.3363, allocations: 24 kB / 1.009 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007972/0.3371, allocations: 67.89 kB / 1.009 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.3374, allocations: 92.12 kB / 1.009 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.836e-05/0.3375, allocations: 32.3 kB / 1.009 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001203/0.3387, allocations: 0.5704 MB / 1.009 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3387, allocations: 0 / 1.009 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001164/0.3399, allocations: 246.9 kB / 1.01 GB, free: 11.46 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000307/0.3402, allocations: 147 kB / 1.01 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0026/0.3428, allocations: 0.7834 MB / 1.011 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.3429, allocations: 0 / 1.011 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.3445, allocations: 426.7 kB / 1.011 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.3458, allocations: 136.6 kB / 1.011 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005204/0.3511, allocations: 2.298 MB / 1.013 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.3524, allocations: 1.081 MB / 1.014 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001536/0.354, allocations: 123.5 kB / 1.015 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005476/0.3545, allocations: 71.42 kB / 1.015 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of SimCode: time 2.425e-06/0.3546, allocations: 0 / 1.015 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of Templates: time 0.04451/0.3991, allocations: 7.641 MB / 1.022 GB, free: 14.68 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)