Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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_master_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.647/2.647, allocations: 287.9 MB / 302.9 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001454/0.001454, allocations: 173.2 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 98.91 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004645, allocations: 15.59 kB / 0.8663 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1995, allocations: 115.3 MB / 0.9788 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.007131/0.2067, allocations: 3.376 MB / 0.9821 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006273/0.2131, allocations: 2.174 MB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.2147, allocations: 27.94 kB / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005191/0.2153, allocations: 102.8 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.2166, allocations: 151.3 kB / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.219, allocations: 451 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002545/0.2216, allocations: 0.8547 MB / 0.9858 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001984/0.2236, allocations: 0.7054 MB / 0.9865 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008331/0.2245, allocations: 330.2 kB / 0.9868 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005801/0.2251, allocations: 397.3 kB / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.2254, allocations: 36 kB / 0.9872 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.2256, allocations: 55.91 kB / 0.9872 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.2259, allocations: 171.1 kB / 0.9874 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.2262, allocations: 228.9 kB / 0.9876 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.2288, allocations: 1.71 MB / 0.9893 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-05/0.2289, allocations: 0 / 0.9893 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.589e-06/0.2289, allocations: 4 kB / 0.9893 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.243e-05/0.2289, allocations: 0 / 0.9893 GB, free: 17.31 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.002244/0.2312, allocations: 1.356 MB / 0.9906 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2313, allocations: 12.02 kB / 0.9906 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002784/0.2315, allocations: 162.1 kB / 0.9908 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.2327, allocations: 0.7229 MB / 0.9915 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.2328, allocations: 114.8 kB / 0.9916 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.2331, allocations: 136 kB / 0.9917 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003767/0.2368, allocations: 1.127 MB / 0.9928 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.839e-05/0.237, allocations: 0 / 0.9928 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/0.2372, allocations: 59.98 kB / 0.9929 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.103e-05/0.2373, allocations: 36 kB / 0.9929 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004616/0.2419, allocations: 0.9716 MB / 0.9939 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.253, allocations: 3.274 MB / 0.9971 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.2558, allocations: 0.578 MB / 0.9976 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.887e-05/0.2559, allocations: 8.656 kB / 0.9976 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/0.2576, allocations: 401.9 kB / 0.998 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 7.192e-06/0.2576, allocations: 0 / 0.998 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.00406/0.2617, allocations: 0.853 MB / 0.9989 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/0.2618, allocations: 166.8 kB / 0.999 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.2641, allocations: 0.882 MB / 0.9999 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.2643, allocations: 53.64 kB / 0.9999 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007601/0.2651, allocations: 0.5965 MB / 1.001 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.2655, allocations: 240.5 kB / 1.001 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.2656, allocations: 20 kB / 1.001 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2658, allocations: 341.9 kB / 1.001 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.2672, allocations: 293.9 kB / 1.001 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/0.2689, allocations: 0.5075 MB / 1.002 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.2704, allocations: 360.6 kB / 1.002 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.2704, allocations: 0 / 1.002 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003977/0.2744, allocations: 0.9708 MB / 1.003 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.125e-05/0.2746, allocations: 41.7 kB / 1.003 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.2746, allocations: 8 kB / 1.003 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-05/0.2747, allocations: 15.98 kB / 1.003 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.2762, allocations: 175.7 kB / 1.003 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-05/0.2763, allocations: 15.94 kB / 1.003 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.2782, allocations: 220.4 kB / 1.004 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/0.2784, allocations: 39.98 kB / 1.004 GB, free: 2.184 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.0009823/0.2794, allocations: 293.5 kB / 1.004 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.2797, allocations: 98.69 kB / 1.004 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/0.2825, allocations: 0.6533 MB / 1.005 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.2826, allocations: 8 kB / 1.005 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.2826, allocations: 0.5 kB / 1.005 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.2827, allocations: 3.984 kB / 1.005 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008597/0.2913, allocations: 2.435 MB / 1.007 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/0.2914, allocations: 12 kB / 1.007 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/0.2928, allocations: 139.9 kB / 1.007 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.483e-05/0.2929, allocations: 12 kB / 1.007 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.293, allocations: 27.98 kB / 1.007 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.66e-05/0.2931, allocations: 8 kB / 1.007 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.258e-05/0.2931, allocations: 11.94 kB / 1.007 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004079/0.2972, allocations: 1.331 MB / 1.009 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005851/0.2978, allocations: 195.6 kB / 1.009 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/0.2982, allocations: 31.98 kB / 1.009 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.2995, allocations: 55.97 kB / 1.009 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003651/0.2999, allocations: 96.11 kB / 1.009 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/0.3001, allocations: 39.92 kB / 1.009 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001894/0.302, allocations: 0.5626 MB / 1.009 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.619e-06/0.302, allocations: 0 / 1.009 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002098/0.3042, allocations: 246.9 kB / 1.01 GB, free: 11.45 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.0004563/0.3047, allocations: 147 kB / 1.01 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003258/0.3079, allocations: 0.7874 MB / 1.011 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.308, allocations: 4 kB / 1.011 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.3094, allocations: 422.8 kB / 1.011 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008704/0.3103, allocations: 116.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.004685/0.315, allocations: 2.288 MB / 1.013 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.3161, allocations: 1.108 MB / 1.014 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007896/0.3169, allocations: 123.5 kB / 1.015 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.3172, allocations: 75.42 kB / 1.015 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of SimCode: time 3.913e-06/0.3172, allocations: 0 / 1.015 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of Templates: time 0.03552/0.3528, allocations: 7.626 MB / 1.022 GB, free: 14.7 MB / 0.6511 GB