Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 109.6 kB / 16.42 MB, free: 6.52 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.001629/0.001629, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.15 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.05536/0.05536, allocations: 12.04 MB / 303.2 MB, free: 3.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004746/0.0004746, allocations: 27.95 kB / 356.3 MB, free: 13.96 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/package.mo): time 1.796/1.796, allocations: 272.3 MB / 0.6657 GB, free: 18.34 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 111.8 kB / 0.8935 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4367, allocations: 109.1 MB / 1 GB, free: 8.184 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1133/0.55, allocations: 132.2 MB / 1.129 GB, free: 11.88 MB / 0.8107 GB Notification: Performance of NFInst.instExpressions: time 0.02806/0.5781, allocations: 23.2 MB / 1.152 GB, free: 4.621 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002909/0.581, allocations: 123.2 kB / 1.152 GB, free: 4.5 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.003234/0.5843, allocations: 1.486 MB / 1.153 GB, free: 3.004 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.008445/0.5928, allocations: 4.096 MB / 1.157 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004259/0.597, allocations: 2.166 MB / 1.16 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006427/0.6035, allocations: 6.541 MB / 1.166 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002547/0.606, allocations: 2.363 MB / 1.168 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004455/0.6105, allocations: 2.819 MB / 1.171 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.6125, allocations: 1.882 MB / 1.173 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003349/0.6128, allocations: 248 kB / 1.173 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.6162, allocations: 1.938 MB / 1.175 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004821/0.6167, allocations: 0.5992 MB / 1.176 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.6179, allocations: 1.454 MB / 1.177 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00447/0.6224, allocations: 4.396 MB / 1.181 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6224, allocations: 7.938 kB / 1.181 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6224, allocations: 0 / 1.181 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.332e-05/0.6225, allocations: 0 / 1.181 GB, free: 6.383 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.004882/0.6274, allocations: 3.188 MB / 1.184 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.6274, allocations: 8.031 kB / 1.184 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/0.6317, allocations: 0.844 MB / 1.185 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003802/0.6355, allocations: 2.307 MB / 1.188 GB, free: 15.87 MB / 0.8732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.6356, allocations: 127 kB / 1.188 GB, free: 15.74 MB / 0.8732 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.6359, allocations: 167.9 kB / 1.188 GB, free: 15.58 MB / 0.8732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003562/0.6394, allocations: 1.919 MB / 1.19 GB, free: 13.59 MB / 0.8732 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.6395, allocations: 4 kB / 1.19 GB, free: 13.59 MB / 0.8732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.6396, allocations: 64 kB / 1.19 GB, free: 13.53 MB / 0.8732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.6397, allocations: 36 kB / 1.19 GB, free: 13.49 MB / 0.8732 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004338/0.644, allocations: 1.811 MB / 1.192 GB, free: 11.68 MB / 0.8732 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.011/0.655, allocations: 8.984 MB / 1.2 GB, free: 2.102 MB / 0.8732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004152/0.6592, allocations: 1.193 MB / 1.201 GB, free: 0.8945 MB / 0.8732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.6602, allocations: 465.4 kB / 1.202 GB, free: 444 kB / 0.8732 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/0.6613, allocations: 1.719 MB / 1.204 GB, free: 14.33 MB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.6614, allocations: 46.55 kB / 1.204 GB, free: 14.27 MB / 0.8888 GB Notification: Performance of pre-optimization done (n=76): time 2.215e-06/0.6614, allocations: 3.938 kB / 1.204 GB, free: 14.27 MB / 0.8888 GB Notification: Performance of matching and sorting (n=76): time 0.007969/0.6693, allocations: 2.338 MB / 1.206 GB, free: 11.88 MB / 0.8888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.6694, allocations: 85.11 kB / 1.206 GB, free: 11.78 MB / 0.8888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003307/0.6727, allocations: 2.528 MB / 1.208 GB, free: 9.23 MB / 0.8888 GB Notification: Performance of collectPreVariables (initialization): time 8.23e-05/0.6728, allocations: 45.7 kB / 1.209 GB, free: 9.18 MB / 0.8888 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008239/0.6736, allocations: 1.042 MB / 1.21 GB, free: 8.129 MB / 0.8888 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.6738, allocations: 272.2 kB / 1.21 GB, free: 7.859 MB / 0.8888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/0.6742, allocations: 254.6 kB / 1.21 GB, free: 7.602 MB / 0.8888 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6744, allocations: 345.9 kB / 1.21 GB, free: 7.258 MB / 0.8888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.676, allocations: 0.5725 MB / 1.211 GB, free: 6.688 MB / 0.8888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/0.6779, allocations: 0.9504 MB / 1.212 GB, free: 5.582 MB / 0.8888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/0.6807, allocations: 1.242 MB / 1.213 GB, free: 4.238 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6807, allocations: 3.938 kB / 1.213 GB, free: 4.234 MB / 0.8888 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005873/0.6866, allocations: 2.033 MB / 1.215 GB, free: 2.184 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.6866, allocations: 8 kB / 1.215 GB, free: 2.176 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.6866, allocations: 8 kB / 1.215 GB, free: 2.168 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/0.6883, allocations: 0.4934 MB / 1.216 GB, free: 1.668 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.6895, allocations: 275.6 kB / 1.216 GB, free: 1.398 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.6916, allocations: 1.513 MB / 1.217 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/0.694, allocations: 377.9 kB / 1.218 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.6942, allocations: 55.97 kB / 1.218 GB, free: 15.41 MB / 0.9044 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006632/0.6948, allocations: 466 kB / 1.218 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/0.6952, allocations: 248.9 kB / 1.218 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003424/0.6986, allocations: 1.498 MB / 1.22 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.6987, allocations: 3.984 kB / 1.22 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.6987, allocations: 3.984 kB / 1.22 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007114/0.6994, allocations: 489.5 kB / 1.22 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002749/0.6997, allocations: 16 kB / 1.22 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.7013, allocations: 135.8 kB / 1.22 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/0.7014, allocations: 47.92 kB / 1.221 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004566/0.7059, allocations: 1.59 MB / 1.222 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003857/0.7098, allocations: 2.061 MB / 1.224 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001079/0.7109, allocations: 486.3 kB / 1.225 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002608/0.7135, allocations: 1.769 MB / 1.226 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of Backend: time 2.845e-06/0.7135, allocations: 0 / 1.226 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00476/0.7183, allocations: 1.644 MB / 1.228 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of SimCode: time 0.007821/0.7261, allocations: 4.91 MB / 1.233 GB, free: 15.96 MB / 0.92 GB Notification: Performance of Templates: time 0.4163/1.142, allocations: 50.64 MB / 1.282 GB, free: 263.6 MB / 0.9513 GB make -j1 -f AixLib_latest_AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f AixLib_latest_AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/AixLib_latest_AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./AixLib_latest_AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)