Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.608/1.608, allocations: 288.4 MB / 303.3 MB, free: 8.082 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.001055/0.001055, allocations: 176.5 kB / 372 MB, free: 10.27 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.924/1.924, allocations: 205.4 MB / 0.6307 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 105.7 kB / 0.7441 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004311, allocations: 10.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2726, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002379/0.275, allocations: 1.712 MB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.2769, allocations: 0.7257 MB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003002/0.2773, allocations: 8 kB / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.2775, allocations: 27.72 kB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.2777, allocations: 31.72 kB / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.2782, allocations: 107.9 kB / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004263/0.2787, allocations: 339.2 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004513/0.2792, allocations: 191 kB / 0.9827 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.2794, allocations: 99.62 kB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.2796, allocations: 111.5 kB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.2797, allocations: 15.94 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.2799, allocations: 19.98 kB / 0.9829 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.611e-05/0.28, allocations: 55.75 kB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2801, allocations: 69.58 kB / 0.9831 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.2805, allocations: 295.5 kB / 0.9833 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.2805, allocations: 0 / 0.9833 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.318e-06/0.2806, allocations: 0 / 0.9833 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.792e-05/0.2806, allocations: 4 kB / 0.9833 GB, free: 23.74 MB / 0.6198 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.00126/0.2819, allocations: 0.5181 MB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.849e-05/0.282, allocations: 8.031 kB / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.2821, allocations: 66.53 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.2823, allocations: 35.67 kB / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.2827, allocations: 266.5 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.049e-05/0.2827, allocations: 24.56 kB / 0.9842 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.178e-05/0.2828, allocations: 31.94 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007362/0.2835, allocations: 315.6 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.2836, allocations: 0 / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.2836, allocations: 12 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.2836, allocations: 11.94 kB / 0.9846 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005776/0.2842, allocations: 246.1 kB / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.2858, allocations: 0.9519 MB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004984/0.2863, allocations: 252.5 kB / 0.986 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.2865, allocations: 121.3 kB / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.2866, allocations: 8.219 kB / 0.9861 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003337/0.2869, allocations: 172 kB / 0.9863 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 2.685e-06/0.2869, allocations: 0 / 0.9863 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0006721/0.2876, allocations: 333.3 kB / 0.9866 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.2877, allocations: 59.39 kB / 0.9867 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.2879, allocations: 198.2 kB / 0.9868 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.2879, allocations: 37.7 kB / 0.9869 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/0.288, allocations: 152.6 kB / 0.987 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/0.2881, allocations: 82.92 kB / 0.9871 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/0.2881, allocations: 8 kB / 0.9871 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2882, allocations: 334.8 kB / 0.9874 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.2884, allocations: 107.9 kB / 0.9875 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.2887, allocations: 149.1 kB / 0.9877 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.2889, allocations: 99.73 kB / 0.9878 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2889, allocations: 0 / 0.9878 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005029/0.2894, allocations: 312.8 kB / 0.9881 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.2894, allocations: 8 kB / 0.9881 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2894, allocations: 0 / 0.9881 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.2895, allocations: 4 kB / 0.9881 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.2897, allocations: 39.91 kB / 0.9881 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.2897, allocations: 7.938 kB / 0.9881 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.2899, allocations: 55.81 kB / 0.9882 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.29, allocations: 16 kB / 0.9882 GB, free: 18.51 MB / 0.6198 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,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.2902, allocations: 181.6 kB / 0.9884 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.2902, allocations: 19.72 kB / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005407/0.2907, allocations: 284.2 kB / 0.9887 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.2908, allocations: 4 kB / 0.9887 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.2908, allocations: 0 / 0.9887 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.2908, allocations: 3.984 kB / 0.9887 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008602/0.2916, allocations: 0.7327 MB / 0.9894 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2917, allocations: 0 / 0.9894 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.2919, allocations: 35.91 kB / 0.9894 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2919, allocations: 0 / 0.9894 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.2919, allocations: 12 kB / 0.9894 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2919, allocations: 4 kB / 0.9894 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2919, allocations: 3.953 kB / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.2924, allocations: 367.6 kB / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.2924, allocations: 108.7 kB / 0.9899 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.2925, allocations: 8 kB / 0.9899 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.2927, allocations: 31.97 kB / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.2928, allocations: 39.94 kB / 0.99 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.2928, allocations: 11.95 kB / 0.99 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.55e-05/0.2929, allocations: 144.1 kB / 0.9901 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2929, allocations: 0 / 0.9901 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000292/0.2932, allocations: 67.84 kB / 0.9902 GB, free: 16.37 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007279/0.294, allocations: 0.9131 MB / 0.9911 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004877/0.2945, allocations: 252.3 kB / 0.9913 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2945, allocations: 320 / 0.9913 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.2947, allocations: 139.8 kB / 0.9914 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.2951, allocations: 32.16 kB / 0.9915 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.2971, allocations: 1.426 MB / 0.9929 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.2973, allocations: 0.7605 MB / 0.9936 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.2974, allocations: 30.28 kB / 0.9936 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.2975, allocations: 83.39 kB / 0.9937 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.2975, allocations: 0 / 0.9937 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.315, allocations: 4.973 MB / 0.9986 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.3152, allocations: 233.3 kB / 0.9988 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.175, allocations: 0 / 0.9988 GB, free: 7.637 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)