Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.425/2.425, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00137/0.00137, allocations: 188 kB / 325.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.484/2.484, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009013/0.0009011, allocations: 88.17 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004543, allocations: 14.84 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2124, allocations: 106.3 MB / 0.899 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002528/0.215, allocations: 1.719 MB / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.2166, allocations: 0.7336 MB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.2168, allocations: 4 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.2169, allocations: 23.73 kB / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.2171, allocations: 31.7 kB / 0.9015 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.2175, allocations: 103.9 kB / 0.9016 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000413/0.2179, allocations: 347.2 kB / 0.9019 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003538/0.2183, allocations: 205.5 kB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.2185, allocations: 99.62 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.2187, allocations: 107.5 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.2187, allocations: 12 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-05/0.2188, allocations: 27.92 kB / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.2189, allocations: 51.81 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.219, allocations: 65.58 kB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.2193, allocations: 295.5 kB / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2194, allocations: 4 kB / 0.9028 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.895e-06/0.2194, allocations: 0 / 0.9028 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2194, allocations: 3.938 kB / 0.9028 GB, free: 61.53 MB / 0.6042 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.0009823/0.2204, allocations: 0.5183 MB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2204, allocations: 12.03 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.667e-05/0.2205, allocations: 32.56 kB / 0.9033 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.2209, allocations: 264 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.2209, allocations: 28.94 kB / 0.9036 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.937e-05/0.221, allocations: 28.38 kB / 0.9036 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007918/0.2218, allocations: 319.7 kB / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.2218, allocations: 4 kB / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.2219, allocations: 15.98 kB / 0.9039 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.2219, allocations: 15.92 kB / 0.904 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000747/0.2227, allocations: 234.1 kB / 0.9042 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.2246, allocations: 0.9479 MB / 0.9051 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007607/0.2254, allocations: 266.8 kB / 0.9054 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.2258, allocations: 121.3 kB / 0.9055 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.2258, allocations: 240 / 0.9055 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004535/0.2263, allocations: 171.9 kB / 0.9056 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 2.505e-06/0.2263, allocations: 0 / 0.9056 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.001045/0.2274, allocations: 333.4 kB / 0.906 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.2274, allocations: 59.41 kB / 0.906 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.2276, allocations: 202.2 kB / 0.9062 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.082e-05/0.2277, allocations: 41.7 kB / 0.9062 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.2278, allocations: 152.6 kB / 0.9064 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.797e-05/0.2279, allocations: 82.89 kB / 0.9065 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.228, allocations: 8 kB / 0.9065 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.557e-05/0.2281, allocations: 334.8 kB / 0.9068 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.2284, allocations: 99.95 kB / 0.9069 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.2287, allocations: 149 kB / 0.907 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.2291, allocations: 91.98 kB / 0.9071 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.2291, allocations: 3.938 kB / 0.9071 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008054/0.2299, allocations: 316.5 kB / 0.9074 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2299, allocations: 4 kB / 0.9074 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.23, allocations: 4 kB / 0.9074 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.23, allocations: 7.984 kB / 0.9074 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.2303, allocations: 43.91 kB / 0.9075 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.2304, allocations: 3.938 kB / 0.9075 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.2307, allocations: 59.78 kB / 0.9075 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.2308, allocations: 19.98 kB / 0.9076 GB, free: 56.36 MB / 0.6042 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.0002271/0.231, allocations: 161.7 kB / 0.9077 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.2311, allocations: 19.81 kB / 0.9077 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008211/0.2319, allocations: 280.2 kB / 0.908 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2319, allocations: 4 kB / 0.908 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.232, allocations: 3.984 kB / 0.908 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.232, allocations: 4 kB / 0.908 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.2334, allocations: 0.7412 MB / 0.9087 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2334, allocations: 0 / 0.9087 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.2337, allocations: 39.91 kB / 0.9088 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.2337, allocations: 4 kB / 0.9088 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.2338, allocations: 8 kB / 0.9088 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.2338, allocations: 0 / 0.9088 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2338, allocations: 7.922 kB / 0.9088 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.2345, allocations: 359.2 kB / 0.9091 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.2346, allocations: 108.6 kB / 0.9092 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.2346, allocations: 8 kB / 0.9093 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.235, allocations: 31.97 kB / 0.9093 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.2351, allocations: 43.88 kB / 0.9093 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.2352, allocations: 16 kB / 0.9093 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001185/0.2353, allocations: 140.1 kB / 0.9095 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2353, allocations: 0 / 0.9095 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004503/0.2358, allocations: 63.78 kB / 0.9095 GB, free: 54.23 MB / 0.6042 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.0001859/0.236, allocations: 121 kB / 0.9096 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007543/0.2367, allocations: 255.8 kB / 0.9099 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2368, allocations: 0 / 0.9099 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.2371, allocations: 128.4 kB / 0.91 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.2376, allocations: 36.28 kB / 0.91 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.2387, allocations: 0.535 MB / 0.9106 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.239, allocations: 0.7605 MB / 0.9113 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001833/0.2392, allocations: 30.28 kB / 0.9113 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.2393, allocations: 23.42 kB / 0.9114 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of SimCode: time 8.72e-07/0.2393, allocations: 0 / 0.9114 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.008484/0.2478, allocations: 2.573 MB / 0.9139 GB, free: 49.75 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)