Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009914/0.0009914, allocations: 182.4 kB / 326.5 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008234/0.0008233, allocations: 85.47 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.000337, allocations: 13.38 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2875, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002765/0.2903, allocations: 1.794 MB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.2917, allocations: 0.7641 MB / 0.8992 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.2919, allocations: 7.938 kB / 0.8993 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.2921, allocations: 27.73 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.2922, allocations: 27.78 kB / 0.8993 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.2927, allocations: 139.8 kB / 0.8994 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000398/0.2931, allocations: 359.2 kB / 0.8998 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003312/0.2934, allocations: 204.4 kB / 0.9 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.2936, allocations: 99.62 kB / 0.9001 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.2938, allocations: 119.3 kB / 0.9002 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.2938, allocations: 12 kB / 0.9002 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.691e-05/0.2939, allocations: 20 kB / 0.9002 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.294, allocations: 55.75 kB / 0.9003 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.2941, allocations: 123.3 kB / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.2944, allocations: 291.3 kB / 0.9007 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2945, allocations: 0 / 0.9007 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2945, allocations: 0 / 0.9007 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.2945, allocations: 4 kB / 0.9007 GB, free: 64.12 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.0008567/0.2954, allocations: 0.5221 MB / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.2954, allocations: 8.031 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.2955, allocations: 32.56 kB / 0.9012 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.2958, allocations: 275.8 kB / 0.9015 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.2959, allocations: 20.94 kB / 0.9015 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.2959, allocations: 32.38 kB / 0.9015 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006469/0.2966, allocations: 328 kB / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.2966, allocations: 3.938 kB / 0.9018 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.2966, allocations: 8 kB / 0.9019 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.2967, allocations: 8 kB / 0.9019 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005845/0.2973, allocations: 242.1 kB / 0.9021 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.2988, allocations: 0.9635 MB / 0.903 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.2994, allocations: 251.6 kB / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.2997, allocations: 125.2 kB / 0.9034 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.2997, allocations: 4.234 kB / 0.9034 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003644/0.3001, allocations: 160 kB / 0.9036 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.3001, allocations: 0 / 0.9036 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.0008207/0.3009, allocations: 341.2 kB / 0.9039 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.301, allocations: 63.41 kB / 0.9039 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.3012, allocations: 198.2 kB / 0.9041 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.3012, allocations: 41.69 kB / 0.9042 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.3013, allocations: 152.7 kB / 0.9043 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.3014, allocations: 74.91 kB / 0.9044 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-05/0.3014, allocations: 57.69 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.3015, allocations: 334.8 kB / 0.9048 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.3018, allocations: 104 kB / 0.9049 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.3021, allocations: 153.1 kB / 0.905 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/0.3025, allocations: 224.7 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3026, allocations: 0 / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006663/0.3032, allocations: 324.4 kB / 0.9055 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3033, allocations: 4 kB / 0.9055 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3033, allocations: 4 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3033, allocations: 3.984 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.3036, allocations: 44.08 kB / 0.9056 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3036, allocations: 0 / 0.9056 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.3039, allocations: 63.64 kB / 0.9056 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.3039, allocations: 8 kB / 0.9056 GB, free: 58.75 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,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.0001779/0.3041, allocations: 181.7 kB / 0.9058 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.3041, allocations: 19.81 kB / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00064/0.3048, allocations: 284.1 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3048, allocations: 4 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3048, allocations: 4 kB / 0.9061 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3048, allocations: 0 / 0.9061 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.3059, allocations: 0.7451 MB / 0.9068 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.306, allocations: 4 kB / 0.9069 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.3061, allocations: 27.92 kB / 0.9069 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3062, allocations: 4 kB / 0.9069 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.3062, allocations: 7.984 kB / 0.9069 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3062, allocations: 4 kB / 0.9069 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3062, allocations: 0 / 0.9069 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.3068, allocations: 359.2 kB / 0.9072 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.3068, allocations: 96.77 kB / 0.9073 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.3069, allocations: 8 kB / 0.9073 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.3071, allocations: 43.89 kB / 0.9074 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.3073, allocations: 39.89 kB / 0.9074 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.3073, allocations: 12 kB / 0.9074 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001097/0.3074, allocations: 144.1 kB / 0.9076 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3074, allocations: 0 / 0.9076 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004289/0.3079, allocations: 63.84 kB / 0.9076 GB, free: 56.61 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 (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.0001634/0.308, allocations: 129 kB / 0.9077 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005895/0.3086, allocations: 259.8 kB / 0.908 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3087, allocations: 0 / 0.908 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.3089, allocations: 128.7 kB / 0.9081 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.3094, allocations: 35.98 kB / 0.9082 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009167/0.3103, allocations: 0.5728 MB / 0.9087 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.3106, allocations: 0.7566 MB / 0.9095 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.3107, allocations: 31.42 kB / 0.9095 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/0.3107, allocations: 0 / 0.9095 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.005697/0.3164, allocations: 3.337 MB / 0.9127 GB, free: 51.33 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)