Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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_latest_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.001461/0.001467, allocations: 111 kB / 16.42 MB, free: 6.492 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.001683/0.001683, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.261/1.261, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.05579/0.05579, allocations: 12.04 MB / 303.3 MB, free: 3.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000521/0.000521, allocations: 23.95 kB / 356.3 MB, free: 13.99 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.798/1.798, allocations: 272.3 MB / 0.6657 GB, free: 18.38 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.001981, allocations: 111.8 kB / 0.8935 GB, free: 15.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4365, allocations: 109.1 MB / 1 GB, free: 8.168 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0611/0.4976, allocations: 70.45 MB / 1.069 GB, free: 9.891 MB / 0.7482 GB Notification: Performance of NFInst.instExpressions: time 0.02129/0.519, allocations: 18.93 MB / 1.087 GB, free: 6.906 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.5206, allocations: 71.56 kB / 1.087 GB, free: 6.836 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.5223, allocations: 0.8228 MB / 1.088 GB, free: 6.008 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.005445/0.5278, allocations: 2.849 MB / 1.091 GB, free: 3.148 MB / 0.7638 GB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.531, allocations: 1.647 MB / 1.093 GB, free: 1.508 MB / 0.7638 GB Notification: Performance of NFFlatten.flatten: time 0.003774/0.5347, allocations: 4.05 MB / 1.097 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.5364, allocations: 1.457 MB / 1.098 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.5394, allocations: 1.798 MB / 1.1 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.5408, allocations: 1.182 MB / 1.101 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002138/0.541, allocations: 176 kB / 1.101 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.5435, allocations: 1.419 MB / 1.102 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003149/0.5438, allocations: 390.6 kB / 1.103 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007814/0.5446, allocations: 0.9176 MB / 1.104 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003192/0.5478, allocations: 3.107 MB / 1.107 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.5478, allocations: 0 / 1.107 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5478, allocations: 4 kB / 1.107 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.5478, allocations: 0 / 1.107 GB, free: 2.949 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.003109/0.551, allocations: 2.034 MB / 1.109 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.551, allocations: 8.031 kB / 1.109 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.5532, allocations: 446.4 kB / 1.109 GB, free: 416 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/0.5556, allocations: 1.555 MB / 1.111 GB, free: 14.79 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.5557, allocations: 82.03 kB / 1.111 GB, free: 14.71 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.5558, allocations: 104 kB / 1.111 GB, free: 14.61 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/0.5581, allocations: 1.313 MB / 1.112 GB, free: 13.19 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.5581, allocations: 4 kB / 1.112 GB, free: 13.18 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.5582, allocations: 43.94 kB / 1.112 GB, free: 13.14 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.5583, allocations: 35.98 kB / 1.112 GB, free: 13.11 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/0.5608, allocations: 1.093 MB / 1.113 GB, free: 12.01 MB / 0.795 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.007543/0.5683, allocations: 7.505 MB / 1.121 GB, free: 3.988 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/0.5714, allocations: 0.8018 MB / 1.121 GB, free: 3.18 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/0.572, allocations: 286 kB / 1.122 GB, free: 2.898 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.5731, allocations: 1.714 MB / 1.123 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.5731, allocations: 46.94 kB / 1.123 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of pre-optimization done (n=48): time 2.044e-06/0.5731, allocations: 0 / 1.123 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.004476/0.5776, allocations: 1.342 MB / 1.125 GB, free: 15.37 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.5777, allocations: 59.78 kB / 1.125 GB, free: 15.3 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.5797, allocations: 1.542 MB / 1.126 GB, free: 13.75 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.5797, allocations: 37.7 kB / 1.126 GB, free: 13.71 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/0.5803, allocations: 0.6767 MB / 1.127 GB, free: 13.02 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.5804, allocations: 169.6 kB / 1.127 GB, free: 12.86 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.5807, allocations: 174.4 kB / 1.127 GB, free: 12.68 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5808, allocations: 338 kB / 1.128 GB, free: 12.34 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009134/0.5817, allocations: 361.8 kB / 1.128 GB, free: 11.99 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.5829, allocations: 0.6583 MB / 1.129 GB, free: 11.21 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.5845, allocations: 0.8829 MB / 1.13 GB, free: 10.22 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.5846, allocations: 4 kB / 1.13 GB, free: 10.22 MB / 0.8107 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002696/0.5873, allocations: 1.193 MB / 1.131 GB, free: 9.016 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.5873, allocations: 8 kB / 1.131 GB, free: 9.008 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5873, allocations: 15.97 kB / 1.131 GB, free: 8.992 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007856/0.5881, allocations: 216.6 kB / 1.131 GB, free: 8.777 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007451/0.5889, allocations: 199.7 kB / 1.131 GB, free: 8.582 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007786/0.5897, allocations: 0.7277 MB / 1.132 GB, free: 7.828 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.591, allocations: 206.7 kB / 1.132 GB, free: 7.625 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.953e-05/0.5911, allocations: 51.97 kB / 1.132 GB, free: 7.574 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.0004314/0.5916, allocations: 354.2 kB / 1.132 GB, free: 7.219 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.5918, allocations: 146.2 kB / 1.133 GB, free: 7.074 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.594, allocations: 1.145 MB / 1.134 GB, free: 5.906 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.5941, allocations: 7.984 kB / 1.134 GB, free: 5.898 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.5941, allocations: 0 / 1.134 GB, free: 5.898 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/0.5945, allocations: 346.9 kB / 1.134 GB, free: 5.539 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.5947, allocations: 8 kB / 1.134 GB, free: 5.531 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008322/0.5955, allocations: 75.91 kB / 1.134 GB, free: 5.457 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.5956, allocations: 32.52 kB / 1.134 GB, free: 5.426 MB / 0.8107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002381/0.598, allocations: 0.9929 MB / 1.135 GB, free: 4.418 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002303/0.6003, allocations: 1.419 MB / 1.136 GB, free: 2.984 MB / 0.8107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006216/0.601, allocations: 344.4 kB / 1.137 GB, free: 2.645 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.001521/0.6025, allocations: 1.082 MB / 1.138 GB, free: 1.566 MB / 0.8107 GB Notification: Performance of Backend: time 4.41e-07/0.6025, allocations: 4 kB / 1.138 GB, free: 1.562 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.002715/0.6052, allocations: 1.073 MB / 1.139 GB, free: 0.4961 MB / 0.8107 GB Notification: Performance of SimCode: time 0.004681/0.6099, allocations: 3.158 MB / 1.142 GB, free: 13.29 MB / 0.8263 GB Notification: Performance of Templates: time 0.04635/0.6563, allocations: 33.44 MB / 1.175 GB, free: 12.24 MB / 0.8575 GB make -j1 -f AixLib_latest_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f AixLib_latest_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/AixLib_latest_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./AixLib_latest_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)