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.491/2.491, allocations: 284.9 MB / 292.4 MB, free: 10.61 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.001545/0.001544, allocations: 172.8 kB / 360.6 MB, free: 7.312 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.041/2.041, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001112/0.001112, allocations: 90.16 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.809e-05/2.805e-05, allocations: 4 kB / 0.8509 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.792/0.7921, allocations: 115.2 MB / 0.9634 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.376/2.168, allocations: 478.8 MB / 1.431 GB, free: 86.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004179/2.168, allocations: 122.3 kB / 1.431 GB, free: 86.12 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 14.39/16.56, allocations: 2.529 GB / 3.96 GB, free: 55.68 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.005e-06/16.56, allocations: 0 / 3.96 GB, free: 55.68 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001868/16.56, allocations: 164.7 kB / 3.96 GB, free: 55.65 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.02706/16.59, allocations: 5.758 MB / 3.965 GB, free: 53.32 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.836e-05/16.59, allocations: 9.156 kB / 3.965 GB, free: 53.32 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/16.6, allocations: 1.334 MB / 3.967 GB, free: 52.94 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0584/16.66, allocations: 14.3 MB / 3.981 GB, free: 51.68 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005501/16.66, allocations: 229 kB / 3.981 GB, free: 51.61 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001919/16.66, allocations: 243.2 kB / 3.981 GB, free: 51.61 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01279/16.68, allocations: 3.244 MB / 3.984 GB, free: 51.6 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01664/16.69, allocations: 3.763 MB / 3.988 GB, free: 51.13 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002689/16.69, allocations: 15.47 kB / 3.988 GB, free: 51.13 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001647/16.69, allocations: 7.281 kB / 3.988 GB, free: 51.13 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/16.69, allocations: 99.94 kB / 3.988 GB, free: 51.13 MB / 1.042 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.05557/16.75, allocations: 23.24 MB / 4.011 GB, free: 40.07 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005681/16.76, allocations: 2.364 MB / 4.013 GB, free: 39.84 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003741/16.76, allocations: 1.336 MB / 4.014 GB, free: 39.82 MB / 1.042 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.0234/16.78, allocations: 8.11 MB / 4.022 GB, free: 35.88 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004246/16.79, allocations: 1.404 MB / 4.024 GB, free: 35.74 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005765/16.79, allocations: 0.5717 MB / 4.024 GB, free: 35.64 MB / 1.042 GB Notification: Performance of pre-optimization done (n=219): time 2.487e-05/16.79, allocations: 2.875 kB / 4.024 GB, free: 35.64 MB / 1.042 GB Notification: Performance of matching and sorting (n=219): time 0.01418/16.81, allocations: 3.108 MB / 4.027 GB, free: 35.26 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.773e-05/16.81, allocations: 179.7 kB / 4.028 GB, free: 35.07 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01345/16.82, allocations: 3.912 MB / 4.031 GB, free: 34.7 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0009117/16.82, allocations: 32.83 kB / 4.031 GB, free: 34.67 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.005032/16.83, allocations: 2.808 MB / 4.034 GB, free: 33.86 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001504/16.83, allocations: 0.7037 MB / 4.035 GB, free: 33.39 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004488/16.83, allocations: 3 kB / 4.035 GB, free: 33.39 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0003125/16.83, allocations: 417.7 kB / 4.035 GB, free: 33.09 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00343/16.83, allocations: 1.05 MB / 4.036 GB, free: 33.08 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004449/16.84, allocations: 2.078 MB / 4.038 GB, free: 31.89 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00765/16.85, allocations: 1.617 MB / 4.04 GB, free: 31.83 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.087e-05/16.85, allocations: 6.375 kB / 4.04 GB, free: 31.83 MB / 1.042 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.0167/16.86, allocations: 3.865 MB / 4.044 GB, free: 31.43 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0024/16.86, allocations: 10.66 MB / 4.054 GB, free: 20.48 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/16.86, allocations: 21.16 kB / 4.054 GB, free: 20.48 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005407/16.87, allocations: 125.4 kB / 4.054 GB, free: 20.46 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005905/16.87, allocations: 0.6837 MB / 4.055 GB, free: 20.46 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/16.87, allocations: 1.244 MB / 4.056 GB, free: 35.42 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008602/16.88, allocations: 369.4 kB / 4.056 GB, free: 35.39 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/16.88, allocations: 163.3 kB / 4.057 GB, free: 35.39 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/16.88, allocations: 3.562 kB / 4.057 GB, free: 35.39 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01346/16.9, allocations: 3.196 MB / 4.06 GB, free: 35.3 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-05/16.9, allocations: 22.59 kB / 4.06 GB, free: 35.3 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004199/16.9, allocations: 114.5 kB / 4.06 GB, free: 35.28 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005659/16.9, allocations: 0.667 MB / 4.06 GB, free: 35.28 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004728/16.91, allocations: 3.017 MB / 4.063 GB, free: 32.73 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008211/16.92, allocations: 344.2 kB / 4.064 GB, free: 32.71 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001094/16.92, allocations: 158.5 kB / 4.064 GB, free: 32.71 MB / 1.057 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.001542/16.92, allocations: 266 kB / 4.064 GB, free: 32.52 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01288/16.93, allocations: 3.022 MB / 4.067 GB, free: 32.15 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002493/16.93, allocations: 0.5183 MB / 4.068 GB, free: 31.87 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0158/16.95, allocations: 3.687 MB / 4.071 GB, free: 31.63 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.3e-05/16.95, allocations: 27.73 kB / 4.071 GB, free: 31.63 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/16.95, allocations: 5.688 kB / 4.071 GB, free: 31.63 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01058/16.96, allocations: 2.703 MB / 4.074 GB, free: 31.46 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 postOpt removeSimpleEquations (simulation): time 0.03266/16.99, allocations: 8.263 MB / 4.082 GB, free: 30.51 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/16.99, allocations: 0 / 4.082 GB, free: 30.51 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00474/17, allocations: 479.9 kB / 4.082 GB, free: 30.5 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003678/17, allocations: 90.47 kB / 4.082 GB, free: 30.49 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006463/17, allocations: 55.39 kB / 4.083 GB, free: 30.49 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/17, allocations: 1.172 MB / 4.084 GB, free: 29.45 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/17, allocations: 6.109 kB / 4.084 GB, free: 29.45 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/17.02, allocations: 5.085 MB / 4.089 GB, free: 28.64 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005481/17.02, allocations: 1.292 MB / 4.09 GB, free: 27.96 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002519/17.03, allocations: 20.53 kB / 4.09 GB, free: 27.96 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007701/17.03, allocations: 330.9 kB / 4.09 GB, free: 27.95 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007076/17.03, allocations: 150.4 kB / 4.09 GB, free: 27.94 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005696/17.03, allocations: 115.8 kB / 4.091 GB, free: 27.94 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.00935/17.04, allocations: 2.921 MB / 4.093 GB, free: 27.73 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.113e-06/17.04, allocations: 0 / 4.093 GB, free: 27.73 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.022/17.07, allocations: 3.045 MB / 4.096 GB, free: 27.26 MB / 1.057 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.02604/17.09, allocations: 8.891 MB / 4.105 GB, free: 24.7 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01517/17.11, allocations: 4.902 MB / 4.11 GB, free: 24.16 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.958e-05/17.11, allocations: 0.5625 kB / 4.11 GB, free: 24.15 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.004241/17.11, allocations: 1.439 MB / 4.111 GB, free: 24.02 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02001/17.13, allocations: 2.37 MB / 4.114 GB, free: 23.98 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0608/17.19, allocations: 10.98 MB / 4.124 GB, free: 21.27 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00663/17.2, allocations: 3.103 MB / 4.127 GB, free: 20.39 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.01739/17.22, allocations: 1.614 MB / 4.129 GB, free: 20.14 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006605/17.22, allocations: 2.512 MB / 4.131 GB, free: 20.13 MB / 1.057 GB Notification: Performance of SimCode: time 1.753e-06/17.22, allocations: 0 / 4.131 GB, free: 20.13 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4466/17.67, allocations: 162.2 MB / 4.29 GB, free: 12.68 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004016/17.67, allocations: 237.3 kB / 4.29 GB, free: 12.39 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/31, allocations: 0 / 4.29 GB, free: 12.39 MB / 1.104 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)