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.00117/0.00117, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001245/0.001246, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.391/1.391, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.779/1.779, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001447/0.001447, allocations: 65.97 kB / 0.671 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2728, allocations: 114.6 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003558/0.2764, allocations: 2.116 MB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.2779, allocations: 0.7529 MB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.278, allocations: 4 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.2782, allocations: 31.72 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.2783, allocations: 31.78 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.2788, allocations: 139.8 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.2792, allocations: 391.2 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000337/0.2795, allocations: 243.7 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.2797, allocations: 143.5 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.2799, allocations: 143.4 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.219e-05/0.2799, allocations: 40 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.94e-05/0.28, allocations: 43.94 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.633e-05/0.2801, allocations: 79.77 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.2802, allocations: 163.2 kB / 0.7871 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.2806, allocations: 403 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2806, allocations: 0 / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.716e-06/0.2807, allocations: 0 / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.2807, allocations: 0 / 0.7874 GB, free: 9.156 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.0008362/0.2815, allocations: 0.5689 MB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2815, allocations: 11.97 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.878e-05/0.2816, allocations: 28.66 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.2819, allocations: 275.7 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.2819, allocations: 32.92 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.282, allocations: 28.38 kB / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.2826, allocations: 316 kB / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2826, allocations: 0 / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.2826, allocations: 15.94 kB / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.2826, allocations: 8 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.2831, allocations: 234.1 kB / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.2844, allocations: 0.9401 MB / 0.7898 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004765/0.2849, allocations: 242.5 kB / 0.7901 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.2851, allocations: 121.2 kB / 0.7902 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.2851, allocations: 8.234 kB / 0.7902 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003634/0.2855, allocations: 164 kB / 0.7903 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/0.2855, allocations: 0 / 0.7903 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006596/0.2862, allocations: 321.8 kB / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.2862, allocations: 55.41 kB / 0.7907 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.2864, allocations: 208.9 kB / 0.7909 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.2865, allocations: 41.69 kB / 0.7909 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.2866, allocations: 156.6 kB / 0.7911 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.2866, allocations: 78.86 kB / 0.7912 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2868, allocations: 81.67 kB / 0.7912 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2869, allocations: 334.8 kB / 0.7916 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.2871, allocations: 91.95 kB / 0.7916 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.2873, allocations: 153 kB / 0.7918 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.2877, allocations: 212.7 kB / 0.792 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2877, allocations: 0 / 0.792 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004958/0.2882, allocations: 312.4 kB / 0.7923 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2882, allocations: 4 kB / 0.7923 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.2882, allocations: 4 kB / 0.7923 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2882, allocations: 4.156 kB / 0.7923 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.2884, allocations: 43.91 kB / 0.7923 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.2885, allocations: 4 kB / 0.7923 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.2887, allocations: 43.66 kB / 0.7924 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.2887, allocations: 19.98 kB / 0.7924 GB, free: 3.801 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.000164/0.2889, allocations: 169.7 kB / 0.7926 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.2889, allocations: 19.81 kB / 0.7926 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005393/0.2895, allocations: 288.1 kB / 0.7929 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.2895, allocations: 7.984 kB / 0.7929 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2895, allocations: 0 / 0.7929 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2895, allocations: 0 / 0.7929 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009465/0.2905, allocations: 0.7455 MB / 0.7936 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2905, allocations: 0 / 0.7936 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.2906, allocations: 31.92 kB / 0.7936 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2906, allocations: 0 / 0.7936 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.2907, allocations: 8 kB / 0.7936 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2907, allocations: 0 / 0.7936 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2907, allocations: 0 / 0.7936 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000457/0.2911, allocations: 355.7 kB / 0.794 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.2912, allocations: 100.8 kB / 0.7941 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.2912, allocations: 4 kB / 0.7941 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.2914, allocations: 27.97 kB / 0.7941 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.2915, allocations: 35.89 kB / 0.7941 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.2916, allocations: 15.98 kB / 0.7941 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.928e-05/0.2917, allocations: 135.3 kB / 0.7943 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.102e-06/0.2917, allocations: 4 kB / 0.7943 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003076/0.292, allocations: 67.78 kB / 0.7943 GB, free: 1.703 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 (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.0001772/0.2922, allocations: 121.1 kB / 0.7945 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005351/0.2927, allocations: 263.7 kB / 0.7947 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2927, allocations: 320 / 0.7947 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.2929, allocations: 127.8 kB / 0.7948 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.2933, allocations: 35.98 kB / 0.7949 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008634/0.2942, allocations: 0.5572 MB / 0.7954 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.2945, allocations: 0.7642 MB / 0.7962 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001146/0.2947, allocations: 30.27 kB / 0.7962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.206e-05/0.2948, allocations: 23.44 kB / 0.7962 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of SimCode: time 4.7e-07/0.2948, allocations: 0 / 0.7962 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.006055/0.3008, allocations: 2.835 MB / 0.799 GB, free: 12.92 MB / 0.6231 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)