Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.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.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller",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.74/1.74, allocations: 285.4 MB / 298 MB, free: 6.031 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.001715/0.001715, allocations: 184.8 kB / 366.4 MB, free: 2.07 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.641/1.641, allocations: 205.1 MB / 0.6248 GB, free: 7.727 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.001209/0.001209, allocations: 86.25 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.545e-05/3.553e-05, allocations: 4 kB / 0.8584 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.706/0.7061, allocations: 115.3 MB / 0.971 GB, free: 77.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.894, allocations: 479.7 MB / 1.439 GB, free: 76.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/1.895, allocations: 119.1 kB / 1.44 GB, free: 76.73 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 10.76/12.65, allocations: 2.541 GB / 3.98 GB, free: 61.72 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.994e-06/12.65, allocations: 0 / 3.98 GB, free: 61.72 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.001584/12.65, allocations: 167.7 kB / 3.981 GB, free: 61.69 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.02102/12.67, allocations: 5.76 MB / 3.986 GB, free: 59.33 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/12.67, allocations: 10.5 kB / 3.986 GB, free: 59.33 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001676/12.68, allocations: 0.4945 MB / 3.987 GB, free: 59.27 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007948/12.68, allocations: 1.332 MB / 3.988 GB, free: 58.89 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03456/12.72, allocations: 14.33 MB / 4.002 GB, free: 57.62 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005058/12.72, allocations: 383.6 kB / 4.002 GB, free: 57.55 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001447/12.72, allocations: 412.4 kB / 4.003 GB, free: 57.55 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009286/12.73, allocations: 4.286 MB / 4.007 GB, free: 57.06 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.244e-05/12.73, allocations: 9.312 kB / 4.007 GB, free: 57.06 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004777/12.73, allocations: 157.3 kB / 4.007 GB, free: 57.06 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.853e-05/12.73, allocations: 96.58 kB / 4.007 GB, free: 57.06 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00691/12.74, allocations: 3.411 MB / 4.011 GB, free: 57.03 MB / 1.057 GB Warning: The model contains alias variables with conflicting start and/or 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.03643/12.77, allocations: 23.97 MB / 4.034 GB, free: 45.83 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003537/12.78, allocations: 2.372 MB / 4.036 GB, free: 45.59 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002063/12.78, allocations: 1.361 MB / 4.038 GB, free: 45.58 MB / 1.057 GB Warning: The model contains alias variables with conflicting start and/or 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 evalFunc (simulation): time 0.01507/12.79, allocations: 8.318 MB / 4.046 GB, free: 41.62 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002272/12.8, allocations: 1.46 MB / 4.047 GB, free: 41.48 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004036/12.8, allocations: 0.6615 MB / 4.048 GB, free: 41.36 MB / 1.057 GB Notification: Performance of pre-optimization done (n=219): time 8.636e-06/12.8, allocations: 0 / 4.048 GB, free: 41.36 MB / 1.057 GB Notification: Performance of matching and sorting (n=219): time 0.005365/12.81, allocations: 2.894 MB / 4.051 GB, free: 40.9 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/12.81, allocations: 186.6 kB / 4.051 GB, free: 40.71 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008458/12.81, allocations: 4.46 MB / 4.055 GB, free: 40.3 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0008805/12.82, allocations: 83.17 kB / 4.055 GB, free: 40.27 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.002951/12.82, allocations: 2.795 MB / 4.058 GB, free: 39.54 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001181/12.82, allocations: 0.7369 MB / 4.059 GB, free: 39.07 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/12.82, allocations: 56 kB / 4.059 GB, free: 39.07 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001725/12.82, allocations: 413.4 kB / 4.059 GB, free: 38.77 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/12.82, allocations: 1.078 MB / 4.06 GB, free: 38.76 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/12.82, allocations: 2.13 MB / 4.062 GB, free: 37.55 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/12.83, allocations: 1.37 MB / 4.064 GB, free: 37.43 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/12.83, allocations: 8.531 kB / 4.064 GB, free: 37.43 MB / 1.057 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.007451/12.83, allocations: 3.797 MB / 4.067 GB, free: 36.95 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002177/12.84, allocations: 10.83 MB / 4.078 GB, free: 26 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.071e-05/12.84, allocations: 22.28 kB / 4.078 GB, free: 26 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004073/12.84, allocations: 136.8 kB / 4.078 GB, free: 25.98 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002946/12.84, allocations: 0.6813 MB / 4.079 GB, free: 25.98 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/12.84, allocations: 1.224 MB / 4.08 GB, free: 40.94 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006235/12.85, allocations: 450.4 kB / 4.08 GB, free: 40.91 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005405/12.85, allocations: 167.8 kB / 4.08 GB, free: 40.91 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/12.85, allocations: 3.375 kB / 4.08 GB, free: 40.91 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00566/12.85, allocations: 3.247 MB / 4.084 GB, free: 40.75 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/12.85, allocations: 22.59 kB / 4.084 GB, free: 40.75 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/12.85, allocations: 122.3 kB / 4.084 GB, free: 40.73 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002607/12.86, allocations: 0.6691 MB / 4.084 GB, free: 40.73 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/12.86, allocations: 3.125 MB / 4.087 GB, free: 38.07 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006212/12.87, allocations: 426.5 kB / 4.088 GB, free: 38.04 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006681/12.87, allocations: 164.3 kB / 4.088 GB, free: 38.04 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition1,$whenCondition2,chi.uHea,chi.uCoo,chi.booToRea.u,THeaWatRet.a,THeaWatRet.b,THeaWatRet.last,$PRE.THeaWatRet.nextEvent,THeaWatRet.nextEvent,THeaWatRet.nextEventScaled,TChiWatRet.a,TChiWatRet.b,TChiWatRet.last,$PRE.TChiWatRet.nextEvent,TChiWatRet.nextEvent,TChiWatRet.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (344): * Single equations (assignments): 338 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00115/12.87, allocations: 358.5 kB / 4.088 GB, free: 37.86 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001745/12.87, allocations: 0.5519 MB / 4.089 GB, free: 37.57 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007508/12.88, allocations: 3.722 MB / 4.093 GB, free: 37.27 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-05/12.88, allocations: 29.69 kB / 4.093 GB, free: 37.27 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/12.88, allocations: 0 / 4.093 GB, free: 37.27 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003964/12.88, allocations: 2.671 MB / 4.095 GB, free: 37.04 MB / 1.073 GB Warning: The model contains alias variables with conflicting start and/or 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.01796/12.9, allocations: 8.736 MB / 4.104 GB, free: 35.94 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/12.9, allocations: 2.625 kB / 4.104 GB, free: 35.94 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/12.9, allocations: 477.6 kB / 4.104 GB, free: 35.94 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002765/12.9, allocations: 107.4 kB / 4.104 GB, free: 35.93 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002132/12.9, allocations: 80.22 kB / 4.104 GB, free: 35.93 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007604/12.9, allocations: 1.18 MB / 4.106 GB, free: 34.89 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/12.9, allocations: 2.625 kB / 4.106 GB, free: 34.89 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008346/12.91, allocations: 5.124 MB / 4.111 GB, free: 34 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004564/12.92, allocations: 1.331 MB / 4.112 GB, free: 33.3 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002235/12.92, allocations: 51.03 kB / 4.112 GB, free: 33.3 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005095/12.92, allocations: 373.8 kB / 4.112 GB, free: 33.29 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003006/12.92, allocations: 146.7 kB / 4.112 GB, free: 33.29 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003262/12.92, allocations: 129.7 kB / 4.112 GB, free: 33.29 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.006533/12.93, allocations: 3.4 MB / 4.116 GB, free: 33.04 MB / 1.073 GB Notification: Performance of sort global known variables: time 9.41e-07/12.93, allocations: 2.781 kB / 4.116 GB, free: 33.04 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01414/12.95, allocations: 3.111 MB / 4.119 GB, free: 32.63 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (chi.chi.vol1.dynBal.U,chi.chi.vol2.dynBal.U,chi.con.conValEva.conPID.I.y,chi.con.conValCon.conPID.I.y,chi.senTConLvg.T,chi.senTConEnt.T,chi.senTEvaEnt.T,chi.senTEvaLvg.T,chi.valEva.vol.dynBal.U,chi.valCon.vol.dynBal.U,senTHeaWatSup.T,senTChiWatSup.T,senTHeaWatRet.T,senTChiWatRet.T) * Number of discrete variables: 16 (chi.booToRea.u,$whenCondition3,$whenCondition1,$whenCondition2,chi.uHea,chi.uCoo,THeaWatRet.a,THeaWatRet.b,THeaWatRet.last,THeaWatRet.nextEvent,THeaWatRet.nextEventScaled,TChiWatRet.a,TChiWatRet.b,TChiWatRet.last,TChiWatRet.nextEvent,TChiWatRet.nextEventScaled) * Number of discrete states: 12 (THeaWatRet.nextEvent,THeaWatRet.last,THeaWatRet.nextEventScaled,THeaWatRet.b,THeaWatRet.a,$whenCondition2,TChiWatRet.nextEvent,TChiWatRet.last,TChiWatRet.nextEventScaled,TChiWatRet.b,TChiWatRet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (229): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01481/12.96, allocations: 9.033 MB / 4.128 GB, free: 29.91 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.009715/12.97, allocations: 5.145 MB / 4.133 GB, free: 29.31 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/12.97, allocations: 0.5625 kB / 4.133 GB, free: 29.31 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.002167/12.97, allocations: 1.493 MB / 4.134 GB, free: 29.17 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01384/12.99, allocations: 2.638 MB / 4.137 GB, free: 29.03 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04254/13.03, allocations: 11.25 MB / 4.148 GB, free: 26.26 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003675/13.03, allocations: 3.104 MB / 4.151 GB, free: 25.38 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.01133/13.04, allocations: 1.688 MB / 4.152 GB, free: 25.11 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003981/13.05, allocations: 2.523 MB / 4.155 GB, free: 25.1 MB / 1.073 GB Notification: Performance of SimCode: time 1.362e-06/13.05, allocations: 0 / 4.155 GB, free: 25.1 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.153/14.2, allocations: 188.2 MB / 4.339 GB, free: 106 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/14.2, allocations: 298.2 kB / 4.339 GB, free: 105.7 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/26.1, allocations: 1.969 kB / 4.339 GB, free: 105.7 MB / 1.104 GB (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller.fmu > Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe 2>&1)