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 2.113/2.113, allocations: 288.2 MB / 303.2 MB, free: 8.199 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.001264/0.001264, allocations: 181 kB / 371.8 MB, free: 10.29 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.81/1.81, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.000908/0.0009084, allocations: 94.91 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004839, allocations: 11.72 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2763, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.009/2.285, allocations: 479.8 MB / 1.448 GB, free: 272.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004319/2.286, allocations: 128.9 kB / 1.448 GB, free: 272.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.77/13.06, allocations: 2.548 GB / 3.997 GB, free: 49.49 MB / 1.042 GB Notification: Performance of FrontEnd: time 4.068e-06/13.06, allocations: 0 / 3.997 GB, free: 49.49 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001643/13.06, allocations: 175.6 kB / 3.997 GB, free: 49.44 MB / 1.042 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.0364/13.09, allocations: 7.318 MB / 4.004 GB, free: 44.37 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 7.195e-05/13.09, allocations: 9.219 kB / 4.004 GB, free: 44.37 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003604/13.1, allocations: 0.4992 MB / 4.004 GB, free: 43.98 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.013/13.11, allocations: 1.338 MB / 4.006 GB, free: 43.39 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05485/13.17, allocations: 14.46 MB / 4.02 GB, free: 30.57 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009136/13.17, allocations: 383.7 kB / 4.02 GB, free: 30.19 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002615/13.17, allocations: 403.9 kB / 4.021 GB, free: 29.79 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01951/13.19, allocations: 4.533 MB / 4.025 GB, free: 25.12 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003118/13.19, allocations: 7.938 kB / 4.025 GB, free: 25.11 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001822/13.19, allocations: 156 kB / 4.025 GB, free: 24.96 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/13.19, allocations: 103.9 kB / 4.025 GB, free: 24.86 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/13.2, allocations: 3.849 MB / 4.029 GB, free: 21 MB / 1.042 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.05856/13.26, allocations: 23.97 MB / 4.052 GB, free: 11.53 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008062/13.27, allocations: 2.665 MB / 4.055 GB, free: 8.82 MB / 1.057 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 evalFunc (simulation): time 0.02768/13.3, allocations: 8.283 MB / 4.063 GB, free: 15.83 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00623/13.31, allocations: 1.664 MB / 4.065 GB, free: 14.14 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00731/13.31, allocations: 0.6884 MB / 4.065 GB, free: 13.45 MB / 1.073 GB Notification: Performance of pre-optimization done (n=220): time 1.977e-05/13.31, allocations: 0 / 4.065 GB, free: 13.45 MB / 1.073 GB Notification: Performance of matching and sorting (n=220): time 0.01767/13.33, allocations: 4.817 MB / 4.07 GB, free: 8.543 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002265/13.33, allocations: 184.2 kB / 4.07 GB, free: 8.324 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01915/13.35, allocations: 4.538 MB / 4.075 GB, free: 3.793 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001141/13.35, allocations: 85.64 kB / 4.075 GB, free: 3.703 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.004118/13.36, allocations: 2.782 MB / 4.078 GB, free: 0.9023 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001603/13.36, allocations: 0.7354 MB / 4.078 GB, free: 160 kB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/13.36, allocations: 56 kB / 4.078 GB, free: 104 kB / 1.073 GB Notification: Performance of setup shared object (initialization): time 1.051/14.41, allocations: 416.4 kB / 4.079 GB, free: 84.55 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005093/14.41, allocations: 1.282 MB / 4.08 GB, free: 84.54 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005318/14.42, allocations: 2.34 MB / 4.082 GB, free: 83.35 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004711/14.42, allocations: 1.567 MB / 4.084 GB, free: 83.24 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.636e-05/14.42, allocations: 6.875 kB / 4.084 GB, free: 83.24 MB / 1.073 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01326/14.44, allocations: 4.212 MB / 4.088 GB, free: 83.05 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002509/14.44, allocations: 10.83 MB / 4.098 GB, free: 72.12 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.785e-05/14.44, allocations: 21.72 kB / 4.098 GB, free: 72.12 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005226/14.44, allocations: 140.1 kB / 4.099 GB, free: 72.11 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003981/14.44, allocations: 0.6873 MB / 4.099 GB, free: 72.11 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009726/14.44, allocations: 1.227 MB / 4.1 GB, free: 71.07 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007001/14.45, allocations: 442.8 kB / 4.101 GB, free: 71.07 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/14.45, allocations: 163.6 kB / 4.101 GB, free: 71.07 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/14.45, allocations: 3.781 kB / 4.101 GB, free: 71.07 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01022/14.46, allocations: 3.621 MB / 4.105 GB, free: 70.91 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.705e-05/14.46, allocations: 21.84 kB / 4.105 GB, free: 70.91 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004079/14.46, allocations: 119.2 kB / 4.105 GB, free: 70.89 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00336/14.47, allocations: 0.6702 MB / 4.105 GB, free: 70.89 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/14.47, allocations: 3.179 MB / 4.108 GB, free: 68.25 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006936/14.48, allocations: 430.3 kB / 4.109 GB, free: 68.25 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009236/14.48, allocations: 156.1 kB / 4.109 GB, free: 68.25 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (345): * Single equations (assignments): 339 * 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.005508/14.48, allocations: 1.399 MB / 4.11 GB, free: 68 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002406/14.49, allocations: 0.5509 MB / 4.111 GB, free: 68 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/14.5, allocations: 4.136 MB / 4.115 GB, free: 67.73 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.39e-05/14.5, allocations: 32.36 kB / 4.115 GB, free: 67.73 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/14.5, allocations: 1.031 kB / 4.115 GB, free: 67.73 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008026/14.51, allocations: 3.08 MB / 4.118 GB, free: 67.5 MB / 1.073 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.03232/14.54, allocations: 9.135 MB / 4.127 GB, free: 66.44 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/14.54, allocations: 1.031 kB / 4.127 GB, free: 66.44 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002607/14.54, allocations: 486.8 kB / 4.127 GB, free: 66.44 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003054/14.54, allocations: 106.8 kB / 4.128 GB, free: 66.43 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003161/14.54, allocations: 81.36 kB / 4.128 GB, free: 66.42 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007637/14.54, allocations: 1.175 MB / 4.129 GB, free: 65.39 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/14.54, allocations: 1.094 kB / 4.129 GB, free: 65.39 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01906/14.56, allocations: 5.739 MB / 4.134 GB, free: 64.51 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005286/14.57, allocations: 1.334 MB / 4.136 GB, free: 63.81 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002601/14.57, allocations: 52.11 kB / 4.136 GB, free: 63.81 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005575/14.58, allocations: 375.7 kB / 4.136 GB, free: 63.8 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004125/14.58, allocations: 143.8 kB / 4.136 GB, free: 63.8 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003827/14.58, allocations: 127.1 kB / 4.136 GB, free: 63.8 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.008207/14.59, allocations: 3.47 MB / 4.14 GB, free: 63.59 MB / 1.073 GB Notification: Performance of sort global known variables: time 5.11e-07/14.59, allocations: 0 / 4.14 GB, free: 63.59 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01786/14.6, allocations: 3.104 MB / 4.143 GB, free: 63.46 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 208 * 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.02211/14.63, allocations: 9.653 MB / 4.152 GB, free: 60.98 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01224/14.64, allocations: 5.519 MB / 4.158 GB, free: 60.46 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/14.64, allocations: 3.281 kB / 4.158 GB, free: 60.46 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003398/14.64, allocations: 1.706 MB / 4.159 GB, free: 60.32 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01462/14.66, allocations: 2.641 MB / 4.162 GB, free: 60.29 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05196/14.71, allocations: 32.34 MB / 4.193 GB, free: 37.64 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002993/14.71, allocations: 3.093 MB / 4.196 GB, free: 36.77 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.007243/14.72, allocations: 1.208 MB / 4.198 GB, free: 36.57 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004639/14.72, allocations: 2.611 MB / 4.2 GB, free: 36.55 MB / 1.073 GB Notification: Performance of SimCode: time 1.112e-06/14.72, allocations: 0 / 4.2 GB, free: 36.55 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2915/15.02, allocations: 178.9 MB / 4.375 GB, free: 24.46 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/15.02, allocations: 328.6 kB / 4.375 GB, free: 24.1 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/26.12, allocations: 0 / 4.375 GB, free: 24.1 MB / 1.073 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)