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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.002471/0.002471, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 222.1 MB, free: 5.66 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 2.386/2.386, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.001127/0.001128, allocations: 22.47 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4206, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002827/0.4235, allocations: 1.712 MB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.4248, allocations: 0.7337 MB / 0.7896 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.4249, allocations: 4 kB / 0.7896 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.425, allocations: 27.73 kB / 0.7897 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.4252, allocations: 39.86 kB / 0.7897 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.4255, allocations: 99.88 kB / 0.7898 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.4258, allocations: 219.6 kB / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.4262, allocations: 197.1 kB / 0.7902 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.4263, allocations: 95.62 kB / 0.7903 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.4265, allocations: 115.4 kB / 0.7904 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.4266, allocations: 15.94 kB / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-05/0.4267, allocations: 16 kB / 0.7904 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.4267, allocations: 51.81 kB / 0.7905 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.4268, allocations: 69.58 kB / 0.7905 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.4271, allocations: 303.5 kB / 0.7908 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4271, allocations: 0 / 0.7908 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4271, allocations: 4 kB / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.4271, allocations: 0 / 0.7908 GB, free: 8.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.0007933/0.4279, allocations: 0.5142 MB / 0.7913 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.428, allocations: 8.031 kB / 0.7913 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.163e-05/0.4281, allocations: 62.53 kB / 0.7914 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.4282, allocations: 39.67 kB / 0.7914 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.4285, allocations: 270.4 kB / 0.7917 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.4285, allocations: 24.56 kB / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.4286, allocations: 32 kB / 0.7917 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.4291, allocations: 311.6 kB / 0.792 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4292, allocations: 0 / 0.792 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.4292, allocations: 20 kB / 0.7921 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.4292, allocations: 4 kB / 0.7921 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.4297, allocations: 242.1 kB / 0.7923 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.4312, allocations: 0.948 MB / 0.7932 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.4316, allocations: 251.6 kB / 0.7935 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.4317, allocations: 8.172 kB / 0.7935 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003201/0.432, allocations: 164.5 kB / 0.7936 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.432, allocations: 4 kB / 0.7936 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006577/0.4327, allocations: 333.3 kB / 0.7939 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.4327, allocations: 55.41 kB / 0.794 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.4329, allocations: 204 kB / 0.7942 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.433, allocations: 41.7 kB / 0.7942 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.773e-05/0.4331, allocations: 152.6 kB / 0.7944 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.182e-05/0.4332, allocations: 86.86 kB / 0.7945 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.4332, allocations: 4 kB / 0.7945 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4333, allocations: 342.7 kB / 0.7948 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.4335, allocations: 95.95 kB / 0.7949 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.4338, allocations: 153 kB / 0.795 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.434, allocations: 95.73 kB / 0.7951 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.434, allocations: 4 kB / 0.7951 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000506/0.4345, allocations: 304.7 kB / 0.7954 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4345, allocations: 12.16 kB / 0.7954 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.4345, allocations: 0 / 0.7954 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4345, allocations: 4 kB / 0.7954 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.4347, allocations: 43.91 kB / 0.7955 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.4348, allocations: 7.938 kB / 0.7955 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.435, allocations: 55.72 kB / 0.7955 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.435, allocations: 15.98 kB / 0.7955 GB, free: 3.062 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,$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.0001858/0.4352, allocations: 173.7 kB / 0.7957 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.4352, allocations: 23.66 kB / 0.7957 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000752/0.436, allocations: 288.2 kB / 0.796 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.436, allocations: 4 kB / 0.796 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.436, allocations: 0 / 0.796 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4361, allocations: 0 / 0.796 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.4378, allocations: 0.7379 MB / 0.7967 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.4378, allocations: 4 kB / 0.7967 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.4381, allocations: 31.92 kB / 0.7968 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.4381, allocations: 4 kB / 0.7968 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.4382, allocations: 8 kB / 0.7968 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4382, allocations: 0 / 0.7968 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4382, allocations: 0 / 0.7968 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008892/0.4391, allocations: 371.6 kB / 0.7971 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.827e-05/0.4392, allocations: 100.8 kB / 0.7972 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/0.4393, allocations: 4 kB / 0.7972 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.4397, allocations: 39.97 kB / 0.7973 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.4398, allocations: 35.94 kB / 0.7973 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.4399, allocations: 12 kB / 0.7973 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001836/0.4401, allocations: 144.1 kB / 0.7975 GB, free: 1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4401, allocations: 0 / 0.7975 GB, free: 1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006303/0.4408, allocations: 63.84 kB / 0.7975 GB, free: 0.9375 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 (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.001351/0.4421, allocations: 0.9162 MB / 0.7984 GB, free: 0 / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009318/0.4431, allocations: 252.4 kB / 0.7987 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4431, allocations: 0 / 0.7987 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004237/0.4435, allocations: 140.1 kB / 0.7988 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.444, allocations: 38.53 kB / 0.7988 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.4481, allocations: 2.173 MB / 0.8009 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.4486, allocations: 0.7644 MB / 0.8017 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002235/0.4489, allocations: 30.28 kB / 0.8017 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.4492, allocations: 91.33 kB / 0.8018 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of SimCode: time 7.82e-07/0.4492, allocations: 0 / 0.8018 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.884/1.333, allocations: 4.92 MB / 0.8066 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003964/1.334, allocations: 212.4 kB / 0.8068 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.779/4.113, allocations: 0 / 0.8068 GB, free: 7.453 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) Environment - environmentSimulation: