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.723/1.723, allocations: 289.7 MB / 302.2 MB, free: 2.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.001152/0.001152, allocations: 182.1 kB / 371.6 MB, free: 3.414 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.687/1.687, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.00102/0.00102, allocations: 93.23 kB / 0.745 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.356e-05/4.359e-05, allocations: 4 kB / 0.8664 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.278, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.873/2.151, allocations: 480.7 MB / 1.449 GB, free: 255 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003817/2.151, allocations: 119 kB / 1.449 GB, free: 255 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.56/12.71, allocations: 2.541 GB / 3.99 GB, free: 0.543 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.214e-06/12.71, allocations: 3.938 kB / 3.99 GB, free: 0.5391 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001441/12.71, allocations: 163.9 kB / 3.99 GB, free: 388 kB / 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.02236/12.74, allocations: 5.748 MB / 3.996 GB, free: 10.55 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/12.74, allocations: 12.03 kB / 3.996 GB, free: 10.54 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002613/12.74, allocations: 494.2 kB / 3.997 GB, free: 10.04 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009076/12.75, allocations: 1.343 MB / 3.998 GB, free: 8.691 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04451/12.79, allocations: 14.34 MB / 4.012 GB, free: 10.24 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007507/12.79, allocations: 379.7 kB / 4.012 GB, free: 9.859 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002151/12.8, allocations: 412 kB / 4.013 GB, free: 9.457 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/12.81, allocations: 4.29 MB / 4.017 GB, free: 5.023 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002152/12.81, allocations: 11.84 kB / 4.017 GB, free: 5.012 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001266/12.81, allocations: 156 kB / 4.017 GB, free: 4.859 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/12.81, allocations: 107.9 kB / 4.017 GB, free: 4.754 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008746/12.82, allocations: 3.405 MB / 4.02 GB, free: 1.344 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 preOpt removeSimpleEquations (simulation): time 1.135/13.96, allocations: 23.95 MB / 4.044 GB, free: 54.07 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004809/13.96, allocations: 2.374 MB / 4.046 GB, free: 53.84 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00274/13.97, allocations: 1.362 MB / 4.047 GB, free: 53.83 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 preOpt evalFunc (simulation): time 0.01647/13.98, allocations: 8.315 MB / 4.056 GB, free: 49.94 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002297/13.98, allocations: 1.469 MB / 4.057 GB, free: 49.8 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004561/13.99, allocations: 0.6578 MB / 4.058 GB, free: 49.73 MB / 1.073 GB Notification: Performance of pre-optimization done (n=219): time 1.625e-05/13.99, allocations: 3.141 kB / 4.058 GB, free: 49.73 MB / 1.073 GB Notification: Performance of matching and sorting (n=219): time 0.006802/14, allocations: 2.891 MB / 4.06 GB, free: 49.28 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.911e-05/14, allocations: 185 kB / 4.061 GB, free: 49.09 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009526/14.01, allocations: 4.464 MB / 4.065 GB, free: 48.71 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/14.01, allocations: 82.83 kB / 4.065 GB, free: 48.68 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003189/14.01, allocations: 2.793 MB / 4.068 GB, free: 48.14 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001276/14.01, allocations: 0.7377 MB / 4.068 GB, free: 47.76 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/14.01, allocations: 62.12 kB / 4.069 GB, free: 47.76 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001873/14.01, allocations: 420.1 kB / 4.069 GB, free: 47.45 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/14.01, allocations: 1.069 MB / 4.07 GB, free: 47.45 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/14.02, allocations: 2.13 MB / 4.072 GB, free: 46.25 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/14.02, allocations: 1.373 MB / 4.073 GB, free: 46.13 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/14.02, allocations: 5.25 kB / 4.073 GB, free: 46.13 MB / 1.073 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.007972/14.03, allocations: 3.793 MB / 4.077 GB, free: 45.64 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00271/14.03, allocations: 10.83 MB / 4.088 GB, free: 34.7 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-05/14.03, allocations: 23.06 kB / 4.088 GB, free: 34.7 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004453/14.03, allocations: 129.3 kB / 4.088 GB, free: 34.68 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003137/14.03, allocations: 0.6859 MB / 4.089 GB, free: 34.68 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00079/14.03, allocations: 1.222 MB / 4.09 GB, free: 33.64 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007348/14.04, allocations: 444 kB / 4.09 GB, free: 33.63 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000708/14.04, allocations: 160.8 kB / 4.09 GB, free: 33.63 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/14.04, allocations: 6.562 kB / 4.09 GB, free: 33.63 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006465/14.05, allocations: 3.253 MB / 4.093 GB, free: 33.46 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.671e-05/14.05, allocations: 23.22 kB / 4.093 GB, free: 33.46 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003489/14.05, allocations: 120.7 kB / 4.094 GB, free: 33.45 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/14.05, allocations: 0.668 MB / 4.094 GB, free: 33.45 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003087/14.05, allocations: 3.135 MB / 4.097 GB, free: 30.79 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00654/14.06, allocations: 426.7 kB / 4.098 GB, free: 30.78 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007113/14.06, allocations: 162.3 kB / 4.098 GB, free: 30.78 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.001209/14.06, allocations: 367.2 kB / 4.098 GB, free: 30.6 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002112/14.06, allocations: 0.5509 MB / 4.099 GB, free: 30.31 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008593/14.07, allocations: 3.726 MB / 4.102 GB, free: 30.01 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.015e-05/14.07, allocations: 31.48 kB / 4.102 GB, free: 30.01 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/14.07, allocations: 1.438 kB / 4.102 GB, free: 30.01 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004329/14.08, allocations: 2.673 MB / 4.105 GB, free: 29.79 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.02278/14.1, allocations: 8.723 MB / 4.114 GB, free: 28.72 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/14.1, allocations: 2 kB / 4.114 GB, free: 28.72 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002265/14.1, allocations: 478.4 kB / 4.114 GB, free: 28.72 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002817/14.1, allocations: 110.7 kB / 4.114 GB, free: 28.7 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001988/14.1, allocations: 74.7 kB / 4.114 GB, free: 28.7 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006359/14.1, allocations: 1.179 MB / 4.115 GB, free: 27.66 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/14.1, allocations: 3.953 kB / 4.115 GB, free: 27.66 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/14.11, allocations: 5.133 MB / 4.12 GB, free: 42.78 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005471/14.12, allocations: 1.329 MB / 4.122 GB, free: 42.08 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002762/14.12, allocations: 52.84 kB / 4.122 GB, free: 42.08 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006164/14.13, allocations: 374.7 kB / 4.122 GB, free: 42.07 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005521/14.13, allocations: 143.5 kB / 4.122 GB, free: 42.07 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006216/14.13, allocations: 123.3 kB / 4.122 GB, free: 42.07 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.01042/14.14, allocations: 3.406 MB / 4.126 GB, free: 41.82 MB / 1.089 GB Notification: Performance of sort global known variables: time 3.11e-07/14.14, allocations: 1.594 kB / 4.126 GB, free: 41.82 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.01841/14.16, allocations: 3.113 MB / 4.129 GB, free: 41.69 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) * 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.02189/14.18, allocations: 9.014 MB / 4.137 GB, free: 39.18 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0121/14.19, allocations: 5.146 MB / 4.143 GB, free: 38.62 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/14.19, allocations: 2.875 kB / 4.143 GB, free: 38.62 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.003036/14.2, allocations: 1.494 MB / 4.144 GB, free: 38.48 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01604/14.21, allocations: 2.647 MB / 4.147 GB, free: 38.43 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05032/14.26, allocations: 11.25 MB / 4.158 GB, free: 36.37 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004883/14.27, allocations: 3.105 MB / 4.161 GB, free: 35.57 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.01113/14.28, allocations: 1.681 MB / 4.162 GB, free: 35.51 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004703/14.28, allocations: 2.527 MB / 4.165 GB, free: 35.5 MB / 1.089 GB Notification: Performance of SimCode: time 1.723e-06/14.28, allocations: 0 / 4.165 GB, free: 35.5 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3308/14.61, allocations: 188.2 MB / 4.348 GB, free: 19.35 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/14.61, allocations: 288.7 kB / 4.349 GB, free: 19.01 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/25.34, allocations: 3.938 kB / 4.349 GB, free: 19 MB / 1.089 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)