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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 292.3 MB / 308.1 MB, free: 4.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 183.3 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000976/0.0009756, allocations: 101.8 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 51.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2835, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004682/0.2882, allocations: 2.121 MB / 0.9843 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.2898, allocations: 0.7528 MB / 0.985 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.29, allocations: 8 kB / 0.985 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.2903, allocations: 23.8 kB / 0.9851 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.2904, allocations: 35.7 kB / 0.9851 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.291, allocations: 139.9 kB / 0.9852 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005048/0.2915, allocations: 367.2 kB / 0.9856 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004035/0.2919, allocations: 224.4 kB / 0.9858 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.2921, allocations: 111.6 kB / 0.9859 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.2924, allocations: 131.4 kB / 0.986 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.897e-05/0.2924, allocations: 20 kB / 0.986 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.2926, allocations: 35.92 kB / 0.9861 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.773e-05/0.2926, allocations: 63.75 kB / 0.9861 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.2928, allocations: 139.2 kB / 0.9863 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.2932, allocations: 367.1 kB / 0.9866 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2932, allocations: 4 kB / 0.9866 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2932, allocations: 0 / 0.9866 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.2932, allocations: 0 / 0.9866 GB, free: 5.848 MB / 0.7136 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.001002/0.2942, allocations: 0.5728 MB / 0.9872 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.2943, allocations: 15.97 kB / 0.9872 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.2944, allocations: 32.56 kB / 0.9872 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.2948, allocations: 267.8 kB / 0.9875 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.2949, allocations: 32.94 kB / 0.9875 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.295, allocations: 28.38 kB / 0.9875 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.2956, allocations: 316 kB / 0.9879 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2956, allocations: 0 / 0.9879 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.2956, allocations: 12 kB / 0.9879 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.2957, allocations: 8 kB / 0.9879 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005517/0.2962, allocations: 238.1 kB / 0.9881 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.2977, allocations: 0.9362 MB / 0.989 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.2983, allocations: 251.6 kB / 0.9893 GB, free: 3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.2985, allocations: 121.2 kB / 0.9894 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.2985, allocations: 4.234 kB / 0.9894 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003896/0.2989, allocations: 155.5 kB / 0.9895 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 2.013e-06/0.2989, allocations: 0 / 0.9895 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0006884/0.2996, allocations: 325.3 kB / 0.9898 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.2997, allocations: 63.41 kB / 0.9899 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.2999, allocations: 206 kB / 0.9901 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.2999, allocations: 37.7 kB / 0.9901 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.3001, allocations: 152.6 kB / 0.9903 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.515e-05/0.3002, allocations: 86.83 kB / 0.9904 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.3003, allocations: 81.67 kB / 0.9904 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3004, allocations: 334.8 kB / 0.9907 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.3006, allocations: 95.95 kB / 0.9908 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.3009, allocations: 149 kB / 0.991 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.3013, allocations: 216.8 kB / 0.9912 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3013, allocations: 0 / 0.9912 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005568/0.3019, allocations: 312.7 kB / 0.9915 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.3019, allocations: 8 kB / 0.9915 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.3019, allocations: 4 kB / 0.9915 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3019, allocations: 7.938 kB / 0.9915 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.3021, allocations: 35.91 kB / 0.9915 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3022, allocations: 4 kB / 0.9915 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.3024, allocations: 47.66 kB / 0.9916 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.3024, allocations: 12 kB / 0.9916 GB, free: 492 kB / 0.7136 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.000198/0.3026, allocations: 181.8 kB / 0.9918 GB, free: 300 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.3027, allocations: 19.8 kB / 0.9918 GB, free: 280 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005747/0.3032, allocations: 284.1 kB / 0.9921 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3033, allocations: 4 kB / 0.9921 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3033, allocations: 0 / 0.9921 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3033, allocations: 11.94 kB / 0.9921 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.3043, allocations: 0.721 MB / 0.9928 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3043, allocations: 0 / 0.9928 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.3045, allocations: 27.97 kB / 0.9928 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.3045, allocations: 0 / 0.9928 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.3045, allocations: 8 kB / 0.9928 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3045, allocations: 7.938 kB / 0.9928 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3045, allocations: 0 / 0.9928 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009509/0.3055, allocations: 1.029 MB / 0.9938 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.3056, allocations: 104.7 kB / 0.9939 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.3056, allocations: 12 kB / 0.9939 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.3058, allocations: 27.97 kB / 0.994 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.306, allocations: 31.95 kB / 0.994 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.306, allocations: 15.92 kB / 0.994 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.916e-05/0.3061, allocations: 131.2 kB / 0.9941 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3061, allocations: 0 / 0.9941 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000435/0.3065, allocations: 59.84 kB / 0.9942 GB, free: 13.67 MB / 0.7292 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.0002083/0.3068, allocations: 131.5 kB / 0.9943 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005707/0.3073, allocations: 255.5 kB / 0.9946 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3073, allocations: 0 / 0.9946 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.3076, allocations: 119.9 kB / 0.9947 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.308, allocations: 46.45 kB / 0.9947 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3093, allocations: 0.7653 MB / 0.9955 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.3098, allocations: 0.7644 MB / 0.9962 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001442/0.3099, allocations: 30.27 kB / 0.9962 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.31, allocations: 31.42 kB / 0.9963 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/0.31, allocations: 0 / 0.9963 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of Templates: time 0.009169/0.3192, allocations: 2.816 MB / 0.999 GB, free: 8.668 MB / 0.7292 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)