Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.433/1.433, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 180.5 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.4 MB / 0.5777 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009573/0.0009573, allocations: 92.62 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005221/0.0005223, allocations: 13.02 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2854, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002059/0.2875, allocations: 1.719 MB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2885, allocations: 0.7372 MB / 0.9027 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.2887, allocations: 4 kB / 0.9027 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.2888, allocations: 23.73 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.577e-05/0.2889, allocations: 35.7 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.2892, allocations: 103.9 kB / 0.9029 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.2895, allocations: 339.2 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.2897, allocations: 191 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.2899, allocations: 95.62 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.29, allocations: 111.5 kB / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.29, allocations: 12 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.634e-05/0.2901, allocations: 27.94 kB / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.2902, allocations: 51.81 kB / 0.9037 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.2902, allocations: 69.58 kB / 0.9037 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.2904, allocations: 303.5 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2904, allocations: 0 / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2905, allocations: 0 / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.2905, allocations: 3.938 kB / 0.904 GB, free: 59.98 MB / 0.6042 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.0006625/0.2911, allocations: 0.5143 MB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2912, allocations: 8.031 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.714e-05/0.2912, allocations: 62.53 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.2913, allocations: 35.58 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.2915, allocations: 266.6 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.2916, allocations: 32.56 kB / 0.9049 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.2916, allocations: 31.94 kB / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.2921, allocations: 315.7 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.2921, allocations: 3.984 kB / 0.9052 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.2922, allocations: 11.98 kB / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2922, allocations: 8 kB / 0.9053 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.2926, allocations: 242.1 kB / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.2938, allocations: 0.9519 MB / 0.9064 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.2943, allocations: 251.6 kB / 0.9067 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.2944, allocations: 125.2 kB / 0.9068 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.2945, allocations: 8.234 kB / 0.9068 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.2948, allocations: 168 kB / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 2.265e-06/0.2948, allocations: 3.984 kB / 0.907 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.0005909/0.2954, allocations: 333.3 kB / 0.9073 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.2954, allocations: 63.41 kB / 0.9073 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.2956, allocations: 198.3 kB / 0.9075 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.2956, allocations: 37.7 kB / 0.9076 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.2957, allocations: 156.6 kB / 0.9077 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.2957, allocations: 82.89 kB / 0.9078 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.2957, allocations: 8 kB / 0.9078 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.793e-05/0.2958, allocations: 338.8 kB / 0.9081 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.296, allocations: 95.89 kB / 0.9082 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.2962, allocations: 149.1 kB / 0.9083 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.2964, allocations: 91.98 kB / 0.9084 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2964, allocations: 0 / 0.9084 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004919/0.2969, allocations: 316.5 kB / 0.9087 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2969, allocations: 8 kB / 0.9087 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2969, allocations: 0 / 0.9087 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2969, allocations: 4 kB / 0.9088 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.2971, allocations: 39.91 kB / 0.9088 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.2972, allocations: 12.09 kB / 0.9088 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.2974, allocations: 55.66 kB / 0.9089 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.2974, allocations: 19.94 kB / 0.9089 GB, free: 54.75 MB / 0.6042 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.0001399/0.2976, allocations: 169.8 kB / 0.909 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.2976, allocations: 15.81 kB / 0.909 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000473/0.2981, allocations: 288.1 kB / 0.9093 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2981, allocations: 0 / 0.9093 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2981, allocations: 4 kB / 0.9093 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.2981, allocations: 0 / 0.9093 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008462/0.299, allocations: 0.7451 MB / 0.9101 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.299, allocations: 3.984 kB / 0.9101 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.2991, allocations: 39.92 kB / 0.9101 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.2991, allocations: 0 / 0.9101 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.2992, allocations: 8 kB / 0.9101 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2992, allocations: 3.953 kB / 0.9101 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2992, allocations: 3.938 kB / 0.9101 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.2996, allocations: 367.1 kB / 0.9105 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.2996, allocations: 92.86 kB / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.2997, allocations: 8 kB / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.2999, allocations: 35.91 kB / 0.9106 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/0.3, allocations: 47.89 kB / 0.9106 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.3, allocations: 8 kB / 0.9106 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.466e-05/0.3001, allocations: 140.1 kB / 0.9108 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3001, allocations: 0 / 0.9108 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000281/0.3004, allocations: 63.84 kB / 0.9108 GB, free: 52.62 MB / 0.6042 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.0006528/0.301, allocations: 0.9136 MB / 0.9117 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004356/0.3015, allocations: 259.9 kB / 0.912 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3015, allocations: 0 / 0.912 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.3017, allocations: 131.8 kB / 0.9121 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.302, allocations: 35.14 kB / 0.9121 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.3039, allocations: 1.425 MB / 0.9135 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.3041, allocations: 0.7644 MB / 0.9143 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.3042, allocations: 26.28 kB / 0.9143 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.3044, allocations: 83.41 kB / 0.9144 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.3044, allocations: 0 / 0.9144 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.3201, allocations: 4.985 MB / 0.9193 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.3204, allocations: 222.2 kB / 0.9195 GB, free: 43.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.317, allocations: 0 / 0.9195 GB, free: 43.89 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)