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.8224/0.8224, allocations: 141.8 MB / 149.3 MB, free: 9.246 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.001048/0.001048, allocations: 179.8 kB / 182.2 MB, free: 9.469 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.467/1.467, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0009659/0.0009656, allocations: 88.11 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001764/0.001764, allocations: 279.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.91e-05/1.91e-05, allocations: 0 / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4107, allocations: 82.78 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7527/1.163, allocations: 383.2 MB / 1.132 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/1.164, allocations: 91.56 kB / 1.132 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.855/3.019, allocations: 0.5741 GB / 1.706 GB, free: 9.906 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/3.019, allocations: 0 / 1.706 GB, free: 9.906 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002459/3.019, allocations: 47.98 kB / 1.706 GB, free: 9.859 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.004192/3.023, allocations: 1.672 MB / 1.707 GB, free: 8.141 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/3.023, allocations: 12.03 kB / 1.707 GB, free: 8.129 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/3.026, allocations: 481.4 kB / 1.708 GB, free: 7.656 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003588/3.029, allocations: 1.616 MB / 1.71 GB, free: 5.984 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.462e-05/3.029, allocations: 71.69 kB / 1.71 GB, free: 5.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/3.029, allocations: 60 kB / 1.71 GB, free: 5.852 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00131/3.031, allocations: 0.6913 MB / 1.71 GB, free: 5.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/3.032, allocations: 0.8779 MB / 1.711 GB, free: 4.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/3.032, allocations: 3.938 kB / 1.711 GB, free: 4.246 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.993e-05/3.033, allocations: 0 / 1.711 GB, free: 4.246 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/3.033, allocations: 28 kB / 1.711 GB, free: 4.219 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.4223/3.455, allocations: 4.81 MB / 1.716 GB, free: 95.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/3.456, allocations: 0.5624 MB / 1.716 GB, free: 95.81 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/3.457, allocations: 279.4 kB / 1.717 GB, free: 95.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/3.458, allocations: 1.596 MB / 1.718 GB, free: 94.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/3.458, allocations: 40.8 kB / 1.718 GB, free: 93.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 3.005e-06/3.458, allocations: 0.6562 kB / 1.718 GB, free: 93.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.002274/3.46, allocations: 0.735 MB / 1.719 GB, free: 93.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/3.46, allocations: 58.69 kB / 1.719 GB, free: 93.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/3.462, allocations: 1.103 MB / 1.72 GB, free: 93.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.668e-05/3.462, allocations: 30.75 kB / 1.72 GB, free: 93.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005251/3.462, allocations: 0.68 MB / 1.721 GB, free: 93.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/3.463, allocations: 214.2 kB / 1.721 GB, free: 93.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/3.463, allocations: 0 / 1.721 GB, free: 93.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.675e-05/3.463, allocations: 335.2 kB / 1.721 GB, free: 93.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/3.463, allocations: 234.3 kB / 1.722 GB, free: 93.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/3.464, allocations: 410.6 kB / 1.722 GB, free: 92.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/3.465, allocations: 428.5 kB / 1.722 GB, free: 92.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/3.465, allocations: 5.125 kB / 1.722 GB, free: 92.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00214/3.467, allocations: 0.9116 MB / 1.723 GB, free: 92.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002648/3.467, allocations: 1.331 MB / 1.725 GB, free: 91.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/3.467, allocations: 8.234 kB / 1.725 GB, free: 91.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/3.467, allocations: 7.75 kB / 1.725 GB, free: 91.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/3.468, allocations: 248.7 kB / 1.725 GB, free: 91.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/3.469, allocations: 10.52 kB / 1.725 GB, free: 91.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/3.47, allocations: 168.9 kB / 1.725 GB, free: 91.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/3.47, allocations: 46.58 kB / 1.725 GB, free: 91.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/3.47, allocations: 3.719 kB / 1.725 GB, free: 91.44 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001846/3.472, allocations: 0.7526 MB / 1.726 GB, free: 91.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/3.472, allocations: 3.656 kB / 1.726 GB, free: 91.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/3.472, allocations: 6.75 kB / 1.726 GB, free: 91.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009283/3.473, allocations: 255.2 kB / 1.726 GB, free: 91.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/3.473, allocations: 11.38 kB / 1.726 GB, free: 91.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/3.474, allocations: 152.6 kB / 1.726 GB, free: 91.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/3.474, allocations: 41.7 kB / 1.726 GB, free: 91.41 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.0003679/3.475, allocations: 174.9 kB / 1.726 GB, free: 91.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/3.475, allocations: 132.2 kB / 1.727 GB, free: 91.22 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/3.477, allocations: 1.081 MB / 1.728 GB, free: 91.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/3.477, allocations: 11.5 kB / 1.728 GB, free: 91.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/3.477, allocations: 0 / 1.728 GB, free: 91.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001445/3.479, allocations: 0.8346 MB / 1.728 GB, free: 90.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004391/3.483, allocations: 2.55 MB / 1.731 GB, free: 90.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/3.483, allocations: 0 / 1.731 GB, free: 90.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008727/3.484, allocations: 209.2 kB / 1.731 GB, free: 90.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/3.484, allocations: 6.938 kB / 1.731 GB, free: 90.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/3.484, allocations: 20.45 kB / 1.731 GB, free: 90.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/3.484, allocations: 8.75 kB / 1.731 GB, free: 90.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/3.484, allocations: 8 kB / 1.731 GB, free: 90.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/3.486, allocations: 1.651 MB / 1.733 GB, free: 89.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007667/3.487, allocations: 359.3 kB / 1.733 GB, free: 89.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/3.487, allocations: 6.375 kB / 1.733 GB, free: 89.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/3.488, allocations: 112.4 kB / 1.733 GB, free: 89.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/3.488, allocations: 64.81 kB / 1.733 GB, free: 89.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.76e-05/3.488, allocations: 39.89 kB / 1.733 GB, free: 89.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001234/3.49, allocations: 0.8385 MB / 1.734 GB, free: 89.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/3.49, allocations: 0 / 1.734 GB, free: 89.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002427/3.492, allocations: 0.7996 MB / 1.735 GB, free: 89.45 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.00192/3.494, allocations: 0.9999 MB / 1.736 GB, free: 89.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001766/3.496, allocations: 1.06 MB / 1.737 GB, free: 89.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/3.496, allocations: 2.625 kB / 1.737 GB, free: 89.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004321/3.496, allocations: 375.5 kB / 1.737 GB, free: 89.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/3.499, allocations: 0.5487 MB / 1.738 GB, free: 89.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/3.503, allocations: 2.213 MB / 1.74 GB, free: 88.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/3.504, allocations: 1.278 MB / 1.741 GB, free: 87.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001832/3.505, allocations: 0.5351 MB / 1.742 GB, free: 87.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/3.506, allocations: 97.95 kB / 1.742 GB, free: 87.9 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/3.506, allocations: 0 / 1.742 GB, free: 87.9 MB / 0.698 GB Notification: Performance of Templates: time 0.03877/3.544, allocations: 27.5 MB / 1.769 GB, free: 86.8 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)