Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.001078/0.001078, allocations: 189.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 292.3 MB / 0.5492 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 64.42 kB / 0.6717 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2341, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003348/0.2375, allocations: 2.119 MB / 0.7856 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.2388, allocations: 0.7568 MB / 0.7863 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.239, allocations: 7.938 kB / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.2391, allocations: 23.8 kB / 0.7864 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.2392, allocations: 31.72 kB / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.2397, allocations: 143.9 kB / 0.7865 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.2401, allocations: 395.2 kB / 0.7869 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003484/0.2404, allocations: 236.4 kB / 0.7871 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.2406, allocations: 147.5 kB / 0.7873 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.2408, allocations: 143.4 kB / 0.7874 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.706e-05/0.2409, allocations: 39.98 kB / 0.7874 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.952e-05/0.241, allocations: 48 kB / 0.7875 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.81e-05/0.2411, allocations: 79.75 kB / 0.7876 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.2412, allocations: 155.2 kB / 0.7877 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.2415, allocations: 319.6 kB / 0.788 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2415, allocations: 0 / 0.788 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2415, allocations: 0 / 0.788 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.2416, allocations: 4 kB / 0.788 GB, free: 9.27 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.000865/0.2424, allocations: 0.5689 MB / 0.7886 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2425, allocations: 12.03 kB / 0.7886 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.949e-05/0.2426, allocations: 28.66 kB / 0.7886 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.2429, allocations: 275.7 kB / 0.7889 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.2429, allocations: 28.92 kB / 0.7889 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.243, allocations: 28.38 kB / 0.7889 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005642/0.2435, allocations: 320 kB / 0.7892 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.2436, allocations: 0 / 0.7892 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.2436, allocations: 8 kB / 0.7893 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.2436, allocations: 8 kB / 0.7893 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.2441, allocations: 238.1 kB / 0.7895 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.2455, allocations: 0.9402 MB / 0.7904 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.246, allocations: 235.6 kB / 0.7906 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.2462, allocations: 125.2 kB / 0.7907 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.2462, allocations: 4.234 kB / 0.7908 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003669/0.2466, allocations: 167.9 kB / 0.7909 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/0.2466, allocations: 0 / 0.7909 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006706/0.2473, allocations: 321.9 kB / 0.7912 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.2473, allocations: 59.41 kB / 0.7913 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.2475, allocations: 208.9 kB / 0.7915 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.2476, allocations: 41.64 kB / 0.7915 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.2477, allocations: 156.6 kB / 0.7917 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/0.2477, allocations: 74.86 kB / 0.7917 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.2478, allocations: 81.67 kB / 0.7918 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.248, allocations: 334.8 kB / 0.7921 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.2482, allocations: 91.95 kB / 0.7922 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.2484, allocations: 157 kB / 0.7924 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.2488, allocations: 216.8 kB / 0.7926 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2488, allocations: 0 / 0.7926 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005017/0.2493, allocations: 308.4 kB / 0.7929 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2493, allocations: 10.66 kB / 0.7929 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2493, allocations: 0 / 0.7929 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2493, allocations: 8.156 kB / 0.7929 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.2495, allocations: 43.84 kB / 0.7929 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2496, allocations: 0 / 0.7929 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.2498, allocations: 51.66 kB / 0.793 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.2498, allocations: 11.98 kB / 0.793 GB, free: 3.914 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.condition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.condition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001772/0.25, allocations: 181.7 kB / 0.7932 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.25, allocations: 23.8 kB / 0.7932 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005491/0.2506, allocations: 276.2 kB / 0.7934 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2506, allocations: 4 kB / 0.7935 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2506, allocations: 0 / 0.7935 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2506, allocations: 3.938 kB / 0.7935 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.2517, allocations: 0.7339 MB / 0.7942 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2517, allocations: 0 / 0.7942 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.2518, allocations: 27.92 kB / 0.7942 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.2518, allocations: 4 kB / 0.7942 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.2519, allocations: 4 kB / 0.7942 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2519, allocations: 0 / 0.7942 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2519, allocations: 3.984 kB / 0.7942 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.2523, allocations: 363.7 kB / 0.7946 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.2524, allocations: 96.77 kB / 0.7947 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.2525, allocations: 8 kB / 0.7947 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.2527, allocations: 23.97 kB / 0.7947 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.2528, allocations: 39.89 kB / 0.7947 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.2528, allocations: 11.98 kB / 0.7947 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001171/0.2529, allocations: 143.3 kB / 0.7949 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3e-07/0.2529, allocations: 0 / 0.7949 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003282/0.2533, allocations: 59.84 kB / 0.7949 GB, free: 1.824 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002117/0.2535, allocations: 129 kB / 0.795 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006018/0.2541, allocations: 263.7 kB / 0.7953 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2541, allocations: 4.312 kB / 0.7953 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.2543, allocations: 127.9 kB / 0.7954 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.2547, allocations: 35.92 kB / 0.7955 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008646/0.2556, allocations: 0.5783 MB / 0.796 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.256, allocations: 0.7603 MB / 0.7968 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.896e-05/0.2561, allocations: 31.42 kB / 0.7968 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.2561, allocations: 0 / 0.7968 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of Templates: time 0.005452/0.2616, allocations: 3.384 MB / 0.8001 GB, free: 12.47 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)