Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(AixLib.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001103/0.001103, allocations: 183.9 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.16/1.16, allocations: 222.9 MB / 241.1 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.05186/0.05186, allocations: 12.05 MB / 303.3 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004748/0.0004748, allocations: 27.94 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.347/1.347, allocations: 268.2 MB / 0.6617 GB, free: 2.613 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 111.8 kB / 0.888 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4223, allocations: 108.4 MB / 0.9938 GB, free: 11.9 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1047/0.527, allocations: 132.2 MB / 1.123 GB, free: 1.852 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02658/0.5536, allocations: 23.21 MB / 1.146 GB, free: 10.59 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002512/0.5562, allocations: 123.3 kB / 1.146 GB, free: 10.47 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.002733/0.5589, allocations: 1.537 MB / 1.147 GB, free: 8.922 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.007472/0.5664, allocations: 4.311 MB / 1.151 GB, free: 4.594 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.003837/0.5703, allocations: 2.181 MB / 1.154 GB, free: 2.438 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.005763/0.576, allocations: 6.549 MB / 1.16 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0028/0.5788, allocations: 2.359 MB / 1.162 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004828/0.5837, allocations: 2.818 MB / 1.165 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/0.5862, allocations: 1.894 MB / 1.167 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004532/0.5867, allocations: 244 kB / 1.167 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00333/0.59, allocations: 1.938 MB / 1.169 GB, free: 2.547 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005853/0.5906, allocations: 0.5915 MB / 1.17 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.5922, allocations: 1.458 MB / 1.171 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004534/0.5967, allocations: 4.389 MB / 1.175 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5967, allocations: 3.938 kB / 1.175 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5967, allocations: 0 / 1.175 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.004e-05/0.5967, allocations: 0 / 1.175 GB, free: 12.09 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.004628/0.6014, allocations: 3.176 MB / 1.178 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.6014, allocations: 12.03 kB / 1.178 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003981/0.6054, allocations: 0.8438 MB / 1.179 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003794/0.6092, allocations: 2.33 MB / 1.181 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.745e-05/0.6093, allocations: 127 kB / 1.182 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.6095, allocations: 160 kB / 1.182 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003538/0.6131, allocations: 1.926 MB / 1.184 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.6131, allocations: 3.938 kB / 1.184 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.6133, allocations: 68 kB / 1.184 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.6133, allocations: 39.94 kB / 1.184 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004212/0.6175, allocations: 1.784 MB / 1.185 GB, free: 1.391 MB / 0.8575 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.01019/0.6277, allocations: 8.973 MB / 1.194 GB, free: 7.82 MB / 0.8732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003913/0.6316, allocations: 1.189 MB / 1.195 GB, free: 6.617 MB / 0.8732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.6327, allocations: 469.4 kB / 1.196 GB, free: 6.152 MB / 0.8732 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.6337, allocations: 1.718 MB / 1.198 GB, free: 4.047 MB / 0.8732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.6337, allocations: 46.56 kB / 1.198 GB, free: 3.992 MB / 0.8732 GB Notification: Performance of pre-optimization done (n=76): time 2.204e-06/0.6337, allocations: 0 / 1.198 GB, free: 3.992 MB / 0.8732 GB Notification: Performance of matching and sorting (n=76): time 0.007683/0.6414, allocations: 2.327 MB / 1.2 GB, free: 1.613 MB / 0.8732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.6415, allocations: 88.86 kB / 1.2 GB, free: 1.508 MB / 0.8732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003184/0.6446, allocations: 2.5 MB / 1.202 GB, free: 14.99 MB / 0.8888 GB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/0.6447, allocations: 45.7 kB / 1.202 GB, free: 14.94 MB / 0.8888 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007851/0.6455, allocations: 1.038 MB / 1.203 GB, free: 13.89 MB / 0.8888 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.6457, allocations: 268.1 kB / 1.204 GB, free: 13.62 MB / 0.8888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/0.6461, allocations: 258.6 kB / 1.204 GB, free: 13.36 MB / 0.8888 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6462, allocations: 341.9 kB / 1.204 GB, free: 13.02 MB / 0.8888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.6478, allocations: 0.5764 MB / 1.205 GB, free: 12.45 MB / 0.8888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.6498, allocations: 0.9543 MB / 1.206 GB, free: 11.34 MB / 0.8888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.6525, allocations: 1.246 MB / 1.207 GB, free: 9.992 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.6526, allocations: 4 kB / 1.207 GB, free: 9.988 MB / 0.8888 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005807/0.6584, allocations: 2.017 MB / 1.209 GB, free: 7.957 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.6584, allocations: 17.5 kB / 1.209 GB, free: 7.941 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.6584, allocations: 12.03 kB / 1.209 GB, free: 7.93 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.6598, allocations: 420 kB / 1.209 GB, free: 7.516 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.6609, allocations: 279.6 kB / 1.21 GB, free: 7.242 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.6629, allocations: 1.504 MB / 1.211 GB, free: 5.688 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/0.6651, allocations: 370 kB / 1.211 GB, free: 5.324 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.6652, allocations: 60.06 kB / 1.211 GB, free: 5.266 MB / 0.8888 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006138/0.6659, allocations: 461.4 kB / 1.212 GB, free: 4.805 MB / 0.8888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/0.6662, allocations: 248.9 kB / 1.212 GB, free: 4.559 MB / 0.8888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/0.6695, allocations: 1.494 MB / 1.214 GB, free: 3.051 MB / 0.8888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.6695, allocations: 3.984 kB / 1.214 GB, free: 3.047 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.6695, allocations: 7.938 kB / 1.214 GB, free: 3.039 MB / 0.8888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006701/0.6702, allocations: 477.6 kB / 1.214 GB, free: 2.551 MB / 0.8888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/0.6705, allocations: 19.98 kB / 1.214 GB, free: 2.531 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.672, allocations: 135.8 kB / 1.214 GB, free: 2.398 MB / 0.8888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.6721, allocations: 47.86 kB / 1.214 GB, free: 2.352 MB / 0.8888 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004451/0.6765, allocations: 1.579 MB / 1.216 GB, free: 0.7578 MB / 0.8888 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003773/0.6803, allocations: 2.053 MB / 1.218 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001063/0.6814, allocations: 477.9 kB / 1.218 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002447/0.6838, allocations: 1.753 MB / 1.22 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of Backend: time 2.635e-06/0.6839, allocations: 0 / 1.22 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004456/0.6883, allocations: 1.635 MB / 1.222 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of SimCode: time 0.007658/0.696, allocations: 4.907 MB / 1.226 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of Templates: time 0.06673/0.7627, allocations: 50.4 MB / 1.276 GB, free: 4.039 MB / 0.9513 GB make -j1 -f AixLib_AixLib.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f AixLib_AixLib.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo AixLib_AixLib.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/AixLib_AixLib.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./AixLib_AixLib.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)