Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Technologies.Chillers.Examples.CompressionChiller,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Chillers_Examples_CompressionChiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Chillers.Examples.CompressionChiller,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Chillers_Examples_CompressionChiller",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7944/0.7944, allocations: 143.3 MB / 158.3 MB, free: 5.652 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 189 kB / 191.5 MB, free: 5.641 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 447.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009901/0.00099, allocations: 92.31 kB / 0.5187 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 280.1 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004234, allocations: 17.19 kB / 0.6929 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1383, allocations: 82.79 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7056/0.844, allocations: 383.9 MB / 1.149 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.8443, allocations: 91.2 kB / 1.149 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.147/2.992, allocations: 0.5789 GB / 1.728 GB, free: 99.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.805e-06/2.992, allocations: 0 / 1.728 GB, free: 99.61 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002113/2.992, allocations: 46.14 kB / 1.728 GB, free: 99.61 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004482/2.996, allocations: 1.972 MB / 1.73 GB, free: 99.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/2.996, allocations: 12.72 kB / 1.73 GB, free: 99.07 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000248/2.997, allocations: 152.7 kB / 1.73 GB, free: 99.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002365/2.999, allocations: 477.7 kB / 1.73 GB, free: 98.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003626/3.003, allocations: 1.637 MB / 1.732 GB, free: 98.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/3.003, allocations: 107.1 kB / 1.732 GB, free: 98.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/3.003, allocations: 105.1 kB / 1.732 GB, free: 98.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/3.005, allocations: 1.119 MB / 1.733 GB, free: 98.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/3.006, allocations: 0 / 1.733 GB, free: 98.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.346e-05/3.006, allocations: 37.44 kB / 1.733 GB, free: 98.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/3.006, allocations: 36.33 kB / 1.733 GB, free: 98.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/3.008, allocations: 0.9596 MB / 1.734 GB, free: 98.45 MB / 0.7136 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.007696/3.016, allocations: 5.019 MB / 1.739 GB, free: 96.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/3.017, allocations: 0.7044 MB / 1.74 GB, free: 96.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/3.018, allocations: 1.596 MB / 1.741 GB, free: 94.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/3.019, allocations: 43.08 kB / 1.741 GB, free: 94.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=62): time 2.405e-06/3.019, allocations: 0 / 1.741 GB, free: 94.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=62): time 0.003301/3.022, allocations: 1.161 MB / 1.742 GB, free: 94.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/3.022, allocations: 64.31 kB / 1.743 GB, free: 94.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/3.025, allocations: 1.354 MB / 1.744 GB, free: 94.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001591/3.025, allocations: 43.52 kB / 1.744 GB, free: 94.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005658/3.025, allocations: 0.6688 MB / 1.745 GB, free: 93.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/3.026, allocations: 224.2 kB / 1.745 GB, free: 93.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/3.026, allocations: 12.28 kB / 1.745 GB, free: 93.74 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.93e-05/3.026, allocations: 336.3 kB / 1.745 GB, free: 93.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000964/3.027, allocations: 350 kB / 1.745 GB, free: 93.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/3.028, allocations: 0.5305 MB / 1.746 GB, free: 93.24 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009628/3.029, allocations: 384.4 kB / 1.746 GB, free: 93.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/3.029, allocations: 4.031 kB / 1.746 GB, free: 93.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002803/3.032, allocations: 1.031 MB / 1.747 GB, free: 93.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002703/3.032, allocations: 1.345 MB / 1.749 GB, free: 91.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/3.032, allocations: 6.266 kB / 1.749 GB, free: 91.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/3.032, allocations: 9.688 kB / 1.749 GB, free: 91.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/3.033, allocations: 254.4 kB / 1.749 GB, free: 91.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/3.033, allocations: 10.38 kB / 1.749 GB, free: 91.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/3.035, allocations: 218 kB / 1.749 GB, free: 91.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/3.035, allocations: 40.61 kB / 1.749 GB, free: 91.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/3.035, allocations: 3.844 kB / 1.749 GB, free: 91.66 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002148/3.037, allocations: 0.87 MB / 1.75 GB, free: 91.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/3.037, allocations: 5.406 kB / 1.75 GB, free: 91.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/3.037, allocations: 7.781 kB / 1.75 GB, free: 91.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/3.038, allocations: 249.8 kB / 1.75 GB, free: 91.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/3.038, allocations: 13.59 kB / 1.75 GB, free: 91.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/3.04, allocations: 196 kB / 1.75 GB, free: 91.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/3.04, allocations: 42.44 kB / 1.751 GB, free: 91.62 MB / 0.7136 GB Warning: Assuming fixed start value for the following 2 variables: chiller.volEva.dynBal.U:VARIABLE(start = chiller.volEva.dynBal.fluidVolume * chiller.volEva.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volEva$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volEva$dynBal.Medium.setState_pTX(chiller.volEva.dynBal.p_start, chiller.volEva.dynBal.T_start, {})) + (-273.15 + chiller.volEva.dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real chiller.volCon.dynBal.U:VARIABLE(start = chiller.volCon.dynBal.fluidVolume * chiller.volCon.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volCon$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volCon$dynBal.Medium.setState_pTX(chiller.volCon.dynBal.p_start, chiller.volCon.dynBal.T_start, {})) + (-273.15 + chiller.volCon.dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001086/3.041, allocations: 493.5 kB / 1.751 GB, free: 91.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004705/3.042, allocations: 149.7 kB / 1.751 GB, free: 91.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003088/3.045, allocations: 1.254 MB / 1.752 GB, free: 91.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/3.045, allocations: 11.64 kB / 1.752 GB, free: 91.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/3.045, allocations: 1.219 kB / 1.752 GB, free: 91.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00203/3.047, allocations: 0.9749 MB / 1.753 GB, free: 91.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006237/3.053, allocations: 2.877 MB / 1.756 GB, free: 90.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/3.053, allocations: 3.844 kB / 1.756 GB, free: 90.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009261/3.054, allocations: 199.9 kB / 1.756 GB, free: 90.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/3.054, allocations: 7.031 kB / 1.756 GB, free: 90.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/3.054, allocations: 26.98 kB / 1.756 GB, free: 90.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/3.054, allocations: 7.156 kB / 1.756 GB, free: 90.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/3.054, allocations: 5.406 kB / 1.756 GB, free: 90.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/3.058, allocations: 1.973 MB / 1.758 GB, free: 89.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/3.059, allocations: 383 kB / 1.759 GB, free: 89.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/3.059, allocations: 21.09 kB / 1.759 GB, free: 89.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/3.06, allocations: 136.2 kB / 1.759 GB, free: 89.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/3.06, allocations: 61.09 kB / 1.759 GB, free: 89.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.83e-05/3.06, allocations: 36.08 kB / 1.759 GB, free: 89.51 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001533/3.062, allocations: 1.081 MB / 1.76 GB, free: 89.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.81e-07/3.062, allocations: 0 / 1.76 GB, free: 89.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00234/3.064, allocations: 0.8109 MB / 1.761 GB, free: 89.38 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (senTemConIn.T,senTemConOut.T,chiller.volCon.dynBal.U,chiller.volEva.dynBal.U,senTemEvaIn.T,senTemEvaOut.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005552/3.07, allocations: 4.38 MB / 1.765 GB, free: 87.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003117/3.073, allocations: 1.379 MB / 1.766 GB, free: 87.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/3.073, allocations: 0 / 1.766 GB, free: 87.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009996/3.074, allocations: 0.4896 MB / 1.767 GB, free: 87.26 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/3.078, allocations: 0.7506 MB / 1.768 GB, free: 87.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/3.094, allocations: 11.51 MB / 1.779 GB, free: 82.03 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/3.094, allocations: 1.273 MB / 1.78 GB, free: 81.31 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001754/3.096, allocations: 419.6 kB / 1.78 GB, free: 81.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006757/3.097, allocations: 0.5799 MB / 1.781 GB, free: 81.29 MB / 0.7136 GB Notification: Performance of SimCode: time 6.52e-07/3.097, allocations: 0 / 1.781 GB, free: 81.29 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06832/3.165, allocations: 48.53 MB / 1.828 GB, free: 79.14 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/3.165, allocations: 240.2 kB / 1.829 GB, free: 78.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.816/6.981, allocations: 0 / 1.829 GB, free: 78.91 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_Chillers_Examples_CompressionChiller_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Technologies_Chillers_Examples_CompressionChiller.fmu > BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.pipe 2>&1)