Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.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.Equipment.Validation.IntegratedPrimaryPlantSide,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_IntegratedPrimaryPlantSide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_IntegratedPrimaryPlantSide",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.733/1.733, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001225/0.001225, allocations: 185 kB / 377.1 MB, free: 1.523 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.934/1.934, allocations: 205.4 MB / 0.6366 GB, free: 8.523 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.001016/0.001016, allocations: 92.27 kB / 0.7509 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003599, allocations: 8 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3121, allocations: 116.3 MB / 0.9884 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.025/2.337, allocations: 497.1 MB / 1.474 GB, free: 256.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/2.337, allocations: 114.4 kB / 1.474 GB, free: 256.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 31.23/33.57, allocations: 6.504 GB / 7.978 GB, free: 51.53 MB / 1.307 GB Notification: Performance of FrontEnd: time 4.178e-06/33.57, allocations: 0 / 7.978 GB, free: 51.53 MB / 1.307 GB Notification: Performance of Transformations before backend: time 0.005907/33.57, allocations: 367.8 kB / 7.978 GB, free: 51.45 MB / 1.307 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1792 * Number of variables: 1792 Notification: Performance of Generate backend data structure: time 0.08699/33.66, allocations: 15.95 MB / 7.993 GB, free: 44.22 MB / 1.307 GB Notification: Performance of prepare preOptimizeDAE: time 7.619e-05/33.66, allocations: 11.19 kB / 7.993 GB, free: 44.22 MB / 1.307 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00887/33.67, allocations: 0.9285 MB / 7.994 GB, free: 44.14 MB / 1.307 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02956/33.7, allocations: 3.527 MB / 7.998 GB, free: 43.23 MB / 1.307 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08056/33.78, allocations: 19.04 MB / 8.016 GB, free: 40.86 MB / 1.307 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003089/33.78, allocations: 1.032 MB / 8.017 GB, free: 40.7 MB / 1.307 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006669/33.79, allocations: 0.8105 MB / 8.018 GB, free: 40.69 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04943/33.84, allocations: 11.26 MB / 8.029 GB, free: 39.64 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008224/33.84, allocations: 15.47 kB / 8.029 GB, free: 39.63 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005679/33.85, allocations: 298.7 kB / 8.03 GB, free: 39.63 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003668/33.85, allocations: 176 kB / 8.03 GB, free: 39.63 MB / 1.307 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0421/33.89, allocations: 11.61 MB / 8.041 GB, free: 39.45 MB / 1.307 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1572/34.05, allocations: 58.5 MB / 8.098 GB, free: 13.69 MB / 1.307 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02315/34.07, allocations: 8.539 MB / 8.107 GB, free: 9.988 MB / 1.307 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003244/34.07, allocations: 3.123 MB / 8.11 GB, free: 6.523 MB / 1.307 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01544/34.09, allocations: 4.765 MB / 8.114 GB, free: 4.898 MB / 1.307 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02214/34.11, allocations: 2.376 MB / 8.117 GB, free: 4.25 MB / 1.307 GB Notification: Performance of pre-optimization done (n=429): time 4.465e-05/34.11, allocations: 0 / 8.117 GB, free: 4.25 MB / 1.307 GB Notification: Performance of matching and sorting (n=429): time 0.04897/34.16, allocations: 13.83 MB / 8.13 GB, free: 15.12 MB / 1.323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007511/34.16, allocations: 0.9903 MB / 8.131 GB, free: 13.95 MB / 1.323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04989/34.21, allocations: 12.3 MB / 8.143 GB, free: 9.57 MB / 1.323 GB Notification: Performance of collectPreVariables (initialization): time 0.003151/34.21, allocations: 162.7 kB / 8.143 GB, free: 9.449 MB / 1.323 GB Notification: Performance of collectInitialEqns (initialization): time 0.01534/34.23, allocations: 6.335 MB / 8.149 GB, free: 4.43 MB / 1.323 GB Notification: Performance of collectInitialBindings (initialization): time 0.004043/34.23, allocations: 1.486 MB / 8.151 GB, free: 3.238 MB / 1.323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0025/34.24, allocations: 120.8 kB / 8.151 GB, free: 3.145 MB / 1.323 GB Notification: Performance of setup shared object (initialization): time 0.001027/34.24, allocations: 0.5418 MB / 8.151 GB, free: 2.73 MB / 1.323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01286/34.25, allocations: 4.692 MB / 8.156 GB, free: 256 kB / 1.323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0188/34.27, allocations: 7.045 MB / 8.163 GB, free: 9.223 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01516/34.28, allocations: 5.216 MB / 8.168 GB, free: 4.656 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/34.28, allocations: 12 kB / 8.168 GB, free: 4.645 MB / 1.339 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04377/34.33, allocations: 12.63 MB / 8.18 GB, free: 9.688 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.771/36.1, allocations: 23.27 MB / 8.203 GB, free: 105.2 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003334/36.1, allocations: 58.34 kB / 8.203 GB, free: 105.2 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/36.1, allocations: 417.6 kB / 8.204 GB, free: 105.1 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01185/36.11, allocations: 1.903 MB / 8.205 GB, free: 105.1 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003928/36.12, allocations: 4.317 MB / 8.21 GB, free: 101.8 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01978/36.14, allocations: 1.311 MB / 8.211 GB, free: 101.8 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003568/36.14, allocations: 348.9 kB / 8.211 GB, free: 101.8 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/36.14, allocations: 5.125 kB / 8.211 GB, free: 101.8 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03554/36.18, allocations: 11.44 MB / 8.222 GB, free: 101.5 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004099/36.18, allocations: 54.5 kB / 8.222 GB, free: 101.5 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001538/36.18, allocations: 445.3 kB / 8.223 GB, free: 101.5 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01172/36.19, allocations: 1.856 MB / 8.225 GB, free: 101.5 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009147/36.2, allocations: 5.937 MB / 8.231 GB, free: 98.74 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01928/36.22, allocations: 1.293 MB / 8.232 GB, free: 98.74 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003407/36.22, allocations: 342.8 kB / 8.232 GB, free: 98.74 MB / 1.354 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 157 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$whenCondition3,intWSEPri2.trigger,$PRE.tri.pulseStart,tri.pulseStart,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,intWSEPri1.on[1],intWSEPri1.on[2],intWSEPri1.wse.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 719 * Array equations: 10 * Algorithm blocks: 1 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 10,6 10} Notification: Performance of prepare postOptimizeDAE: time 0.01729/36.24, allocations: 3.656 MB / 8.236 GB, free: 98.52 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007485/36.25, allocations: 1.269 MB / 8.237 GB, free: 98.52 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04226/36.29, allocations: 10.72 MB / 8.247 GB, free: 98.11 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001286/36.29, allocations: 57.91 kB / 8.247 GB, free: 98.11 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.994e-05/36.29, allocations: 0 / 8.247 GB, free: 98.11 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02477/36.31, allocations: 8.421 MB / 8.256 GB, free: 97.74 MB / 1.354 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08763/36.4, allocations: 23.49 MB / 8.279 GB, free: 96.12 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.898e-05/36.4, allocations: 4.703 kB / 8.279 GB, free: 96.12 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008638/36.41, allocations: 1.263 MB / 8.28 GB, free: 96.12 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/36.41, allocations: 341.7 kB / 8.28 GB, free: 96.1 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001999/36.41, allocations: 164.7 kB / 8.28 GB, free: 96.1 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003274/36.42, allocations: 4.121 MB / 8.284 GB, free: 92.73 MB / 1.354 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/36.42, allocations: 3.594 kB / 8.284 GB, free: 92.73 MB / 1.354 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05176/36.47, allocations: 16.31 MB / 8.3 GB, free: 91.2 MB / 1.354 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01912/36.49, allocations: 2.962 MB / 8.303 GB, free: 90.21 MB / 1.354 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009213/36.5, allocations: 119.9 kB / 8.303 GB, free: 90.21 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01706/36.51, allocations: 1.075 MB / 8.304 GB, free: 90.19 MB / 1.354 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001945/36.52, allocations: 306.2 kB / 8.305 GB, free: 90.18 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002/36.52, allocations: 210.3 kB / 8.305 GB, free: 90.18 MB / 1.354 GB Notification: Performance of sorting global known variables: time 0.0335/36.55, allocations: 9.475 MB / 8.314 GB, free: 89.83 MB / 1.354 GB Notification: Performance of sort global known variables: time 1.002e-06/36.55, allocations: 0 / 8.314 GB, free: 89.83 MB / 1.354 GB Notification: Performance of remove unused functions: time 0.04357/36.59, allocations: 6.455 MB / 8.32 GB, free: 89.62 MB / 1.354 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 32 (TSup1.T,intWSEPri1.chiPar.chi[1].vol1.dynBal.U,intWSEPri1.chiPar.chi[1].vol2.dynBal.U,intWSEPri1.chiPar.filter[1].x[1],intWSEPri1.chiPar.filter[1].x[2],intWSEPri1.wse.heaExc.thrWayVal.vol.dynBal.U,intWSEPri1.wse.heaExc.thrWayVal.filter.x[1],intWSEPri1.wse.heaExc.thrWayVal.filter.x[2],intWSEPri1.wse.heaExc.con.I.y,intWSEPri1.wse.filter[1].x[1],intWSEPri1.wse.filter[1].x[2],intWSEPri1.senTem.T,intWSEPri1.val5.filter.x[1],intWSEPri1.val5.filter.x[2],intWSEPri1.val6.filter.x[1],intWSEPri1.val6.filter.x[2],intWSEPri2.chiPar.chi[1].vol1.dynBal.U,intWSEPri2.chiPar.chi[1].vol2.dynBal.U,intWSEPri2.chiPar.filter[1].x[1],intWSEPri2.chiPar.filter[1].x[2],intWSEPri2.wse.heaExc.thrWayVal.vol.dynBal.U,intWSEPri2.wse.heaExc.thrWayVal.filter.x[1],intWSEPri2.wse.heaExc.thrWayVal.filter.x[2],intWSEPri2.wse.heaExc.con.I.y,intWSEPri2.wse.filter[1].x[1],intWSEPri2.wse.filter[1].x[2],intWSEPri2.senTem.T,intWSEPri2.val5.filter.x[1],intWSEPri2.val5.filter.x[2],intWSEPri2.val6.filter.x[1],intWSEPri2.val6.filter.x[2],TSup2.T) * Number of discrete variables: 12 (intWSEPri2.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,intWSEPri1.on[1],intWSEPri1.on[2],tri.pulseStart) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (474): * Single equations (assignments): 448 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 18 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.06264/36.66, allocations: 24.05 MB / 8.344 GB, free: 83.55 MB / 1.354 GB Notification: Performance of simCode: created initialization part: time 0.0483/36.71, allocations: 17.39 MB / 8.361 GB, free: 82.41 MB / 1.354 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-05/36.71, allocations: 6.703 kB / 8.361 GB, free: 82.41 MB / 1.354 GB Notification: Performance of simCode: created simulation system equations: time 0.01387/36.72, allocations: 4.684 MB / 8.365 GB, free: 82.31 MB / 1.354 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04318/36.76, allocations: 7.196 MB / 8.372 GB, free: 82.16 MB / 1.354 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1176/36.88, allocations: 64.18 MB / 8.435 GB, free: 39.66 MB / 1.354 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02259/36.9, allocations: 7.267 MB / 8.442 GB, free: 38.48 MB / 1.354 GB Notification: Performance of simCode: alias equations: time 0.02969/36.93, allocations: 3.749 MB / 8.446 GB, free: 37.98 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0186/36.95, allocations: 6.21 MB / 8.452 GB, free: 37.97 MB / 1.354 GB Notification: Performance of SimCode: time 1.713e-06/36.95, allocations: 2.5 kB / 8.452 GB, free: 37.97 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.66/40.61, allocations: 416.1 MB / 8.858 GB, free: 160.3 MB / 1.401 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/40.61, allocations: 308.2 kB / 8.859 GB, free: 160 MB / 1.401 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.82/67.44, allocations: 4 kB / 8.859 GB, free: 160 MB / 1.401 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_IntegratedPrimaryPlantSide_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_IntegratedPrimaryPlantSide.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe 2>&1)