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: "" <> 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.64/1.64, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.00114/0.00114, allocations: 182.9 kB / 371.6 MB, free: 3.426 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.772/1.772, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.001249/0.001249, allocations: 97.06 kB / 0.745 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.949e-05/3.952e-05, allocations: 0 / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3082, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8955/1.204, allocations: 141.8 MB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/1.204, allocations: 92.89 kB / 1.119 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01242/1.217, allocations: 4.679 MB / 1.123 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.435e-06/1.217, allocations: 0 / 1.123 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.91e-05/1.217, allocations: 8 kB / 1.123 GB, free: 39.96 MB / 0.7448 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.000898/1.218, allocations: 0.5102 MB / 1.124 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/1.218, allocations: 8.031 kB / 1.124 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.694e-05/1.218, allocations: 63.86 kB / 1.124 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.94e-05/1.218, allocations: 38.31 kB / 1.124 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/1.218, allocations: 266.9 kB / 1.124 GB, free: 39.13 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/1.218, allocations: 27.31 kB / 1.124 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/1.218, allocations: 33.19 kB / 1.124 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/1.219, allocations: 290.2 kB / 1.124 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/1.219, allocations: 2.953 kB / 1.124 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/1.219, allocations: 14.56 kB / 1.124 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/1.219, allocations: 15.42 kB / 1.124 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/1.219, allocations: 206 kB / 1.125 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/1.221, allocations: 0.9676 MB / 1.125 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/1.221, allocations: 228.4 kB / 1.126 GB, free: 38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/1.221, allocations: 115 kB / 1.126 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/1.222, allocations: 240 / 1.126 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/1.222, allocations: 143.9 kB / 1.126 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.382e-06/1.222, allocations: 0 / 1.126 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0004704/1.222, allocations: 224.4 kB / 1.126 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/1.222, allocations: 63.3 kB / 1.126 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/1.222, allocations: 186.3 kB / 1.126 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/1.222, allocations: 43.92 kB / 1.126 GB, free: 37.42 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/1.223, allocations: 161.1 kB / 1.127 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.02e-05/1.223, allocations: 66.97 kB / 1.127 GB, free: 37.24 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/1.223, allocations: 10.38 kB / 1.127 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/1.223, allocations: 332.2 kB / 1.127 GB, free: 36.92 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/1.223, allocations: 80.94 kB / 1.127 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/1.223, allocations: 136.9 kB / 1.127 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/1.223, allocations: 76.17 kB / 1.127 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.223, allocations: 0 / 1.127 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003675/1.224, allocations: 285.3 kB / 1.128 GB, free: 36.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.224, allocations: 12.03 kB / 1.128 GB, free: 36.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.224, allocations: 0 / 1.128 GB, free: 36.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.224, allocations: 5.406 kB / 1.128 GB, free: 36.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/1.224, allocations: 46.41 kB / 1.128 GB, free: 36.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/1.224, allocations: 4 kB / 1.128 GB, free: 36.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/1.224, allocations: 57.17 kB / 1.128 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/1.224, allocations: 9 kB / 1.128 GB, free: 36.42 MB / 0.7448 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.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete 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 8.748e-05/1.224, allocations: 136.6 kB / 1.128 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/1.224, allocations: 23.72 kB / 1.128 GB, free: 36.28 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/1.225, allocations: 259.5 kB / 1.128 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.225, allocations: 4 kB / 1.128 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/1.225, allocations: 4 kB / 1.128 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.225, allocations: 1.031 kB / 1.128 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007521/1.225, allocations: 0.7055 MB / 1.129 GB, free: 35.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/1.226, allocations: 0.75 kB / 1.129 GB, free: 35.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/1.226, allocations: 30.48 kB / 1.129 GB, free: 35.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/1.226, allocations: 8 kB / 1.129 GB, free: 35.55 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/1.226, allocations: 8.062 kB / 1.129 GB, free: 35.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/1.226, allocations: 8.891 kB / 1.129 GB, free: 35.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.226, allocations: 0 / 1.129 GB, free: 35.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/1.226, allocations: 329.2 kB / 1.129 GB, free: 35.28 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/1.226, allocations: 92.83 kB / 1.129 GB, free: 35.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/1.226, allocations: 7.5 kB / 1.129 GB, free: 35.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/1.226, allocations: 37.47 kB / 1.129 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.743e-05/1.226, allocations: 40.11 kB / 1.129 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/1.226, allocations: 15.09 kB / 1.129 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.316e-05/1.227, allocations: 130.6 kB / 1.129 GB, free: 35.01 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.227, allocations: 0 / 1.129 GB, free: 35.01 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002784/1.227, allocations: 56.75 kB / 1.129 GB, free: 34.96 MB / 0.7448 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.offToOn.enableFire,heaCon.onToOff.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.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * 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.0005616/1.227, allocations: 0.8817 MB / 1.13 GB, free: 34.14 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003336/1.228, allocations: 229.6 kB / 1.131 GB, free: 33.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.228, allocations: 0 / 1.131 GB, free: 33.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/1.228, allocations: 121.5 kB / 1.131 GB, free: 33.9 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/1.228, allocations: 34.91 kB / 1.131 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007444/1.229, allocations: 400.6 kB / 1.131 GB, free: 33.55 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/1.229, allocations: 0.7657 MB / 1.132 GB, free: 32.8 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001109/1.229, allocations: 30.84 kB / 1.132 GB, free: 32.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/1.229, allocations: 88.58 kB / 1.132 GB, free: 32.76 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/1.229, allocations: 0 / 1.132 GB, free: 32.76 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/1.247, allocations: 4.952 MB / 1.137 GB, free: 29.96 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/1.247, allocations: 187.3 kB / 1.137 GB, free: 29.73 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/3.15, allocations: 4 kB / 1.137 GB, free: 29.73 MB / 0.7448 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)