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.2 MB / 303.2 MB, free: 8.078 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.001165/0.001165, allocations: 183.9 kB / 371.8 MB, free: 10.3 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.409/1.409, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.000821/0.000821, allocations: 102.8 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006302/0.0006304, allocations: 11.69 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3007, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003148/0.3039, allocations: 1.704 MB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.3054, allocations: 0.7296 MB / 0.9819 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.3056, allocations: 8 kB / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.3058, allocations: 23.73 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.306, allocations: 35.88 kB / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.3064, allocations: 103.9 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.3067, allocations: 219.6 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.3071, allocations: 191 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.3072, allocations: 103.5 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.3074, allocations: 107.5 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.3074, allocations: 16 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.886e-05/0.3075, allocations: 23.98 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.355e-05/0.3076, allocations: 51.75 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.951e-05/0.3077, allocations: 73.58 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.3079, allocations: 287.5 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3079, allocations: 0 / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.714e-06/0.308, allocations: 0 / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.308, allocations: 8 kB / 0.9831 GB, free: 23.94 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.0008327/0.3088, allocations: 0.5181 MB / 0.9836 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3089, allocations: 12.03 kB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.837e-05/0.3089, allocations: 58.55 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.309, allocations: 35.67 kB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.3093, allocations: 278.4 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.3093, allocations: 20.56 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.3094, allocations: 32 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.3099, allocations: 311.7 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.31, allocations: 3.984 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.31, allocations: 8 kB / 0.9843 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.31, allocations: 12 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/0.3105, allocations: 242.1 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.3119, allocations: 0.9597 MB / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.3125, allocations: 252.8 kB / 0.9857 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.3125, allocations: 4.234 kB / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003269/0.3128, allocations: 164 kB / 0.9859 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 3.347e-06/0.3128, allocations: 7.984 kB / 0.9859 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0006658/0.3135, allocations: 333.2 kB / 0.9862 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.3136, allocations: 59.41 kB / 0.9863 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.3137, allocations: 202.2 kB / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.3138, allocations: 41.7 kB / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.3139, allocations: 156.6 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.314, allocations: 74.94 kB / 0.9867 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.314, allocations: 8 kB / 0.9867 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.586e-05/0.3141, allocations: 338.8 kB / 0.987 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.3143, allocations: 91.95 kB / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.3145, allocations: 157 kB / 0.9873 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.3147, allocations: 99.69 kB / 0.9874 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3147, allocations: 0 / 0.9874 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000472/0.3151, allocations: 312.7 kB / 0.9877 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3152, allocations: 8 kB / 0.9877 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3152, allocations: 4.156 kB / 0.9877 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.3152, allocations: 4 kB / 0.9877 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.3154, allocations: 39.91 kB / 0.9877 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.3154, allocations: 4 kB / 0.9877 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.3157, allocations: 55.66 kB / 0.9878 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.3157, allocations: 16 kB / 0.9878 GB, free: 18.83 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.0001587/0.3159, allocations: 177.7 kB / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.3159, allocations: 19.72 kB / 0.988 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005413/0.3165, allocations: 288.1 kB / 0.9883 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3165, allocations: 0 / 0.9883 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3165, allocations: 4 kB / 0.9883 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3165, allocations: 3.984 kB / 0.9883 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009239/0.3174, allocations: 0.7327 MB / 0.989 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3175, allocations: 3.984 kB / 0.989 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.3176, allocations: 35.91 kB / 0.989 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3176, allocations: 0 / 0.989 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.3176, allocations: 8 kB / 0.989 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3176, allocations: 0 / 0.989 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3177, allocations: 0 / 0.989 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.3181, allocations: 367.6 kB / 0.9894 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.3181, allocations: 96.77 kB / 0.9895 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.3182, allocations: 15.98 kB / 0.9895 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.3184, allocations: 35.97 kB / 0.9895 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.211e-05/0.3185, allocations: 43.88 kB / 0.9896 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.3185, allocations: 8 kB / 0.9896 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.612e-05/0.3186, allocations: 144.1 kB / 0.9897 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3186, allocations: 0 / 0.9897 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003183/0.3189, allocations: 63.84 kB / 0.9898 GB, free: 16.7 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.0007046/0.3196, allocations: 0.9091 MB / 0.9907 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004516/0.3201, allocations: 260.3 kB / 0.9909 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3201, allocations: 0 / 0.9909 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.3203, allocations: 132.2 kB / 0.991 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.3206, allocations: 28.17 kB / 0.9911 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.3227, allocations: 2.186 MB / 0.9932 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.3229, allocations: 0.7605 MB / 0.9939 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.3231, allocations: 30.28 kB / 0.994 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.3232, allocations: 87.41 kB / 0.994 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.3232, allocations: 0 / 0.994 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.3385, allocations: 4.942 MB / 0.9989 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.3388, allocations: 218.3 kB / 0.9991 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.142, allocations: 9.562 kB / 0.9991 GB, free: 7.23 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)