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.001024/0.001024, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.008211/0.008211, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.525/1.525, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.721/1.721, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005333/0.0005335, allocations: 18.23 kB / 0.6743 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2625, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002594/0.2651, allocations: 1.762 MB / 0.7896 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.2664, allocations: 0.749 MB / 0.7903 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.2666, allocations: 4 kB / 0.7903 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.2667, allocations: 23.8 kB / 0.7904 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.2668, allocations: 31.72 kB / 0.7904 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.2672, allocations: 139.9 kB / 0.7905 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.2677, allocations: 367.2 kB / 0.7909 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000327/0.268, allocations: 200.3 kB / 0.7911 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.2682, allocations: 103.5 kB / 0.7912 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.2683, allocations: 115.4 kB / 0.7913 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.2684, allocations: 12 kB / 0.7913 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.988e-05/0.2684, allocations: 16 kB / 0.7913 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.93e-05/0.2685, allocations: 59.75 kB / 0.7914 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.2686, allocations: 144.9 kB / 0.7915 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.269, allocations: 367 kB / 0.7918 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.269, allocations: 4 kB / 0.7919 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.269, allocations: 0 / 0.7919 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.269, allocations: 0 / 0.7919 GB, free: 7.465 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.0007836/0.2698, allocations: 0.5106 MB / 0.7924 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.2699, allocations: 12.03 kB / 0.7924 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.07e-05/0.2699, allocations: 32.56 kB / 0.7924 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.2703, allocations: 275.7 kB / 0.7927 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.2703, allocations: 28.88 kB / 0.7927 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.2704, allocations: 28.38 kB / 0.7927 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/0.271, allocations: 323.8 kB / 0.793 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.271, allocations: 3.984 kB / 0.793 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.271, allocations: 16 kB / 0.793 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.271, allocations: 4 kB / 0.793 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005087/0.2716, allocations: 246.1 kB / 0.7933 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.273, allocations: 0.948 MB / 0.7942 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.2735, allocations: 259.5 kB / 0.7945 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.2738, allocations: 125.2 kB / 0.7946 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.2738, allocations: 8.219 kB / 0.7946 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003396/0.2742, allocations: 168 kB / 0.7947 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.2742, allocations: 0 / 0.7947 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0007004/0.2749, allocations: 341.8 kB / 0.7951 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.2749, allocations: 59.34 kB / 0.7951 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.2751, allocations: 200 kB / 0.7953 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.2752, allocations: 41.7 kB / 0.7954 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.2753, allocations: 152.6 kB / 0.7955 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.43e-05/0.2754, allocations: 82.92 kB / 0.7956 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.2754, allocations: 53.62 kB / 0.7956 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.2756, allocations: 338.8 kB / 0.796 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.2758, allocations: 99.95 kB / 0.796 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.276, allocations: 149 kB / 0.7962 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.2764, allocations: 220.8 kB / 0.7964 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.2764, allocations: 7.938 kB / 0.7964 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005312/0.2769, allocations: 316.5 kB / 0.7967 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.277, allocations: 4 kB / 0.7967 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.277, allocations: 4 kB / 0.7967 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.277, allocations: 8.156 kB / 0.7967 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.2772, allocations: 47.84 kB / 0.7968 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.2772, allocations: 0 / 0.7968 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.2775, allocations: 51.72 kB / 0.7968 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.2775, allocations: 19.92 kB / 0.7968 GB, free: 2.086 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.0001656/0.2777, allocations: 174.3 kB / 0.797 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.2777, allocations: 27.7 kB / 0.797 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005517/0.2783, allocations: 288.1 kB / 0.7973 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2783, allocations: 4 kB / 0.7973 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2783, allocations: 0 / 0.7973 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2783, allocations: 0 / 0.7973 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009905/0.2793, allocations: 0.7418 MB / 0.798 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2793, allocations: 0 / 0.798 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.2795, allocations: 31.98 kB / 0.7981 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2795, allocations: 0 / 0.7981 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.2795, allocations: 4 kB / 0.7981 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2795, allocations: 4 kB / 0.7981 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2795, allocations: 7.922 kB / 0.7981 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.28, allocations: 371.6 kB / 0.7984 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.2801, allocations: 100.8 kB / 0.7985 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.2801, allocations: 4 kB / 0.7985 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.2803, allocations: 39.97 kB / 0.7986 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.363e-05/0.2804, allocations: 43.88 kB / 0.7986 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.2805, allocations: 8 kB / 0.7986 GB, free: 156 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001007/0.2806, allocations: 144.1 kB / 0.7988 GB, free: 12 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2806, allocations: 0 / 0.7988 GB, free: 12 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003345/0.2809, allocations: 59.92 kB / 0.7988 GB, free: 15.95 MB / 0.6231 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.0001894/0.2811, allocations: 125 kB / 0.7989 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.2816, allocations: 259.8 kB / 0.7992 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2816, allocations: 0 / 0.7992 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.2819, allocations: 132.2 kB / 0.7993 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.2822, allocations: 34.36 kB / 0.7993 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008517/0.2831, allocations: 0.5657 MB / 0.7999 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.2834, allocations: 0.7605 MB / 0.8006 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001138/0.2835, allocations: 26.28 kB / 0.8007 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.357e-05/0.2836, allocations: 31.42 kB / 0.8007 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of SimCode: time 8.02e-07/0.2836, allocations: 0 / 0.8007 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of Templates: time 0.006093/0.2897, allocations: 2.654 MB / 0.8033 GB, free: 11.34 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: