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: translateModel(BuildingSystems.Technologies.Chillers.Examples.CompressionChiller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller") translateModel(BuildingSystems.Technologies.Chillers.Examples.CompressionChiller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8504/0.8504, allocations: 143.4 MB / 158.3 MB, free: 5.773 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.001188/0.001187, allocations: 181.1 kB / 191.5 MB, free: 5.766 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.723/1.723, allocations: 223.2 MB / 447.7 MB, free: 4.781 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.001021/0.001021, allocations: 99.75 kB / 0.5188 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00171/0.00171, allocations: 266.1 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.000452, allocations: 10.81 kB / 0.6929 GB, free: 59.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1736, allocations: 82.79 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8134/0.9871, allocations: 384 MB / 1.149 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.9875, allocations: 95.27 kB / 1.149 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.531/3.519, allocations: 0.5789 GB / 1.728 GB, free: 99.63 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.036e-06/3.519, allocations: 0.6562 kB / 1.728 GB, free: 99.63 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003251/3.519, allocations: 46.17 kB / 1.728 GB, free: 99.63 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.006065/3.525, allocations: 1.968 MB / 1.73 GB, free: 99.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/3.525, allocations: 11.58 kB / 1.73 GB, free: 99.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002634/3.528, allocations: 480.5 kB / 1.73 GB, free: 99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004038/3.532, allocations: 1.639 MB / 1.732 GB, free: 98.69 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/3.532, allocations: 104 kB / 1.732 GB, free: 98.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/3.532, allocations: 102.7 kB / 1.732 GB, free: 98.65 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/3.535, allocations: 1.123 MB / 1.733 GB, free: 98.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/3.535, allocations: 3.328 kB / 1.733 GB, free: 98.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.594e-05/3.535, allocations: 42.25 kB / 1.733 GB, free: 98.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/3.535, allocations: 28.55 kB / 1.733 GB, free: 98.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002504/3.537, allocations: 0.9579 MB / 1.734 GB, free: 98.51 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.008626/3.546, allocations: 5.023 MB / 1.739 GB, free: 96.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/3.548, allocations: 0.7046 MB / 1.74 GB, free: 96.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/3.549, allocations: 1.595 MB / 1.741 GB, free: 94.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/3.549, allocations: 43.3 kB / 1.741 GB, free: 94.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=62): time 4.418e-06/3.549, allocations: 0 / 1.741 GB, free: 94.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=62): time 0.003573/3.552, allocations: 1.16 MB / 1.742 GB, free: 94.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/3.553, allocations: 64 kB / 1.742 GB, free: 94.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/3.555, allocations: 1.352 MB / 1.744 GB, free: 94.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/3.556, allocations: 38.64 kB / 1.744 GB, free: 94.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006178/3.556, allocations: 0.6743 MB / 1.744 GB, free: 93.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/3.557, allocations: 222.6 kB / 1.745 GB, free: 93.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/3.557, allocations: 16.03 kB / 1.745 GB, free: 93.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.101e-05/3.557, allocations: 334.7 kB / 1.745 GB, free: 93.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/3.558, allocations: 352.3 kB / 1.745 GB, free: 93.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/3.559, allocations: 0.528 MB / 1.746 GB, free: 93.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/3.56, allocations: 388.7 kB / 1.746 GB, free: 93.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/3.56, allocations: 5.141 kB / 1.746 GB, free: 93.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003207/3.563, allocations: 1.028 MB / 1.747 GB, free: 93.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004629/3.564, allocations: 1.346 MB / 1.748 GB, free: 91.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/3.564, allocations: 6.594 kB / 1.748 GB, free: 91.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.225e-05/3.564, allocations: 11.83 kB / 1.748 GB, free: 91.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/3.565, allocations: 253.2 kB / 1.749 GB, free: 91.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/3.565, allocations: 12.72 kB / 1.749 GB, free: 91.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/3.567, allocations: 213 kB / 1.749 GB, free: 91.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/3.567, allocations: 43.92 kB / 1.749 GB, free: 91.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/3.567, allocations: 3.906 kB / 1.749 GB, free: 91.73 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002442/3.569, allocations: 0.8692 MB / 1.75 GB, free: 91.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/3.569, allocations: 3.594 kB / 1.75 GB, free: 91.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/3.57, allocations: 7.812 kB / 1.75 GB, free: 91.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/3.571, allocations: 249.8 kB / 1.75 GB, free: 91.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/3.571, allocations: 13.98 kB / 1.75 GB, free: 91.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/3.572, allocations: 202.7 kB / 1.75 GB, free: 91.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/3.573, allocations: 39.55 kB / 1.75 GB, free: 91.69 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.001208/3.574, allocations: 496.8 kB / 1.751 GB, free: 91.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005397/3.574, allocations: 147 kB / 1.751 GB, free: 91.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003518/3.578, allocations: 1.247 MB / 1.752 GB, free: 91.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.851e-05/3.578, allocations: 15.73 kB / 1.752 GB, free: 91.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/3.578, allocations: 4.5 kB / 1.752 GB, free: 91.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002298/3.58, allocations: 0.976 MB / 1.753 GB, free: 91.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007729/3.588, allocations: 2.866 MB / 1.756 GB, free: 90.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/3.588, allocations: 3.875 kB / 1.756 GB, free: 90.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009224/3.589, allocations: 204.9 kB / 1.756 GB, free: 90.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.656e-05/3.589, allocations: 3.938 kB / 1.756 GB, free: 90.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.279e-05/3.589, allocations: 30.69 kB / 1.756 GB, free: 90.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/3.589, allocations: 7.906 kB / 1.756 GB, free: 90.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/3.589, allocations: 6.281 kB / 1.756 GB, free: 90.47 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003929/3.593, allocations: 1.975 MB / 1.758 GB, free: 89.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/3.595, allocations: 378.3 kB / 1.758 GB, free: 89.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006758/3.595, allocations: 21.69 kB / 1.758 GB, free: 89.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/3.597, allocations: 131.1 kB / 1.759 GB, free: 89.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/3.597, allocations: 65.09 kB / 1.759 GB, free: 89.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/3.597, allocations: 37.84 kB / 1.759 GB, free: 89.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002542/3.6, allocations: 1.081 MB / 1.76 GB, free: 89.46 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.021e-06/3.6, allocations: 1.969 kB / 1.76 GB, free: 89.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005686/3.606, allocations: 0.8117 MB / 1.761 GB, free: 89.44 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.004496/3.61, allocations: 1.061 MB / 1.762 GB, free: 89.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004904/3.615, allocations: 1.374 MB / 1.763 GB, free: 89.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/3.615, allocations: 7.219 kB / 1.763 GB, free: 89.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/3.616, allocations: 497.4 kB / 1.763 GB, free: 89.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005221/3.622, allocations: 0.7643 MB / 1.764 GB, free: 89.28 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007129/3.629, allocations: 3.426 MB / 1.767 GB, free: 87.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/3.63, allocations: 1.271 MB / 1.769 GB, free: 87.14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002419/3.633, allocations: 412.1 kB / 1.769 GB, free: 87.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005456/3.633, allocations: 138.9 kB / 1.769 GB, free: 87.11 MB / 0.7136 GB Notification: Performance of SimCode: time 1.222e-06/3.633, allocations: 0 / 1.769 GB, free: 87.11 MB / 0.7136 GB Notification: Performance of Templates: time 0.06184/3.695, allocations: 32.95 MB / 1.801 GB, free: 85.67 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.makefile (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 & ./BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.pipe 2>&1)