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.629/1.629, allocations: 289.9 MB / 297.4 MB, free: 6.332 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.0009738/0.0009738, allocations: 172.5 kB / 366.7 MB, free: 1.645 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.538/1.538, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.0009381/0.0009382, allocations: 91.69 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.014e-05/2.015e-05, allocations: 4 kB / 0.8598 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7206/0.7207, allocations: 116.3 MB / 0.9734 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.87, allocations: 480 MB / 1.442 GB, free: 73.16 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/1.871, allocations: 118.1 kB / 1.442 GB, free: 73.09 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 9.768/11.64, allocations: 2.529 GB / 3.971 GB, free: 61.46 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.855e-06/11.64, allocations: 0 / 3.971 GB, free: 61.46 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.001791/11.64, allocations: 169 kB / 3.971 GB, free: 61.43 MB / 1.057 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.02175/11.66, allocations: 5.754 MB / 3.977 GB, free: 59.1 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/11.66, allocations: 11.06 kB / 3.977 GB, free: 59.1 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009047/11.67, allocations: 1.336 MB / 3.978 GB, free: 58.73 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03879/11.71, allocations: 14.32 MB / 3.992 GB, free: 57.46 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005196/11.71, allocations: 229.8 kB / 3.992 GB, free: 57.39 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001767/11.71, allocations: 247.6 kB / 3.992 GB, free: 57.39 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008833/11.72, allocations: 3.244 MB / 3.996 GB, free: 57.37 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007245/11.73, allocations: 3.761 MB / 3.999 GB, free: 56.91 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-05/11.73, allocations: 11.78 kB / 3.999 GB, free: 56.9 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003673/11.73, allocations: 11 kB / 3.999 GB, free: 56.9 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.758e-05/11.73, allocations: 100.1 kB / 3.999 GB, free: 56.9 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 preOpt removeSimpleEquations (simulation): time 0.03421/11.76, allocations: 23.23 MB / 4.022 GB, free: 45.86 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00379/11.77, allocations: 2.366 MB / 4.024 GB, free: 45.62 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/11.77, allocations: 1.336 MB / 4.026 GB, free: 45.6 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 preOpt evalFunc (simulation): time 0.01624/11.79, allocations: 8.125 MB / 4.034 GB, free: 41.63 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002116/11.79, allocations: 1.403 MB / 4.035 GB, free: 41.5 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004249/11.79, allocations: 0.5751 MB / 4.036 GB, free: 41.4 MB / 1.057 GB Notification: Performance of pre-optimization done (n=219): time 8.396e-06/11.79, allocations: 0 / 4.036 GB, free: 41.4 MB / 1.057 GB Notification: Performance of matching and sorting (n=219): time 0.009092/11.8, allocations: 3.101 MB / 4.039 GB, free: 41.02 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/11.8, allocations: 188.7 kB / 4.039 GB, free: 40.83 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009156/11.81, allocations: 3.904 MB / 4.043 GB, free: 40.46 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001112/11.81, allocations: 32.27 kB / 4.043 GB, free: 40.43 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.003347/11.82, allocations: 2.797 MB / 4.045 GB, free: 39.63 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001409/11.82, allocations: 0.7051 MB / 4.046 GB, free: 39.16 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/11.82, allocations: 3.344 kB / 4.046 GB, free: 39.16 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001702/11.82, allocations: 416.7 kB / 4.046 GB, free: 38.85 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/11.82, allocations: 1.047 MB / 4.047 GB, free: 38.84 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/11.82, allocations: 2.083 MB / 4.049 GB, free: 37.65 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004317/11.83, allocations: 1.611 MB / 4.051 GB, free: 37.6 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-05/11.83, allocations: 6.156 kB / 4.051 GB, free: 37.6 MB / 1.057 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.009842/11.84, allocations: 3.867 MB / 4.055 GB, free: 37.2 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002471/11.84, allocations: 10.66 MB / 4.065 GB, free: 26.25 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.375e-05/11.84, allocations: 21.31 kB / 4.065 GB, free: 26.25 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003295/11.84, allocations: 123.8 kB / 4.065 GB, free: 26.23 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003095/11.84, allocations: 0.6881 MB / 4.066 GB, free: 26.23 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007844/11.84, allocations: 1.246 MB / 4.067 GB, free: 25.19 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006414/11.85, allocations: 364.9 kB / 4.068 GB, free: 25.16 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006929/11.85, allocations: 161.8 kB / 4.068 GB, free: 25.16 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/11.85, allocations: 4.938 kB / 4.068 GB, free: 25.16 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007661/11.86, allocations: 3.194 MB / 4.071 GB, free: 25.06 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.809e-05/11.86, allocations: 22.19 kB / 4.071 GB, free: 25.06 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002953/11.86, allocations: 112.7 kB / 4.071 GB, free: 25.04 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/11.86, allocations: 0.6674 MB / 4.072 GB, free: 25.04 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/11.86, allocations: 3.021 MB / 4.075 GB, free: 22.5 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005925/11.87, allocations: 342.6 kB / 4.075 GB, free: 22.48 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006729/11.87, allocations: 155.6 kB / 4.075 GB, free: 22.48 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.001051/11.87, allocations: 267.9 kB / 4.075 GB, free: 22.3 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008446/11.88, allocations: 3.018 MB / 4.078 GB, free: 21.92 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002071/11.88, allocations: 0.5193 MB / 4.079 GB, free: 21.64 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009828/11.89, allocations: 3.7 MB / 4.082 GB, free: 21.4 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.704e-05/11.89, allocations: 29.47 kB / 4.082 GB, free: 21.4 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/11.89, allocations: 3.609 kB / 4.082 GB, free: 21.4 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005591/11.9, allocations: 2.698 MB / 4.085 GB, free: 21.23 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.02516/11.92, allocations: 8.268 MB / 4.093 GB, free: 20.27 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/11.92, allocations: 0 / 4.093 GB, free: 20.27 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002583/11.92, allocations: 485.9 kB / 4.094 GB, free: 20.27 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002346/11.93, allocations: 85.14 kB / 4.094 GB, free: 20.26 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000366/11.93, allocations: 56.64 kB / 4.094 GB, free: 20.25 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/11.93, allocations: 1.182 MB / 4.095 GB, free: 35.22 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/11.93, allocations: 2.656 kB / 4.095 GB, free: 35.22 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/11.94, allocations: 5.079 MB / 4.1 GB, free: 34.42 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004519/11.94, allocations: 1.287 MB / 4.101 GB, free: 33.74 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002396/11.95, allocations: 19.39 kB / 4.101 GB, free: 33.74 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005532/11.95, allocations: 333.8 kB / 4.101 GB, free: 33.72 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003656/11.95, allocations: 144.1 kB / 4.102 GB, free: 33.72 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004351/11.95, allocations: 124.5 kB / 4.102 GB, free: 33.72 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.008861/11.96, allocations: 2.915 MB / 4.105 GB, free: 33.51 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.3e-07/11.96, allocations: 0 / 4.105 GB, free: 33.51 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.02044/11.98, allocations: 3.041 MB / 4.108 GB, free: 33.04 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) * 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.02348/12.01, allocations: 8.897 MB / 4.116 GB, free: 30.45 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0106/12.02, allocations: 4.91 MB / 4.121 GB, free: 29.9 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/12.02, allocations: 0.5625 kB / 4.121 GB, free: 29.9 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.002828/12.02, allocations: 1.444 MB / 4.122 GB, free: 29.77 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01686/12.04, allocations: 2.371 MB / 4.125 GB, free: 29.72 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04502/12.08, allocations: 10.97 MB / 4.135 GB, free: 27.04 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005505/12.09, allocations: 3.103 MB / 4.138 GB, free: 26.17 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.01197/12.1, allocations: 1.625 MB / 4.14 GB, free: 25.9 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00636/12.1, allocations: 2.517 MB / 4.143 GB, free: 25.89 MB / 1.073 GB Notification: Performance of SimCode: time 2.204e-06/12.1, allocations: 0 / 4.143 GB, free: 25.89 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2678/12.37, allocations: 162.3 MB / 4.301 GB, free: 9.703 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/12.37, allocations: 229.1 kB / 4.301 GB, free: 9.414 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.097/21.47, allocations: 3.938 kB / 4.301 GB, free: 9.41 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)