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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 110.9 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002195/0.002195, allocations: 287.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9377/0.9377, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 99.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3809, allocations: 86.97 MB / 0.767 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Chillers.Examples.CompressionChiller): time 0.05313/0.4341, allocations: 56.5 MB / 0.8222 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01665/0.4508, allocations: 12.41 MB / 0.8343 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.4528, allocations: 71.56 kB / 0.8344 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.4549, allocations: 0.8384 MB / 0.8352 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005109/0.46, allocations: 2.191 MB / 0.8374 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00425/0.4643, allocations: 1.872 MB / 0.8392 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005035/0.4694, allocations: 4.143 MB / 0.8432 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002118/0.4715, allocations: 1.329 MB / 0.8445 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003814/0.4753, allocations: 1.697 MB / 0.8462 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.4772, allocations: 1.136 MB / 0.8473 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003616/0.4775, allocations: 136 kB / 0.8474 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003266/0.4808, allocations: 1.482 MB / 0.8489 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004865/0.4813, allocations: 402.6 kB / 0.8492 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.4825, allocations: 0.8629 MB / 0.8501 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003927/0.4864, allocations: 2.752 MB / 0.8528 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4864, allocations: 0 / 0.8528 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.522e-06/0.4864, allocations: 0 / 0.8528 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.764e-05/0.4865, allocations: 4 kB / 0.8528 GB, free: 11.76 MB / 0.6231 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.003505/0.49, allocations: 2.054 MB / 0.8548 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.4901, allocations: 8.031 kB / 0.8548 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/0.4922, allocations: 425.7 kB / 0.8552 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003345/0.4956, allocations: 1.603 MB / 0.8568 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.301e-05/0.4957, allocations: 103.7 kB / 0.8569 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.4958, allocations: 100 kB / 0.857 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.4981, allocations: 1.124 MB / 0.8581 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.4982, allocations: 4 kB / 0.8581 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.4983, allocations: 43.98 kB / 0.8581 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.4983, allocations: 31.88 kB / 0.8581 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002416/0.5007, allocations: 0.9329 MB / 0.859 GB, free: 5.191 MB / 0.6231 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.006039/0.5068, allocations: 4.98 MB / 0.8639 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.5084, allocations: 0.8583 MB / 0.8647 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009809/0.5094, allocations: 402.7 kB / 0.8651 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/0.5106, allocations: 1.595 MB / 0.8667 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.5107, allocations: 47.12 kB / 0.8667 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=66): time 2.275e-06/0.5107, allocations: 0 / 0.8667 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=66): time 0.003084/0.5138, allocations: 1.122 MB / 0.8678 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.5138, allocations: 59.97 kB / 0.8679 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.5154, allocations: 1.34 MB / 0.8692 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.5155, allocations: 49.7 kB / 0.8692 GB, free: 10 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004912/0.516, allocations: 0.6543 MB / 0.8699 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.5162, allocations: 232.6 kB / 0.8701 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.5164, allocations: 158.5 kB / 0.8703 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5165, allocations: 337.9 kB / 0.8706 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009387/0.5175, allocations: 332.6 kB / 0.8709 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.5186, allocations: 0.5042 MB / 0.8714 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01691/0.5355, allocations: 3.163 MB / 0.8745 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.5355, allocations: 0 / 0.8745 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002626/0.5382, allocations: 0.9952 MB / 0.8755 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.5382, allocations: 11.12 kB / 0.8755 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.5382, allocations: 4 kB / 0.8755 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.5382, allocations: 8 kB / 0.8755 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008466/0.5391, allocations: 207.9 kB / 0.8757 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.5391, allocations: 8 kB / 0.8757 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.5402, allocations: 127 kB / 0.8758 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.193e-05/0.5402, allocations: 43.92 kB / 0.8758 GB, free: 3.094 MB / 0.6387 GB Warning: Assuming fixed start value for the following 2 variables: chiller.volCon.dynBal.U:VARIABLE(start = 0.01 * chiller.volCon.dynBal.rho_start * BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.chiller.volCon.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.chiller.volCon.dynBal.Medium.setState_pTX(chiller.volCon.dynBal.p_start, chiller.volCon.dynBal.T_start, {})) + (chiller.volCon.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real chiller.volEva.dynBal.U:VARIABLE(start = 0.01 * chiller.volEva.dynBal.rho_start * BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.chiller.volEva.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.chiller.volEva.dynBal.Medium.setState_pTX(chiller.volEva.dynBal.p_start, chiller.volEva.dynBal.T_start, {})) + (chiller.volEva.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001541/0.5418, allocations: 0.6682 MB / 0.8765 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001059/0.5429, allocations: 0.4931 MB / 0.877 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01694/0.5598, allocations: 3.167 MB / 0.8801 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-06/0.5598, allocations: 0 / 0.8801 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.002479/0.5623, allocations: 0.9874 MB / 0.881 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.5624, allocations: 8 kB / 0.881 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.5624, allocations: 4 kB / 0.881 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.5624, allocations: 8 kB / 0.8811 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/0.5632, allocations: 212 kB / 0.8813 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.5632, allocations: 11.92 kB / 0.8813 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009544/0.5642, allocations: 95.41 kB / 0.8814 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-05/0.5643, allocations: 43.97 kB / 0.8814 GB, free: 13.29 MB / 0.6544 GB Warning: Assuming fixed start value for the following 2 variables: chiller.volCon.dynBal.U:VARIABLE(start = 0.01 * chiller.volCon.dynBal.rho_start * BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.chiller.volCon.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.chiller.volCon.dynBal.Medium.setState_pTX(chiller.volCon.dynBal.p_start, chiller.volCon.dynBal.T_start, {})) + (chiller.volCon.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real chiller.volEva.dynBal.U:VARIABLE(start = 0.01 * chiller.volEva.dynBal.rho_start * BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.chiller.volEva.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.chiller.volEva.dynBal.Medium.setState_pTX(chiller.volEva.dynBal.p_start, chiller.volEva.dynBal.T_start, {})) + (chiller.volEva.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003111/0.5646, allocations: 278.6 kB / 0.8817 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/0.5649, allocations: 158.1 kB / 0.8818 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/0.5678, allocations: 1.29 MB / 0.8831 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002018/0.5698, allocations: 0.9355 MB / 0.884 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.5698, allocations: 4 kB / 0.884 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000518/0.5703, allocations: 330.8 kB / 0.8843 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/0.5705, allocations: 16 kB / 0.8843 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007935/0.5713, allocations: 55.92 kB / 0.8844 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.5715, allocations: 52.53 kB / 0.8844 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002779/0.5742, allocations: 1.1 MB / 0.8855 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003459/0.5777, allocations: 1.733 MB / 0.8872 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001027/0.5788, allocations: 473.3 kB / 0.8876 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001308/0.5801, allocations: 0.9361 MB / 0.8886 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of Backend: time 7.01e-07/0.5801, allocations: 0 / 0.8886 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004653/0.5847, allocations: 1.775 MB / 0.8903 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of SimCode: time 0.00567/0.5904, allocations: 3.538 MB / 0.8937 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of Templates: time 0.05128/0.6417, allocations: 34.94 MB / 0.9279 GB, free: 14.14 MB / 0.7012 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)