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.496/1.496, allocations: 252 MB / 267.3 MB, free: 10.82 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.00147/0.00147, allocations: 180.8 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0007885/0.0007886, allocations: 87.5 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004815, allocations: 9.25 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2417, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002475/0.2443, allocations: 1.765 MB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.2459, allocations: 0.7486 MB / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.2463, allocations: 7.938 kB / 0.9034 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.2465, allocations: 27.78 kB / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.2467, allocations: 35.72 kB / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.2473, allocations: 135.9 kB / 0.9036 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005108/0.2479, allocations: 363.2 kB / 0.9039 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004251/0.2483, allocations: 209.9 kB / 0.9041 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.2485, allocations: 107.5 kB / 0.9042 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.2487, allocations: 115.4 kB / 0.9043 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.2487, allocations: 12 kB / 0.9044 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-05/0.2489, allocations: 19.98 kB / 0.9044 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/0.2489, allocations: 51.81 kB / 0.9044 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.2491, allocations: 145 kB / 0.9046 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.2494, allocations: 370.9 kB / 0.9049 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2494, allocations: 0 / 0.9049 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2494, allocations: 4 kB / 0.9049 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.2495, allocations: 0 / 0.9049 GB, free: 59.26 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.000788/0.2503, allocations: 0.5106 MB / 0.9054 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.2503, allocations: 8.031 kB / 0.9054 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.567e-05/0.2504, allocations: 66.72 kB / 0.9055 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.2505, allocations: 32.56 kB / 0.9055 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.2507, allocations: 275.8 kB / 0.9058 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.2508, allocations: 28.92 kB / 0.9058 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.2508, allocations: 32.38 kB / 0.9058 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.2513, allocations: 315.6 kB / 0.9061 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2514, allocations: 0 / 0.9061 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.2514, allocations: 16 kB / 0.9062 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2514, allocations: 4 kB / 0.9062 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.2518, allocations: 246.1 kB / 0.9064 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.253, allocations: 0.948 MB / 0.9073 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004569/0.2535, allocations: 259.5 kB / 0.9076 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.2537, allocations: 121.3 kB / 0.9077 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.2537, allocations: 8.172 kB / 0.9077 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/0.254, allocations: 160 kB / 0.9078 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.254, allocations: 0 / 0.9078 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.0006222/0.2546, allocations: 341.3 kB / 0.9082 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.2547, allocations: 59.41 kB / 0.9082 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.2548, allocations: 198.2 kB / 0.9084 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.2549, allocations: 45.69 kB / 0.9085 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.255, allocations: 160.6 kB / 0.9086 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.255, allocations: 74.92 kB / 0.9087 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.255, allocations: 4 kB / 0.9087 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.2551, allocations: 334.8 kB / 0.909 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.2553, allocations: 104 kB / 0.9091 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.2555, allocations: 145.1 kB / 0.9092 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.2558, allocations: 220.7 kB / 0.9095 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2558, allocations: 4 kB / 0.9095 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004536/0.2563, allocations: 316.5 kB / 0.9098 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2563, allocations: 7.938 kB / 0.9098 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2563, allocations: 7.984 kB / 0.9098 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.2564, allocations: 4.156 kB / 0.9098 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.2565, allocations: 43.86 kB / 0.9098 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.2566, allocations: 7.984 kB / 0.9098 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.2568, allocations: 55.66 kB / 0.9099 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.2568, allocations: 12 kB / 0.9099 GB, free: 53.88 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.2569, allocations: 177.7 kB / 0.9101 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.257, allocations: 19.81 kB / 0.9101 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/0.2575, allocations: 292.1 kB / 0.9104 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2575, allocations: 4 kB / 0.9104 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2575, allocations: 0 / 0.9104 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2575, allocations: 0 / 0.9104 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008521/0.2584, allocations: 0.749 MB / 0.9111 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2584, allocations: 3.938 kB / 0.9111 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.2585, allocations: 27.98 kB / 0.9111 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2585, allocations: 7.938 kB / 0.9111 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.2586, allocations: 7.984 kB / 0.9111 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2586, allocations: 4 kB / 0.9111 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2586, allocations: 3.938 kB / 0.9111 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.259, allocations: 359.1 kB / 0.9115 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.259, allocations: 92.86 kB / 0.9116 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.2591, allocations: 8 kB / 0.9116 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.2593, allocations: 43.95 kB / 0.9116 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2594, allocations: 39.88 kB / 0.9117 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.2594, allocations: 12 kB / 0.9117 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.009e-05/0.2595, allocations: 140.1 kB / 0.9118 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2595, allocations: 0 / 0.9118 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002897/0.2598, allocations: 67.75 kB / 0.9119 GB, free: 51.74 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 (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.0006615/0.2605, allocations: 0.9137 MB / 0.9128 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004322/0.2609, allocations: 255.8 kB / 0.913 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2609, allocations: 0 / 0.913 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.2611, allocations: 135.8 kB / 0.9131 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.2615, allocations: 50.19 kB / 0.9132 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.2641, allocations: 2.647 MB / 0.9158 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.2643, allocations: 0.7683 MB / 0.9165 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001217/0.2644, allocations: 30.28 kB / 0.9166 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.2646, allocations: 87.34 kB / 0.9166 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2646, allocations: 0 / 0.9166 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.2793, allocations: 4.981 MB / 0.9215 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.2795, allocations: 243.7 kB / 0.9217 GB, free: 41.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.281, allocations: 1.875 kB / 0.9217 GB, free: 41.69 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)