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.ChillerStage.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.ChillerStage,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",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 2.048/2.048, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001151/0.001151, allocations: 176.9 kB / 361.4 MB, free: 6.867 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.765/1.765, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.00105/0.00105, allocations: 89.09 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.636e-05/3.646e-05, allocations: 4 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9569/0.9569, allocations: 115.3 MB / 0.9645 GB, free: 78.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/1.185, allocations: 146.9 MB / 1.108 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/1.186, allocations: 99.92 kB / 1.108 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03933/1.225, allocations: 13.77 MB / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.536e-06/1.225, allocations: 0 / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.72e-05/1.225, allocations: 19.98 kB / 1.121 GB, free: 11.11 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002453/1.228, allocations: 0.8475 MB / 1.122 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.725e-05/1.228, allocations: 12.03 kB / 1.122 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004395/1.228, allocations: 75.16 kB / 1.122 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/1.229, allocations: 468.6 kB / 1.123 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.964e-05/1.23, allocations: 23.98 kB / 1.123 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/1.23, allocations: 32 kB / 1.123 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009445/1.231, allocations: 394.5 kB / 1.123 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/1.232, allocations: 481.9 kB / 1.124 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/1.232, allocations: 3.953 kB / 1.124 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.698e-05/1.232, allocations: 12 kB / 1.124 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/1.232, allocations: 15.94 kB / 1.124 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/1.235, allocations: 1.448 MB / 1.125 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/1.236, allocations: 437.7 kB / 1.126 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/1.237, allocations: 203.5 kB / 1.126 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.979e-05/1.237, allocations: 8.562 kB / 1.126 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006256/1.237, allocations: 270 kB / 1.126 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 4.509e-06/1.237, allocations: 4 kB / 1.126 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.001033/1.238, allocations: 422.5 kB / 1.126 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.239, allocations: 120.3 kB / 1.127 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007472/1.239, allocations: 440.8 kB / 1.127 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.182e-05/1.239, allocations: 41.7 kB / 1.127 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/1.24, allocations: 257 kB / 1.127 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/1.24, allocations: 150 kB / 1.127 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/1.24, allocations: 4 kB / 1.127 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002043/1.24, allocations: 370.8 kB / 1.128 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/1.24, allocations: 161.5 kB / 1.128 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/1.241, allocations: 290.5 kB / 1.128 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/1.241, allocations: 156.5 kB / 1.128 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.241, allocations: 5.406 kB / 1.128 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001097/1.242, allocations: 0.4995 MB / 1.129 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/1.242, allocations: 37.69 kB / 1.129 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.242, allocations: 0 / 1.129 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/1.242, allocations: 8 kB / 1.129 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/1.243, allocations: 87.78 kB / 1.129 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/1.243, allocations: 7.938 kB / 1.129 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/1.244, allocations: 75.88 kB / 1.129 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/1.244, allocations: 20 kB / 1.129 GB, free: 3.039 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * 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.0002679/1.244, allocations: 161.6 kB / 1.129 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008313/1.245, allocations: 425.4 kB / 1.13 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.245, allocations: 47.44 kB / 1.13 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/1.246, allocations: 0.5047 MB / 1.13 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/1.246, allocations: 8 kB / 1.13 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.246, allocations: 0 / 1.13 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/1.246, allocations: 10.89 kB / 1.13 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/1.248, allocations: 1.2 MB / 1.131 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.248, allocations: 0 / 1.131 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/1.249, allocations: 71.83 kB / 1.131 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.046e-06/1.249, allocations: 0 / 1.131 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/1.249, allocations: 4 kB / 1.131 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/1.249, allocations: 5.438 kB / 1.131 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.249, allocations: 0 / 1.131 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009031/1.25, allocations: 0.5615 MB / 1.132 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/1.25, allocations: 140.5 kB / 1.132 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.572e-05/1.25, allocations: 7.984 kB / 1.132 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/1.25, allocations: 51.95 kB / 1.132 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/1.25, allocations: 88.42 kB / 1.132 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/1.25, allocations: 23.98 kB / 1.132 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003767/1.251, allocations: 318.9 kB / 1.133 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.984e-06/1.251, allocations: 0 / 1.133 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006881/1.252, allocations: 135.8 kB / 1.133 GB, free: 15.21 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: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.002712/1.254, allocations: 1.602 MB / 1.134 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009757/1.255, allocations: 0.5172 MB / 1.135 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.255, allocations: 1.219 kB / 1.135 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/1.256, allocations: 250 kB / 1.135 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/1.256, allocations: 79.41 kB / 1.135 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/1.258, allocations: 0.8746 MB / 1.136 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/1.259, allocations: 0.9087 MB / 1.137 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003735/1.259, allocations: 91.89 kB / 1.137 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/1.26, allocations: 207.4 kB / 1.137 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of SimCode: time 1.252e-06/1.26, allocations: 0 / 1.137 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04193/1.302, allocations: 11.7 MB / 1.149 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003245/1.302, allocations: 226.3 kB / 1.149 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.683/3.986, allocations: 0 / 1.149 GB, free: 15.01 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage_fmu --startTime=0 --stopTime=1440 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)