Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.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(AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001143/0.001143, allocations: 183.9 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.167/1.167, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05278/0.05278, allocations: 12.05 MB / 303.3 MB, free: 3.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004886/0.0004887, allocations: 31.89 kB / 356.3 MB, free: 13.98 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.348/1.348, allocations: 268.2 MB / 0.6617 GB, free: 2.617 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 111.8 kB / 0.888 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4184, allocations: 108.4 MB / 0.9938 GB, free: 11.87 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05758/0.476, allocations: 70.45 MB / 1.063 GB, free: 15.76 MB / 0.7482 GB Notification: Performance of NFInst.instExpressions: time 0.01993/0.496, allocations: 18.93 MB / 1.081 GB, free: 12.77 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.4976, allocations: 67.62 kB / 1.081 GB, free: 12.71 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.4994, allocations: 0.8462 MB / 1.082 GB, free: 11.86 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.005618/0.505, allocations: 2.994 MB / 1.085 GB, free: 8.848 MB / 0.7638 GB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.5081, allocations: 1.667 MB / 1.087 GB, free: 7.195 MB / 0.7638 GB Notification: Performance of NFFlatten.flatten: time 0.004029/0.5121, allocations: 4.066 MB / 1.091 GB, free: 3.117 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.5138, allocations: 1.453 MB / 1.092 GB, free: 1.633 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.5169, allocations: 1.81 MB / 1.094 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.5185, allocations: 1.179 MB / 1.095 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002619/0.5187, allocations: 176 kB / 1.095 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.521, allocations: 1.416 MB / 1.096 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003409/0.5213, allocations: 394.6 kB / 1.097 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008904/0.5222, allocations: 0.9177 MB / 1.098 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003128/0.5253, allocations: 3.119 MB / 1.101 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5254, allocations: 0 / 1.101 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5254, allocations: 3.938 kB / 1.101 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.566e-05/0.5254, allocations: 0 / 1.101 GB, free: 8.609 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003253/0.5287, allocations: 2.023 MB / 1.103 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.5287, allocations: 8.031 kB / 1.103 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/0.5308, allocations: 446.5 kB / 1.103 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.5332, allocations: 1.559 MB / 1.105 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.229e-05/0.5333, allocations: 78.03 kB / 1.105 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.5334, allocations: 100 kB / 1.105 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.5357, allocations: 1.317 MB / 1.106 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.5357, allocations: 0 / 1.106 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.5358, allocations: 44 kB / 1.106 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.5359, allocations: 24 kB / 1.106 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.5383, allocations: 1.108 MB / 1.107 GB, free: 1.684 MB / 0.7794 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.007102/0.5454, allocations: 7.493 MB / 1.115 GB, free: 9.672 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/0.5483, allocations: 0.8016 MB / 1.115 GB, free: 8.863 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005631/0.5489, allocations: 290 kB / 1.116 GB, free: 8.578 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.55, allocations: 1.718 MB / 1.117 GB, free: 6.473 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.55, allocations: 43 kB / 1.117 GB, free: 6.422 MB / 0.795 GB Notification: Performance of pre-optimization done (n=48): time 1.924e-06/0.55, allocations: 0 / 1.117 GB, free: 6.422 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.004309/0.5543, allocations: 1.35 MB / 1.119 GB, free: 5.043 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.5544, allocations: 55.84 kB / 1.119 GB, free: 4.977 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/0.5563, allocations: 1.538 MB / 1.12 GB, free: 3.43 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.5563, allocations: 37.7 kB / 1.12 GB, free: 3.387 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/0.5568, allocations: 0.6806 MB / 1.121 GB, free: 2.699 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.557, allocations: 173.6 kB / 1.121 GB, free: 2.527 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.5572, allocations: 166.5 kB / 1.121 GB, free: 2.359 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5573, allocations: 337.9 kB / 1.122 GB, free: 2.023 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009026/0.5582, allocations: 373.7 kB / 1.122 GB, free: 1.656 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.5594, allocations: 0.6622 MB / 1.123 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.561, allocations: 0.8752 MB / 1.123 GB, free: 15.89 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.5611, allocations: 7.984 kB / 1.123 GB, free: 15.88 MB / 0.8107 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002644/0.5637, allocations: 1.193 MB / 1.125 GB, free: 14.68 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.5637, allocations: 8 kB / 1.125 GB, free: 14.67 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.5637, allocations: 8 kB / 1.125 GB, free: 14.66 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007567/0.5645, allocations: 224.6 kB / 1.125 GB, free: 14.44 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.5652, allocations: 195.6 kB / 1.125 GB, free: 14.25 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007692/0.566, allocations: 0.7123 MB / 1.126 GB, free: 13.51 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.5673, allocations: 214.7 kB / 1.126 GB, free: 13.3 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.177e-05/0.5674, allocations: 39.98 kB / 1.126 GB, free: 13.26 MB / 0.8107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004165/0.5678, allocations: 361.6 kB / 1.126 GB, free: 12.89 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.568, allocations: 146.2 kB / 1.126 GB, free: 12.75 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.5702, allocations: 1.145 MB / 1.128 GB, free: 11.61 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5702, allocations: 7.969 kB / 1.128 GB, free: 11.6 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5702, allocations: 4 kB / 1.128 GB, free: 11.6 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004098/0.5706, allocations: 342.9 kB / 1.128 GB, free: 11.24 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.5708, allocations: 12 kB / 1.128 GB, free: 11.23 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008072/0.5716, allocations: 71.86 kB / 1.128 GB, free: 11.16 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.5717, allocations: 40.5 kB / 1.128 GB, free: 11.12 MB / 0.8107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002392/0.5741, allocations: 0.989 MB / 1.129 GB, free: 10.12 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002256/0.5764, allocations: 1.423 MB / 1.13 GB, free: 8.688 MB / 0.8107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006284/0.577, allocations: 340.4 kB / 1.131 GB, free: 8.352 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.001452/0.5785, allocations: 1.09 MB / 1.132 GB, free: 7.266 MB / 0.8107 GB Notification: Performance of Backend: time 4.31e-07/0.5785, allocations: 0 / 1.132 GB, free: 7.266 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.002575/0.5811, allocations: 1.075 MB / 1.133 GB, free: 6.203 MB / 0.8107 GB Notification: Performance of SimCode: time 0.00453/0.5856, allocations: 3.159 MB / 1.136 GB, free: 3.012 MB / 0.8107 GB Notification: Performance of Templates: time 0.04416/0.6298, allocations: 33.43 MB / 1.169 GB, free: 1.914 MB / 0.8419 GB make -j1 -f AixLib_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f AixLib_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo AixLib_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/AixLib_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./AixLib_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)