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.001042/0.001042, allocations: 115 kB / 16.42 MB, free: 6.469 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.001001/0.001001, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 295.9 kB / 291.5 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9254/0.9254, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 103.8 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3842, allocations: 86.98 MB / 0.767 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Chillers.Examples.CompressionChiller): time 0.05271/0.437, allocations: 56.5 MB / 0.8222 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01691/0.4539, allocations: 12.41 MB / 0.8343 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.4559, allocations: 67.62 kB / 0.8344 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002227/0.4582, allocations: 0.8228 MB / 0.8352 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005269/0.4635, allocations: 2.089 MB / 0.8372 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004465/0.468, allocations: 1.857 MB / 0.839 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005092/0.4731, allocations: 4.128 MB / 0.8431 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.4751, allocations: 1.329 MB / 0.8444 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003763/0.4789, allocations: 1.688 MB / 0.846 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001899/0.4808, allocations: 1.136 MB / 0.8471 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003374/0.4812, allocations: 136 kB / 0.8473 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/0.4843, allocations: 1.486 MB / 0.8487 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004595/0.4847, allocations: 394.6 kB / 0.8491 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.4859, allocations: 0.8667 MB / 0.8499 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004054/0.49, allocations: 2.756 MB / 0.8526 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.49, allocations: 0 / 0.8526 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.633e-06/0.49, allocations: 0 / 0.8526 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.839e-05/0.4901, allocations: 4 kB / 0.8526 GB, free: 11.92 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.003688/0.4938, allocations: 2.052 MB / 0.8546 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.4938, allocations: 11.97 kB / 0.8546 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002238/0.4961, allocations: 421.7 kB / 0.8551 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003459/0.4995, allocations: 1.607 MB / 0.8566 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.81e-05/0.4997, allocations: 99.7 kB / 0.8567 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.4998, allocations: 96 kB / 0.8568 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.5022, allocations: 1.139 MB / 0.8579 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.5022, allocations: 0 / 0.8579 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.5024, allocations: 40 kB / 0.858 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.5024, allocations: 31.94 kB / 0.858 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/0.5048, allocations: 0.925 MB / 0.8589 GB, free: 5.359 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.006595/0.5114, allocations: 4.995 MB / 0.8638 GB, free: 56 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.5131, allocations: 0.8524 MB / 0.8646 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009938/0.5141, allocations: 406.7 kB / 0.865 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/0.5154, allocations: 1.592 MB / 0.8665 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.5154, allocations: 43.11 kB / 0.8666 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=66): time 3.957e-06/0.5154, allocations: 0 / 0.8666 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=66): time 0.003263/0.5187, allocations: 1.122 MB / 0.8677 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.5187, allocations: 55.97 kB / 0.8677 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.5205, allocations: 1.34 MB / 0.869 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.795e-05/0.5206, allocations: 41.7 kB / 0.8691 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005182/0.5211, allocations: 0.6543 MB / 0.8697 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.5213, allocations: 236.6 kB / 0.8699 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.5216, allocations: 166.4 kB / 0.8701 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.5217, allocations: 337.9 kB / 0.8704 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009641/0.5227, allocations: 332.6 kB / 0.8707 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.5238, allocations: 0.4964 MB / 0.8712 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01727/0.541, allocations: 3.179 MB / 0.8743 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5411, allocations: 0 / 0.8743 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002648/0.5437, allocations: 0.9913 MB / 0.8753 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.5438, allocations: 11.12 kB / 0.8753 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.5438, allocations: 4 kB / 0.8753 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.5438, allocations: 8 kB / 0.8753 GB, free: 3.633 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000858/0.5447, allocations: 208 kB / 0.8755 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.5447, allocations: 11.94 kB / 0.8755 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.5458, allocations: 123 kB / 0.8757 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.759e-05/0.5459, allocations: 47.91 kB / 0.8757 GB, free: 3.25 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.001537/0.5474, allocations: 0.6683 MB / 0.8764 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001078/0.5485, allocations: 496.4 kB / 0.8768 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01697/0.5655, allocations: 3.175 MB / 0.8799 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.988e-06/0.5655, allocations: 192 / 0.8799 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.002545/0.5681, allocations: 0.9874 MB / 0.8809 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.5681, allocations: 11.94 kB / 0.8809 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5681, allocations: 4 kB / 0.8809 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.5681, allocations: 4 kB / 0.8809 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008239/0.569, allocations: 207.9 kB / 0.8811 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.569, allocations: 11.98 kB / 0.8811 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.57, allocations: 99.41 kB / 0.8812 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.722e-05/0.5701, allocations: 31.98 kB / 0.8812 GB, free: 13.45 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.0003561/0.5705, allocations: 298.5 kB / 0.8815 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003686/0.5708, allocations: 150.1 kB / 0.8817 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/0.5738, allocations: 1.271 MB / 0.8829 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002049/0.5758, allocations: 0.9432 MB / 0.8838 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.5758, allocations: 0 / 0.8838 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005268/0.5764, allocations: 334.8 kB / 0.8842 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.5766, allocations: 12 kB / 0.8842 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008369/0.5775, allocations: 55.94 kB / 0.8842 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.5776, allocations: 48.58 kB / 0.8843 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002811/0.5804, allocations: 1.097 MB / 0.8853 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00349/0.5839, allocations: 1.745 MB / 0.887 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001029/0.5849, allocations: 465.3 kB / 0.8875 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001335/0.5863, allocations: 0.9323 MB / 0.8884 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of Backend: time 5.41e-07/0.5863, allocations: 0 / 0.8884 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004895/0.5912, allocations: 1.796 MB / 0.8901 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of SimCode: time 0.005793/0.597, allocations: 3.531 MB / 0.8936 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of Templates: time 0.0533/0.6503, allocations: 34.94 MB / 0.9277 GB, free: 14.3 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)