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.7446/0.7446, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 181.1 kB / 187.3 MB, free: 11.87 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.41/1.41, allocations: 221.3 MB / 441.4 MB, free: 4.652 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.0009135/0.0009136, allocations: 98.03 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001941/0.001941, allocations: 269.7 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.895e-05/3.898e-05, allocations: 0 / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.5413, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9873/1.529, allocations: 383.9 MB / 1.139 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/1.529, allocations: 90.62 kB / 1.139 GB, free: 9.727 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.272/3.801, allocations: 0.5772 GB / 1.716 GB, free: 11.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.834e-06/3.801, allocations: 0 / 1.716 GB, free: 11.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001533/3.801, allocations: 51.92 kB / 1.716 GB, free: 11.48 MB / 0.698 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.003767/3.805, allocations: 1.68 MB / 1.718 GB, free: 9.754 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/3.805, allocations: 12.03 kB / 1.718 GB, free: 9.742 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/3.807, allocations: 481.4 kB / 1.719 GB, free: 9.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003371/3.81, allocations: 1.604 MB / 1.72 GB, free: 7.609 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/3.811, allocations: 111.5 kB / 1.72 GB, free: 7.496 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/3.811, allocations: 103.9 kB / 1.72 GB, free: 7.395 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/3.812, allocations: 1.011 MB / 1.721 GB, free: 6.348 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/3.812, allocations: 0 / 1.721 GB, free: 6.348 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.249e-05/3.813, allocations: 39.98 kB / 1.721 GB, free: 6.309 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/3.813, allocations: 24 kB / 1.721 GB, free: 6.285 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/3.814, allocations: 0.7575 MB / 1.722 GB, free: 5.527 MB / 0.698 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.006237/3.82, allocations: 5.014 MB / 1.727 GB, free: 224 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5932/4.413, allocations: 0.5888 MB / 1.728 GB, free: 94.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/4.414, allocations: 304.1 kB / 1.728 GB, free: 94.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/4.415, allocations: 1.597 MB / 1.729 GB, free: 92.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/4.415, allocations: 40.75 kB / 1.729 GB, free: 92.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 3.687e-06/4.415, allocations: 0 / 1.729 GB, free: 92.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.002081/4.417, allocations: 0.6575 MB / 1.73 GB, free: 92.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/4.418, allocations: 61.38 kB / 1.73 GB, free: 92.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003032/4.421, allocations: 1.33 MB / 1.731 GB, free: 92.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001574/4.421, allocations: 42.23 kB / 1.732 GB, free: 92.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007145/4.421, allocations: 0.6769 MB / 1.732 GB, free: 92.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000267/4.422, allocations: 221.6 kB / 1.732 GB, free: 92.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/4.422, allocations: 13.66 kB / 1.732 GB, free: 92.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001053/4.422, allocations: 333.7 kB / 1.733 GB, free: 91.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/4.422, allocations: 243.8 kB / 1.733 GB, free: 91.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006846/4.423, allocations: 435.5 kB / 1.733 GB, free: 91.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006164/4.424, allocations: 294.3 kB / 1.734 GB, free: 91.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/4.424, allocations: 3.781 kB / 1.734 GB, free: 91.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002153/4.426, allocations: 0.8422 MB / 1.734 GB, free: 91.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003427/4.426, allocations: 1.356 MB / 1.736 GB, free: 90.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/4.426, allocations: 2.906 kB / 1.736 GB, free: 90.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/4.426, allocations: 7.406 kB / 1.736 GB, free: 90.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/4.428, allocations: 252.2 kB / 1.736 GB, free: 90.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.362e-05/4.428, allocations: 12.61 kB / 1.736 GB, free: 90.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/4.429, allocations: 210.1 kB / 1.736 GB, free: 90.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/4.429, allocations: 40.78 kB / 1.736 GB, free: 90.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/4.43, allocations: 3.656 kB / 1.736 GB, free: 90.11 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001169/4.431, allocations: 0.6814 MB / 1.737 GB, free: 90.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/4.431, allocations: 2.969 kB / 1.737 GB, free: 90.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/4.431, allocations: 7.547 kB / 1.737 GB, free: 90.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009747/4.432, allocations: 251.7 kB / 1.737 GB, free: 90.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/4.432, allocations: 10.12 kB / 1.737 GB, free: 90.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/4.433, allocations: 203 kB / 1.737 GB, free: 90.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/4.433, allocations: 45.12 kB / 1.737 GB, free: 90.07 MB / 0.698 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" 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" 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 () * 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.0004016/4.434, allocations: 201.7 kB / 1.738 GB, free: 89.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/4.434, allocations: 154.4 kB / 1.738 GB, free: 89.87 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/4.436, allocations: 1.056 MB / 1.739 GB, free: 89.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/4.436, allocations: 14.12 kB / 1.739 GB, free: 89.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/4.436, allocations: 7.562 kB / 1.739 GB, free: 89.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009418/4.437, allocations: 0.7705 MB / 1.74 GB, free: 89.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004171/4.441, allocations: 2.681 MB / 1.742 GB, free: 88.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/4.441, allocations: 3.312 kB / 1.742 GB, free: 88.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008927/4.442, allocations: 204.1 kB / 1.742 GB, free: 88.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/4.442, allocations: 14.84 kB / 1.742 GB, free: 88.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/4.442, allocations: 27.3 kB / 1.742 GB, free: 88.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.719e-06/4.442, allocations: 8.266 kB / 1.742 GB, free: 88.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/4.442, allocations: 7.281 kB / 1.742 GB, free: 88.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/4.444, allocations: 1.675 MB / 1.744 GB, free: 88.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008094/4.445, allocations: 380.8 kB / 1.744 GB, free: 88.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/4.445, allocations: 22.64 kB / 1.745 GB, free: 88.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/4.447, allocations: 132.8 kB / 1.745 GB, free: 88.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/4.447, allocations: 59.5 kB / 1.745 GB, free: 88.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.396e-05/4.447, allocations: 38.31 kB / 1.745 GB, free: 88.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001621/4.448, allocations: 1.057 MB / 1.746 GB, free: 87.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/4.448, allocations: 0 / 1.746 GB, free: 87.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002726/4.451, allocations: 0.8125 MB / 1.747 GB, free: 87.91 MB / 0.698 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 () * 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.002093/4.453, allocations: 1.027 MB / 1.748 GB, free: 87.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00205/4.455, allocations: 1.13 MB / 1.749 GB, free: 87.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/4.455, allocations: 0 / 1.749 GB, free: 87.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005745/4.456, allocations: 394.2 kB / 1.749 GB, free: 87.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003978/4.46, allocations: 0.7479 MB / 1.75 GB, free: 87.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/4.464, allocations: 2.285 MB / 1.752 GB, free: 87.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007335/4.465, allocations: 1.283 MB / 1.753 GB, free: 86.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002592/4.467, allocations: 0.5871 MB / 1.754 GB, free: 86.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/4.467, allocations: 98.95 kB / 1.754 GB, free: 86.35 MB / 0.698 GB Notification: Performance of SimCode: time 2.876e-06/4.467, allocations: 0 / 1.754 GB, free: 86.35 MB / 0.698 GB Notification: Performance of Templates: time 0.06414/4.532, allocations: 36.45 MB / 1.79 GB, free: 84.82 MB / 0.698 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)