Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Examples.Performance.Example6.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.Examples.Performance.Example6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Examples.Performance.Example6") translateModel(AixLib.Fluid.Examples.Performance.Example6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Examples.Performance.Example6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001203, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.00107/0.00107, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.09 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.05825/0.05825, allocations: 12.05 MB / 303.3 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.000552/0.0005519, allocations: 23.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.916/1.916, allocations: 272.3 MB / 0.6657 GB, free: 18.34 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002043, allocations: 115.8 kB / 0.8935 GB, free: 15.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4962, allocations: 109.1 MB / 1 GB, free: 8.113 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Examples.Performance.Example6): time 0.00155/0.4978, allocations: 0.53 MB / 1.001 GB, free: 7.719 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.000194/0.498, allocations: 43.56 kB / 1.001 GB, free: 7.688 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.498, allocations: 4 kB / 1.001 GB, free: 7.684 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 9.022e-05/0.4981, allocations: 5.281 kB / 1.001 GB, free: 7.68 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.4982, allocations: 0 / 1.001 GB, free: 7.68 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.4984, allocations: 15.5 kB / 1.001 GB, free: 7.668 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.003444/0.5018, allocations: 4.579 MB / 1.005 GB, free: 5.254 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.502, allocations: 33.81 kB / 1.005 GB, free: 5.254 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003471/0.5054, allocations: 1.537 MB / 1.007 GB, free: 4.633 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004358/0.5098, allocations: 2.107 MB / 1.009 GB, free: 3.363 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.00148/0.5113, allocations: 249.6 kB / 1.009 GB, free: 3.363 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.5126, allocations: 251.1 kB / 1.009 GB, free: 3.363 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 0.001587/0.5142, allocations: 1.596 MB / 1.011 GB, free: 2.359 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.001984/0.5162, allocations: 1.673 MB / 1.012 GB, free: 1.168 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.5187, allocations: 3.044 MB / 1.015 GB, free: 15.26 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5187, allocations: 0 / 1.015 GB, free: 15.26 MB / 0.7013 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5187, allocations: 0 / 1.015 GB, free: 15.26 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 7.681e-05/0.5188, allocations: 0 / 1.015 GB, free: 15.26 MB / 0.7013 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1001 * Number of variables: 1001 Notification: Performance of Generate backend data structure: time 0.01521/0.534, allocations: 6.404 MB / 1.022 GB, free: 10.38 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.534, allocations: 8.031 kB / 1.022 GB, free: 10.38 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007716/0.5348, allocations: 394.9 kB / 1.022 GB, free: 9.988 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.537, allocations: 1.285 MB / 1.023 GB, free: 8.66 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.5373, allocations: 416.2 kB / 1.024 GB, free: 8.254 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/0.5384, allocations: 0.7922 MB / 1.024 GB, free: 7.461 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008134/0.5466, allocations: 4.999 MB / 1.029 GB, free: 2.449 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.836e-05/0.5467, allocations: 192 / 1.029 GB, free: 2.449 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003931/0.5471, allocations: 159.9 kB / 1.03 GB, free: 2.293 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.644e-05/0.5472, allocations: 96 kB / 1.03 GB, free: 2.199 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007932/0.5551, allocations: 4.414 MB / 1.034 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02234/0.5775, allocations: 10.24 MB / 1.044 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09069/0.6682, allocations: 31.45 MB / 1.075 GB, free: 4.023 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007161/0.6754, allocations: 3.928 MB / 1.078 GB, free: 92 kB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000519/0.6759, allocations: 103.9 kB / 1.079 GB, free: 15.98 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.675e-05/0.676, allocations: 134.4 kB / 1.079 GB, free: 15.84 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=1000): time 1.073e-05/0.6761, allocations: 0 / 1.079 GB, free: 15.84 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1000): time 0.02232/0.6984, allocations: 11.74 MB / 1.09 GB, free: 4.117 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/0.6985, allocations: 151.2 kB / 1.09 GB, free: 3.957 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.6988, allocations: 265.7 kB / 1.091 GB, free: 3.688 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.0008715/0.6997, allocations: 257.7 kB / 1.091 GB, free: 3.43 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.6999, allocations: 195.7 kB / 1.091 GB, free: 3.234 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.003378/0.7033, allocations: 4.009 MB / 1.095 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003236/0.7066, allocations: 1.969 MB / 1.097 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.7067, allocations: 314 kB / 1.097 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007255/0.714, allocations: 4.125 MB / 1.101 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007857/0.7218, allocations: 4.96 MB / 1.106 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01461/0.7365, allocations: 9.319 MB / 1.115 GB, free: 10.49 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.928e-05/0.7365, allocations: 0 / 1.115 GB, free: 10.49 MB / 0.795 GB Notification: Performance of matching and sorting (n=1501) (initialization): time 0.01751/0.754, allocations: 11.02 MB / 1.126 GB, free: 15.46 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.7541, allocations: 8 kB / 1.126 GB, free: 15.45 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.7541, allocations: 0 / 1.126 GB, free: 15.45 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.46e-05/0.7542, allocations: 51.94 kB / 1.126 GB, free: 15.4 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009614/0.7638, allocations: 2.703 MB / 1.129 GB, free: 12.7 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001708/0.764, allocations: 55.97 kB / 1.129 GB, free: 12.64 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003668/0.7677, allocations: 1.263 MB / 1.13 GB, free: 11.37 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007393/0.7684, allocations: 332 kB / 1.13 GB, free: 11.05 MB / 0.8107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (1501): * Single equations (assignments): 1501 * 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.001889/0.7703, allocations: 1.007 MB / 1.131 GB, free: 10.03 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000786/0.7711, allocations: 337.9 kB / 1.131 GB, free: 9.695 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01614/0.7872, allocations: 9.502 MB / 1.141 GB, free: 180 kB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.506e-05/0.7874, allocations: 47.81 kB / 1.141 GB, free: 132 kB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.7874, allocations: 0 / 1.141 GB, free: 132 kB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004345/0.7878, allocations: 0.5049 MB / 1.141 GB, free: 15.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008996/0.7887, allocations: 355.7 kB / 1.142 GB, free: 15.25 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003297/0.792, allocations: 0.6399 MB / 1.142 GB, free: 14.61 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/0.7931, allocations: 0.5342 MB / 1.143 GB, free: 14.07 MB / 0.8263 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04281/0.8359, allocations: 15.3 MB / 1.158 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02823/0.8642, allocations: 16.52 MB / 1.174 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007404/0.8716, allocations: 4.99 MB / 1.179 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.117e-05/0.8717, allocations: 87.27 kB / 1.179 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of Backend: time 3.91e-07/0.8717, allocations: 0 / 1.179 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01147/0.8832, allocations: 6.728 MB / 1.185 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of SimCode: time 0.01527/0.8985, allocations: 14.77 MB / 1.2 GB, free: 3.523 MB / 0.8732 GB Notification: Performance of Templates: time 0.1119/1.01, allocations: 73.42 MB / 1.271 GB, free: 9.98 MB / 0.9513 GB make -j1 -f AixLib_latest_AixLib.Fluid.Examples.Performance.Example6.makefile (rm -f AixLib_latest_AixLib.Fluid.Examples.Performance.Example6.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Examples.Performance.Example6.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Examples.Performance.Example6.pipe >> ../files/AixLib_latest_AixLib.Fluid.Examples.Performance.Example6.sim & ./AixLib_latest_AixLib.Fluid.Examples.Performance.Example6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.Examples.Performance.Example6.pipe 2>&1)