Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.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.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.002105/0.002105, allocations: 177.1 kB / 377.1 MB, free: 1.52 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.932/1.932, allocations: 205.4 MB / 0.6366 GB, free: 8.551 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.0009888/0.0009887, allocations: 93.08 kB / 0.7509 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004671/0.0004674, allocations: 8 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3384, allocations: 116.3 MB / 0.9885 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.141/2.479, allocations: 480.8 MB / 1.458 GB, free: 236 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004004/2.48, allocations: 126.7 kB / 1.458 GB, free: 236 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 10.32/12.8, allocations: 2.548 GB / 4.007 GB, free: 10.3 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.845e-06/12.8, allocations: 0 / 4.007 GB, free: 10.3 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001585/12.8, allocations: 163.9 kB / 4.007 GB, free: 10.14 MB / 1.073 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.03286/12.83, allocations: 7.329 MB / 4.014 GB, free: 2.711 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/12.83, allocations: 8.031 kB / 4.014 GB, free: 2.703 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003319/12.84, allocations: 0.4982 MB / 4.014 GB, free: 2.195 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009667/12.85, allocations: 1.339 MB / 4.016 GB, free: 0.8477 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.161/14.01, allocations: 14.44 MB / 4.03 GB, free: 63.4 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009243/14.01, allocations: 381.9 kB / 4.03 GB, free: 63.33 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002416/14.01, allocations: 414.6 kB / 4.03 GB, free: 63.33 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/14.03, allocations: 4.534 MB / 4.035 GB, free: 62.85 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/14.03, allocations: 6.688 kB / 4.035 GB, free: 62.85 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000601/14.03, allocations: 153.5 kB / 4.035 GB, free: 62.85 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001793/14.03, allocations: 104.9 kB / 4.035 GB, free: 62.85 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/14.04, allocations: 3.847 MB / 4.039 GB, free: 62.82 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 preOpt removeSimpleEquations (simulation): time 0.05012/14.09, allocations: 23.96 MB / 4.062 GB, free: 51.82 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006217/14.1, allocations: 2.678 MB / 4.065 GB, free: 51.57 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 preOpt evalFunc (simulation): time 0.02194/14.12, allocations: 8.267 MB / 4.073 GB, free: 47.74 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003701/14.12, allocations: 1.674 MB / 4.075 GB, free: 47.61 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005487/14.13, allocations: 0.6842 MB / 4.075 GB, free: 47.54 MB / 1.073 GB Notification: Performance of pre-optimization done (n=220): time 1.712e-05/14.13, allocations: 3.469 kB / 4.075 GB, free: 47.54 MB / 1.073 GB Notification: Performance of matching and sorting (n=220): time 0.01329/14.14, allocations: 4.812 MB / 4.08 GB, free: 46.7 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/14.14, allocations: 182.8 kB / 4.08 GB, free: 46.5 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01586/14.16, allocations: 4.527 MB / 4.085 GB, free: 46.15 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.00124/14.16, allocations: 87.67 kB / 4.085 GB, free: 46.12 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.004182/14.16, allocations: 2.791 MB / 4.087 GB, free: 45.59 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001627/14.17, allocations: 0.7382 MB / 4.088 GB, free: 45.21 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/14.17, allocations: 59.56 kB / 4.088 GB, free: 45.21 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002346/14.17, allocations: 417.2 kB / 4.089 GB, free: 44.91 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003204/14.17, allocations: 1.279 MB / 4.09 GB, free: 44.9 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003868/14.17, allocations: 2.346 MB / 4.092 GB, free: 43.7 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003674/14.18, allocations: 1.566 MB / 4.094 GB, free: 43.58 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/14.18, allocations: 8.375 kB / 4.094 GB, free: 43.58 MB / 1.073 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01168/14.19, allocations: 4.215 MB / 4.098 GB, free: 43.1 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003555/14.19, allocations: 10.83 MB / 4.108 GB, free: 32.15 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.727e-05/14.19, allocations: 22.38 kB / 4.108 GB, free: 32.15 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005466/14.19, allocations: 142.8 kB / 4.109 GB, free: 32.13 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003746/14.2, allocations: 0.6867 MB / 4.109 GB, free: 32.13 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000909/14.2, allocations: 1.222 MB / 4.11 GB, free: 31.09 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008473/14.21, allocations: 452.6 kB / 4.111 GB, free: 31.08 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/14.21, allocations: 164 kB / 4.111 GB, free: 31.08 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/14.21, allocations: 2.312 kB / 4.111 GB, free: 31.08 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01252/14.22, allocations: 3.612 MB / 4.114 GB, free: 30.91 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001318/14.22, allocations: 20.62 kB / 4.115 GB, free: 30.91 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004575/14.22, allocations: 125.1 kB / 4.115 GB, free: 30.9 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003585/14.22, allocations: 0.6674 MB / 4.115 GB, free: 30.9 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005572/14.23, allocations: 3.183 MB / 4.118 GB, free: 44.24 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008465/14.24, allocations: 427.2 kB / 4.119 GB, free: 44.22 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/14.24, allocations: 160.5 kB / 4.119 GB, free: 44.22 MB / 1.089 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.008542/14.25, allocations: 1.402 MB / 4.12 GB, free: 43.97 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003892/14.25, allocations: 0.545 MB / 4.121 GB, free: 43.68 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01629/14.27, allocations: 4.141 MB / 4.125 GB, free: 43.39 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.496e-05/14.27, allocations: 30.58 kB / 4.125 GB, free: 43.39 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/14.27, allocations: 4.531 kB / 4.125 GB, free: 43.39 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008139/14.28, allocations: 3.082 MB / 4.128 GB, free: 43.16 MB / 1.089 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.03526/14.31, allocations: 9.131 MB / 4.137 GB, free: 42.09 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-05/14.31, allocations: 3.344 kB / 4.137 GB, free: 42.09 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003433/14.32, allocations: 485 kB / 4.137 GB, free: 42.09 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004889/14.32, allocations: 111.4 kB / 4.137 GB, free: 42.07 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006651/14.32, allocations: 76.78 kB / 4.138 GB, free: 42.07 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/14.32, allocations: 1.172 MB / 4.139 GB, free: 41.04 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/14.32, allocations: 6.391 kB / 4.139 GB, free: 41.04 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02035/14.34, allocations: 5.741 MB / 4.144 GB, free: 40.15 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006463/14.35, allocations: 1.33 MB / 4.146 GB, free: 39.45 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003334/14.35, allocations: 52.84 kB / 4.146 GB, free: 39.45 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006913/14.36, allocations: 377.2 kB / 4.146 GB, free: 39.45 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005741/14.36, allocations: 144.4 kB / 4.146 GB, free: 39.45 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006007/14.36, allocations: 123.2 kB / 4.146 GB, free: 39.45 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.01338/14.37, allocations: 3.474 MB / 4.15 GB, free: 39.23 MB / 1.089 GB Notification: Performance of sort global known variables: time 2.334e-06/14.37, allocations: 0 / 4.15 GB, free: 39.23 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0274/14.4, allocations: 3.103 MB / 4.153 GB, free: 38.95 MB / 1.089 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.02955/14.43, allocations: 9.663 MB / 4.162 GB, free: 36.4 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01756/14.45, allocations: 5.525 MB / 4.167 GB, free: 35.86 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.041e-05/14.45, allocations: 0.5625 kB / 4.167 GB, free: 35.86 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.00527/14.45, allocations: 1.7 MB / 4.169 GB, free: 35.72 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01759/14.47, allocations: 2.646 MB / 4.172 GB, free: 35.68 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0655/14.53, allocations: 32.32 MB / 4.203 GB, free: 28.87 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007694/14.54, allocations: 3.092 MB / 4.206 GB, free: 28 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.01061/14.55, allocations: 1.21 MB / 4.207 GB, free: 27.79 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007654/14.56, allocations: 2.613 MB / 4.21 GB, free: 27.78 MB / 1.104 GB Notification: Performance of SimCode: time 2.044e-06/14.56, allocations: 0.9375 kB / 4.21 GB, free: 27.78 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3594/14.92, allocations: 178.9 MB / 4.385 GB, free: 6.422 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/14.92, allocations: 306.4 kB / 4.385 GB, free: 6.059 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/25.61, allocations: 4 kB / 4.385 GB, free: 6.055 MB / 1.104 GB (rm -f Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller.fmu > Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe 2>&1)