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.001695/0.001695, allocations: 106.7 kB / 16.36 MB, free: 6.258 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.001742/0.001742, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.471/1.471, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.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.854/1.854, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001497/0.001497, allocations: 76.36 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2545, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003956/0.2586, allocations: 2.038 MB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.26, allocations: 0.7451 MB / 0.7875 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.2601, allocations: 7.938 kB / 0.7875 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.2603, allocations: 35.55 kB / 0.7876 GB, free: 284 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.2604, allocations: 39.58 kB / 0.7876 GB, free: 244 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.2609, allocations: 167.8 kB / 0.7878 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.5085/0.7694, allocations: 392.5 kB / 0.7881 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005148/0.77, allocations: 242.2 kB / 0.7884 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.7703, allocations: 138.4 kB / 0.7885 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.7705, allocations: 149.9 kB / 0.7886 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.703e-05/0.7706, allocations: 40.09 kB / 0.7887 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.7707, allocations: 41.03 kB / 0.7887 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.103e-05/0.7708, allocations: 85.77 kB / 0.7888 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.771, allocations: 152.7 kB / 0.7889 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005173/0.7715, allocations: 413 kB / 0.7893 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.168e-06/0.7715, allocations: 6.469 kB / 0.7893 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.026e-06/0.7715, allocations: 0 / 0.7893 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.7716, allocations: 0 / 0.7893 GB, free: 46.43 MB / 0.6544 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.0008723/0.7724, allocations: 0.562 MB / 0.7899 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.7725, allocations: 9 kB / 0.7899 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.725e-05/0.7726, allocations: 33.44 kB / 0.7899 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.773, allocations: 278 kB / 0.7902 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.7731, allocations: 22.66 kB / 0.7902 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.753e-05/0.7731, allocations: 32.16 kB / 0.7902 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.7736, allocations: 314.3 kB / 0.7905 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.7737, allocations: 4.531 kB / 0.7906 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.7737, allocations: 14.38 kB / 0.7906 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.7737, allocations: 7.688 kB / 0.7906 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.7742, allocations: 235 kB / 0.7908 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.7755, allocations: 0.9314 MB / 0.7917 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.776, allocations: 242.4 kB / 0.7919 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.7762, allocations: 117.7 kB / 0.792 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.7763, allocations: 8.828 kB / 0.7921 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.7765, allocations: 156.8 kB / 0.7922 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.7766, allocations: 3.375 kB / 0.7922 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30): time 0.0006427/0.7772, allocations: 321.6 kB / 0.7925 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.7772, allocations: 59.48 kB / 0.7926 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.7774, allocations: 208 kB / 0.7928 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.7775, allocations: 35.02 kB / 0.7928 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.7776, allocations: 159.3 kB / 0.793 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.905e-05/0.7777, allocations: 79.16 kB / 0.793 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.7778, allocations: 78.56 kB / 0.7931 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.7779, allocations: 338.1 kB / 0.7934 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.7781, allocations: 94.69 kB / 0.7935 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.7783, allocations: 154.5 kB / 0.7937 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.7787, allocations: 207.4 kB / 0.7939 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.7787, allocations: 4.469 kB / 0.7939 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005104/0.7792, allocations: 307.2 kB / 0.7942 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.7793, allocations: 7.906 kB / 0.7942 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7793, allocations: 0 / 0.7942 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.7793, allocations: 3.5 kB / 0.7942 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.7795, allocations: 41.84 kB / 0.7942 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.7795, allocations: 8.188 kB / 0.7942 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.7798, allocations: 52.16 kB / 0.7943 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.7798, allocations: 14.05 kB / 0.7943 GB, free: 44.34 MB / 0.6544 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.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,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.0001645/0.78, allocations: 167.3 kB / 0.7944 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.78, allocations: 24.91 kB / 0.7945 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005391/0.7806, allocations: 283.7 kB / 0.7947 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.7806, allocations: 7.031 kB / 0.7947 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7806, allocations: 0 / 0.7947 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.7806, allocations: 99.77 kB / 0.7948 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.7807, allocations: 9.938 kB / 0.7949 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.7809, allocations: 23.12 kB / 0.7949 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.781, allocations: 40.62 kB / 0.7949 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005755/0.7815, allocations: 356.1 kB / 0.7953 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004202/0.782, allocations: 434 kB / 0.7957 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001901/0.7822, allocations: 127 kB / 0.7958 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.696e-05/0.7823, allocations: 135.2 kB / 0.7959 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of Backend: time 6.11e-07/0.7823, allocations: 0 / 0.7959 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006308/0.7829, allocations: 251.1 kB / 0.7962 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000785/0.7837, allocations: 0.8585 MB / 0.797 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.008518/0.7922, allocations: 3.352 MB / 0.8003 GB, free: 42.76 MB / 0.6544 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)