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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.8792/0.8792, allocations: 140.1 MB / 156 MB, free: 8.406 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 184.5 kB / 188.5 MB, free: 8.988 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.4 MB / 426.3 MB, free: 8.137 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007746/0.0007745, allocations: 98.22 kB / 0.4945 GB, free: 8.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001702/0.001702, allocations: 268.3 kB / 0.5729 GB, free: 66.12 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.000417, allocations: 20 kB / 0.662 GB, free: 6.723 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3751, allocations: 79.3 MB / 0.7395 GB, free: 46.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6595/1.035, allocations: 380.9 MB / 1.111 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/1.035, allocations: 90.95 kB / 1.112 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.069/3.104, allocations: 0.5646 GB / 1.676 GB, free: 89.48 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.994e-06/3.104, allocations: 0 / 1.676 GB, free: 89.48 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000237/3.104, allocations: 47.77 kB / 1.676 GB, free: 89.48 MB / 0.6667 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.005549/3.11, allocations: 1.957 MB / 1.678 GB, free: 88.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/3.11, allocations: 7.812 kB / 1.678 GB, free: 88.8 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/3.112, allocations: 478.6 kB / 1.678 GB, free: 88.71 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003594/3.115, allocations: 1.598 MB / 1.68 GB, free: 88.35 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-05/3.116, allocations: 105.3 kB / 1.68 GB, free: 88.31 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/3.116, allocations: 97.25 kB / 1.68 GB, free: 88.31 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/3.118, allocations: 1.135 MB / 1.681 GB, free: 88.18 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/3.118, allocations: 5.094 kB / 1.681 GB, free: 88.18 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.499e-05/3.118, allocations: 34.12 kB / 1.681 GB, free: 88.18 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/3.118, allocations: 35.31 kB / 1.681 GB, free: 88.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/3.12, allocations: 0.9592 MB / 1.682 GB, free: 88.17 MB / 0.6667 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.005998/3.126, allocations: 5.01 MB / 1.687 GB, free: 85.95 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/3.127, allocations: 0.689 MB / 1.688 GB, free: 85.92 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009339/3.128, allocations: 412.6 kB / 1.688 GB, free: 85.91 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009725/3.129, allocations: 1.591 MB / 1.69 GB, free: 84.13 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/3.129, allocations: 39.78 kB / 1.69 GB, free: 84.09 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 3.236e-06/3.129, allocations: 2.188 kB / 1.69 GB, free: 84.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.002857/3.132, allocations: 1.162 MB / 1.691 GB, free: 83.97 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/3.132, allocations: 68.53 kB / 1.691 GB, free: 83.9 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/3.134, allocations: 1.475 MB / 1.693 GB, free: 83.73 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.992e-05/3.135, allocations: 42.92 kB / 1.693 GB, free: 83.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004768/3.135, allocations: 0.6746 MB / 1.693 GB, free: 83.52 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/3.135, allocations: 224.2 kB / 1.693 GB, free: 83.41 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/3.135, allocations: 14.31 kB / 1.693 GB, free: 83.41 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.573e-05/3.135, allocations: 338.9 kB / 1.694 GB, free: 83.11 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008128/3.136, allocations: 350.5 kB / 1.694 GB, free: 83.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009407/3.137, allocations: 0.5396 MB / 1.695 GB, free: 82.91 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01644/3.154, allocations: 3.843 MB / 1.698 GB, free: 82.77 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/3.154, allocations: 0 / 1.698 GB, free: 82.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002707/3.156, allocations: 1.037 MB / 1.699 GB, free: 82.65 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/3.157, allocations: 196.1 kB / 1.7 GB, free: 82.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/3.157, allocations: 3.281 kB / 1.7 GB, free: 82.44 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/3.157, allocations: 9.969 kB / 1.7 GB, free: 82.44 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009588/3.158, allocations: 251.7 kB / 1.7 GB, free: 82.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/3.158, allocations: 13.41 kB / 1.7 GB, free: 82.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/3.159, allocations: 206.9 kB / 1.7 GB, free: 82.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/3.159, allocations: 45.55 kB / 1.7 GB, free: 82.41 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/3.159, allocations: 3.719 kB / 1.7 GB, free: 82.41 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001906/3.161, allocations: 0.8685 MB / 1.701 GB, free: 82.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/3.161, allocations: 3.906 kB / 1.701 GB, free: 82.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/3.161, allocations: 7.062 kB / 1.701 GB, free: 82.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008904/3.162, allocations: 260.5 kB / 1.701 GB, free: 82.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/3.162, allocations: 9.531 kB / 1.701 GB, free: 82.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/3.164, allocations: 196.9 kB / 1.701 GB, free: 82.38 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.764e-05/3.164, allocations: 39.48 kB / 1.701 GB, free: 82.38 MB / 0.6667 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.0009795/3.165, allocations: 497.3 kB / 1.702 GB, free: 82.17 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004341/3.165, allocations: 145.6 kB / 1.702 GB, free: 82.09 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/3.168, allocations: 1.25 MB / 1.703 GB, free: 82.01 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/3.168, allocations: 11.81 kB / 1.703 GB, free: 82.01 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/3.168, allocations: 3.031 kB / 1.703 GB, free: 82.01 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001704/3.17, allocations: 0.9792 MB / 1.704 GB, free: 81.83 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005415/3.175, allocations: 2.855 MB / 1.707 GB, free: 81.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/3.175, allocations: 0 / 1.707 GB, free: 81.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008054/3.176, allocations: 208.5 kB / 1.707 GB, free: 81.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/3.176, allocations: 7.281 kB / 1.707 GB, free: 81.16 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.764e-05/3.176, allocations: 21.3 kB / 1.707 GB, free: 81.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/3.176, allocations: 16.84 kB / 1.707 GB, free: 81.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/3.176, allocations: 10.52 kB / 1.707 GB, free: 81.16 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/3.179, allocations: 1.745 MB / 1.709 GB, free: 80.79 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008006/3.18, allocations: 369.5 kB / 1.709 GB, free: 80.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003858/3.181, allocations: 20.66 kB / 1.709 GB, free: 80.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/3.182, allocations: 140 kB / 1.71 GB, free: 80.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/3.182, allocations: 59 kB / 1.71 GB, free: 80.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.604e-05/3.182, allocations: 41.3 kB / 1.71 GB, free: 80.6 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001765/3.184, allocations: 1.046 MB / 1.711 GB, free: 80.49 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.7e-07/3.184, allocations: 0 / 1.711 GB, free: 80.49 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002782/3.187, allocations: 0.798 MB / 1.711 GB, free: 80.38 MB / 0.6667 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.002287/3.189, allocations: 1.041 MB / 1.712 GB, free: 80.13 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003152/3.192, allocations: 1.375 MB / 1.714 GB, free: 80.12 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/3.192, allocations: 0 / 1.714 GB, free: 80.12 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/3.193, allocations: 0.493 MB / 1.714 GB, free: 80.11 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004479/3.198, allocations: 0.7756 MB / 1.715 GB, free: 80.09 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005143/3.203, allocations: 3.434 MB / 1.718 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009202/3.204, allocations: 1.25 MB / 1.72 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001766/3.206, allocations: 413.8 kB / 1.72 GB, free: 77.94 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000388/3.206, allocations: 136.6 kB / 1.72 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of SimCode: time 6.51e-07/3.206, allocations: 0 / 1.72 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of Templates: time 0.05228/3.258, allocations: 33.6 MB / 1.753 GB, free: 75.93 MB / 0.6667 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)