Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.533/2.533, allocations: 287.3 MB / 302.3 MB, free: 8.395 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.001499/0.001498, allocations: 185.1 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001151/0.001151, allocations: 97.98 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000682/0.000682, allocations: 12.41 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2307, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.136/2.366, allocations: 479.5 MB / 1.447 GB, free: 271.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005469/2.367, allocations: 129.4 kB / 1.447 GB, free: 271.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 13.54/15.91, allocations: 2.548 GB / 3.995 GB, free: 52.67 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.716e-06/15.91, allocations: 0 / 3.995 GB, free: 52.67 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001454/15.91, allocations: 165.3 kB / 3.995 GB, free: 52.62 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.03311/15.95, allocations: 7.333 MB / 4.002 GB, free: 47.55 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 7.316e-05/15.95, allocations: 15.88 kB / 4.002 GB, free: 47.54 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002597/15.95, allocations: 0.4916 MB / 4.003 GB, free: 47.16 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/15.96, allocations: 1.34 MB / 4.004 GB, free: 46.57 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05325/16.01, allocations: 14.45 MB / 4.018 GB, free: 35.76 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000708/16.01, allocations: 379.7 kB / 4.019 GB, free: 35.38 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001782/16.02, allocations: 417 kB / 4.019 GB, free: 34.97 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01642/16.03, allocations: 4.531 MB / 4.024 GB, free: 30.3 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001523/16.03, allocations: 7.938 kB / 4.024 GB, free: 30.29 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007644/16.03, allocations: 160 kB / 4.024 GB, free: 30.14 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/16.03, allocations: 103.9 kB / 4.024 GB, free: 30.04 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01615/16.05, allocations: 3.841 MB / 4.028 GB, free: 26.19 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.0525/16.1, allocations: 23.98 MB / 4.051 GB, free: 0.7031 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009562/16.11, allocations: 2.665 MB / 4.054 GB, free: 13.98 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.02595/16.14, allocations: 8.275 MB / 4.062 GB, free: 5.004 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006834/16.14, allocations: 1.682 MB / 4.063 GB, free: 3.301 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006035/16.15, allocations: 0.6844 MB / 4.064 GB, free: 2.613 MB / 1.057 GB Notification: Performance of pre-optimization done (n=220): time 1.32e-05/16.15, allocations: 7.938 kB / 4.064 GB, free: 2.605 MB / 1.057 GB Notification: Performance of matching and sorting (n=220): time 0.02234/16.17, allocations: 4.805 MB / 4.069 GB, free: 13.71 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/16.17, allocations: 184.2 kB / 4.069 GB, free: 13.49 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01607/16.19, allocations: 4.526 MB / 4.073 GB, free: 8.969 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/16.19, allocations: 85.7 kB / 4.073 GB, free: 8.879 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.005874/16.2, allocations: 2.782 MB / 4.076 GB, free: 6.078 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001829/16.2, allocations: 0.7394 MB / 4.077 GB, free: 5.328 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000464/16.2, allocations: 56 kB / 4.077 GB, free: 5.273 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0004152/16.2, allocations: 411.9 kB / 4.077 GB, free: 4.867 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006087/16.21, allocations: 1.282 MB / 4.078 GB, free: 3.582 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00768/16.21, allocations: 2.347 MB / 4.081 GB, free: 0.7773 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.012/17.23, allocations: 1.559 MB / 4.082 GB, free: 85.92 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.574e-05/17.23, allocations: 6.281 kB / 4.082 GB, free: 85.92 MB / 1.073 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01987/17.25, allocations: 4.215 MB / 4.086 GB, free: 85.74 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002693/17.25, allocations: 10.83 MB / 4.097 GB, free: 74.81 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/17.25, allocations: 21 kB / 4.097 GB, free: 74.81 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008848/17.25, allocations: 138.1 kB / 4.097 GB, free: 74.8 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006719/17.26, allocations: 0.6881 MB / 4.098 GB, free: 74.8 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/17.26, allocations: 1.225 MB / 4.099 GB, free: 73.76 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008916/17.27, allocations: 447.3 kB / 4.099 GB, free: 73.76 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/17.27, allocations: 163.3 kB / 4.1 GB, free: 73.76 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/17.27, allocations: 3.75 kB / 4.1 GB, free: 73.76 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01569/17.28, allocations: 3.618 MB / 4.103 GB, free: 73.6 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/17.28, allocations: 21.62 kB / 4.103 GB, free: 73.6 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004785/17.28, allocations: 127.3 kB / 4.103 GB, free: 73.59 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006101/17.29, allocations: 0.6657 MB / 4.104 GB, free: 73.59 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004168/17.29, allocations: 3.182 MB / 4.107 GB, free: 70.95 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008395/17.3, allocations: 424.1 kB / 4.107 GB, free: 70.95 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/17.3, allocations: 159 kB / 4.108 GB, free: 70.95 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.005979/17.31, allocations: 1.394 MB / 4.109 GB, free: 70.7 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002185/17.31, allocations: 0.5523 MB / 4.109 GB, free: 70.7 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01821/17.33, allocations: 4.142 MB / 4.114 GB, free: 70.42 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.315e-05/17.33, allocations: 30.55 kB / 4.114 GB, free: 70.42 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/17.33, allocations: 0 / 4.114 GB, free: 70.42 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01285/17.34, allocations: 3.075 MB / 4.117 GB, free: 70.19 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.03549/17.38, allocations: 9.142 MB / 4.125 GB, free: 69.13 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/17.38, allocations: 4 kB / 4.125 GB, free: 69.13 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004988/17.38, allocations: 486.2 kB / 4.126 GB, free: 69.13 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005418/17.38, allocations: 101.3 kB / 4.126 GB, free: 69.12 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006432/17.39, allocations: 77.73 kB / 4.126 GB, free: 69.12 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009452/17.39, allocations: 1.182 MB / 4.127 GB, free: 68.08 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/17.39, allocations: 1.625 kB / 4.127 GB, free: 68.08 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02197/17.41, allocations: 5.735 MB / 4.133 GB, free: 67.2 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004693/17.41, allocations: 1.328 MB / 4.134 GB, free: 66.51 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002263/17.42, allocations: 60.61 kB / 4.134 GB, free: 66.5 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007709/17.42, allocations: 371.3 kB / 4.135 GB, free: 66.5 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000762/17.42, allocations: 145.6 kB / 4.135 GB, free: 66.5 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005988/17.42, allocations: 122.7 kB / 4.135 GB, free: 66.5 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01216/17.44, allocations: 3.473 MB / 4.138 GB, free: 66.28 MB / 1.073 GB Notification: Performance of sort global known variables: time 6.41e-07/17.44, allocations: 4.828 kB / 4.138 GB, free: 66.28 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.02012/17.46, allocations: 3.098 MB / 4.141 GB, free: 66.15 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.02874/17.49, allocations: 9.648 MB / 4.151 GB, free: 63.68 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01956/17.51, allocations: 5.523 MB / 4.156 GB, free: 63.15 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/17.51, allocations: 4.125 kB / 4.156 GB, free: 63.15 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.006269/17.51, allocations: 1.702 MB / 4.158 GB, free: 63.02 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02272/17.53, allocations: 2.645 MB / 4.16 GB, free: 62.98 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07444/17.61, allocations: 32.34 MB / 4.192 GB, free: 40.4 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006108/17.62, allocations: 3.091 MB / 4.195 GB, free: 39.54 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.01135/17.63, allocations: 1.201 MB / 4.196 GB, free: 39.33 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007527/17.63, allocations: 2.612 MB / 4.199 GB, free: 39.32 MB / 1.073 GB Notification: Performance of SimCode: time 1.513e-06/17.63, allocations: 4 kB / 4.199 GB, free: 39.32 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4088/18.04, allocations: 178.9 MB / 4.373 GB, free: 27.14 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/18.04, allocations: 313.9 kB / 4.374 GB, free: 26.79 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/30.22, allocations: 0 / 4.374 GB, free: 26.79 MB / 1.073 GB (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller.fmu > Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe 2>&1)