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.0009045/0.0009045, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009115/0.0009116, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.4 MB / 222.1 MB, free: 5.914 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.534/1.534, allocations: 292.6 MB / 0.5497 GB, free: 14.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.0004758/0.0004758, allocations: 13.72 kB / 0.6735 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2134, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002313/0.2157, allocations: 1.704 MB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.217, allocations: 0.7338 MB / 0.7895 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.2173, allocations: 4 kB / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.2174, allocations: 23.78 kB / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.2176, allocations: 35.88 kB / 0.7896 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.218, allocations: 103.8 kB / 0.7897 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.2184, allocations: 219.6 kB / 0.7899 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003513/0.2187, allocations: 195 kB / 0.7901 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.2189, allocations: 95.62 kB / 0.7901 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.2191, allocations: 111.5 kB / 0.7903 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.956e-05/0.2192, allocations: 12 kB / 0.7903 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.549e-05/0.2192, allocations: 27.92 kB / 0.7903 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.19e-05/0.2193, allocations: 47.83 kB / 0.7903 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.52e-05/0.2194, allocations: 69.58 kB / 0.7904 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.2197, allocations: 295.5 kB / 0.7907 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2197, allocations: 4 kB / 0.7907 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2197, allocations: 4 kB / 0.7907 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.2197, allocations: 3.938 kB / 0.7907 GB, free: 8.277 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.0007945/0.2205, allocations: 0.5181 MB / 0.7912 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2205, allocations: 8.031 kB / 0.7912 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.492e-05/0.2206, allocations: 27.72 kB / 0.7912 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.2209, allocations: 274.5 kB / 0.7915 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.221, allocations: 20.56 kB / 0.7915 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.221, allocations: 35.94 kB / 0.7916 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/0.2216, allocations: 319.6 kB / 0.7919 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2216, allocations: 0 / 0.7919 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.2217, allocations: 15.92 kB / 0.7919 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.2217, allocations: 12 kB / 0.7919 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.2222, allocations: 238.1 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.2236, allocations: 0.9442 MB / 0.793 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.2241, allocations: 247.6 kB / 0.7933 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.2241, allocations: 4.234 kB / 0.7933 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/0.2244, allocations: 172 kB / 0.7934 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.813e-06/0.2245, allocations: 0 / 0.7934 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006541/0.2251, allocations: 337.8 kB / 0.7938 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.2252, allocations: 63.39 kB / 0.7938 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.2254, allocations: 204 kB / 0.794 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.2254, allocations: 41.7 kB / 0.7941 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.833e-05/0.2255, allocations: 152.6 kB / 0.7942 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.2256, allocations: 78.94 kB / 0.7943 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.2256, allocations: 8 kB / 0.7943 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.2257, allocations: 334.8 kB / 0.7946 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.2259, allocations: 95.95 kB / 0.7947 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.2261, allocations: 161 kB / 0.7948 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.2263, allocations: 95.73 kB / 0.7949 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2263, allocations: 0 / 0.7949 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004912/0.2268, allocations: 304.7 kB / 0.7952 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2268, allocations: 8 kB / 0.7952 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2269, allocations: 160 / 0.7952 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2269, allocations: 8 kB / 0.7952 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.2271, allocations: 47.91 kB / 0.7953 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2271, allocations: 4 kB / 0.7953 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.2273, allocations: 51.66 kB / 0.7953 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.2273, allocations: 23.98 kB / 0.7954 GB, free: 3.25 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,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001596/0.2275, allocations: 173.7 kB / 0.7955 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.2275, allocations: 19.72 kB / 0.7956 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.2281, allocations: 280.2 kB / 0.7958 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2281, allocations: 11.92 kB / 0.7958 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2281, allocations: 0 / 0.7958 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2281, allocations: 0 / 0.7958 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009585/0.2291, allocations: 0.7418 MB / 0.7966 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2291, allocations: 0 / 0.7966 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.2292, allocations: 35.91 kB / 0.7966 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2292, allocations: 0 / 0.7966 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.2293, allocations: 8 kB / 0.7966 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2293, allocations: 0 / 0.7966 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2293, allocations: 0 / 0.7966 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.2297, allocations: 375.6 kB / 0.797 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.2298, allocations: 100.7 kB / 0.797 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.2298, allocations: 8 kB / 0.7971 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.2301, allocations: 35.97 kB / 0.7971 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.907e-05/0.2302, allocations: 35.94 kB / 0.7971 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.2302, allocations: 12 kB / 0.7971 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.307e-05/0.2303, allocations: 140.1 kB / 0.7973 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2303, allocations: 0 / 0.7973 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002992/0.2306, allocations: 67.8 kB / 0.7973 GB, free: 1.125 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 (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.0001573/0.2308, allocations: 129 kB / 0.7975 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000471/0.2312, allocations: 251.8 kB / 0.7977 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2313, allocations: 0 / 0.7977 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.2315, allocations: 132.2 kB / 0.7978 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.2317, allocations: 28.11 kB / 0.7979 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007362/0.2325, allocations: 0.541 MB / 0.7984 GB, free: 28 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.2328, allocations: 0.7761 MB / 0.7991 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.2329, allocations: 26.28 kB / 0.7992 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.233, allocations: 19.44 kB / 0.7992 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.233, allocations: 8 kB / 0.7992 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of Templates: time 0.005604/0.2386, allocations: 2.557 MB / 0.8017 GB, free: 12.63 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: