Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 115.2 kB / 16.42 MB, free: 6.504 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.001147/0.001147, allocations: 188.2 kB / 17.35 MB, free: 5.758 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.323/1.323, allocations: 222.9 MB / 241.1 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.0574/0.0574, allocations: 12.04 MB / 303.3 MB, free: 3.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004983/0.0004983, allocations: 23.97 kB / 356.3 MB, free: 13.96 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.53/1.53, allocations: 268.2 MB / 0.6617 GB, free: 2.59 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00299/0.00299, allocations: 119.8 kB / 0.888 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5246/0.5276, allocations: 108.4 MB / 0.9938 GB, free: 11.95 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001922/0.5296, allocations: 1.273 MB / 0.995 GB, free: 10.93 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.1561/0.6857, allocations: 147 MB / 1.139 GB, free: 1.586 MB / 0.8107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.63e-05/0.6858, allocations: 3.938 kB / 1.139 GB, free: 1.582 MB / 0.8107 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.6858, allocations: 0 / 1.139 GB, free: 1.582 MB / 0.8107 GB Notification: Performance of NFTyping.typeBindings: time 5.626e-05/0.6859, allocations: 7.922 kB / 1.139 GB, free: 1.574 MB / 0.8107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.6864, allocations: 99.55 kB / 1.139 GB, free: 1.477 MB / 0.8107 GB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.6865, allocations: 31.86 kB / 1.139 GB, free: 1.445 MB / 0.8107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.238e-05/0.6865, allocations: 0 / 1.139 GB, free: 1.445 MB / 0.8107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.412e-05/0.6866, allocations: 15.98 kB / 1.139 GB, free: 1.43 MB / 0.8107 GB Notification: Performance of NFSimplifyModel.simplify: time 5.863e-05/0.6866, allocations: 15.92 kB / 1.139 GB, free: 1.414 MB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.6867, allocations: 0 / 1.139 GB, free: 1.414 MB / 0.8107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002699/0.6869, allocations: 87.75 kB / 1.139 GB, free: 1.328 MB / 0.8107 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.687, allocations: 4 kB / 1.139 GB, free: 1.324 MB / 0.8107 GB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.687, allocations: 19.92 kB / 1.139 GB, free: 1.305 MB / 0.8107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.6872, allocations: 67.67 kB / 1.139 GB, free: 1.242 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.6872, allocations: 0 / 1.139 GB, free: 1.242 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.031e-06/0.6872, allocations: 4 kB / 1.139 GB, free: 1.238 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.6872, allocations: 0 / 1.139 GB, free: 1.238 MB / 0.8107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000407/0.6876, allocations: 358.4 kB / 1.139 GB, free: 0.8438 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.6877, allocations: 8.031 kB / 1.139 GB, free: 0.8359 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.6879, allocations: 12.92 kB / 1.139 GB, free: 0.8242 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.688, allocations: 163.8 kB / 1.139 GB, free: 0.625 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.688, allocations: 4 kB / 1.139 GB, free: 0.6211 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.688, allocations: 12 kB / 1.139 GB, free: 0.6094 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.6882, allocations: 57.55 kB / 1.14 GB, free: 0.5469 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.6882, allocations: 0 / 1.14 GB, free: 0.5469 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.6882, allocations: 0 / 1.14 GB, free: 0.5469 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.6882, allocations: 0 / 1.14 GB, free: 0.5469 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.76e-05/0.6883, allocations: 15.98 kB / 1.14 GB, free: 0.5312 MB / 0.8107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.6884, allocations: 169.5 kB / 1.14 GB, free: 324 kB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 8.946e-05/0.6885, allocations: 46.56 kB / 1.14 GB, free: 268 kB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.811e-05/0.6886, allocations: 20.84 kB / 1.14 GB, free: 244 kB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.6886, allocations: 7.938 kB / 1.14 GB, free: 236 kB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.6886, allocations: 34.56 kB / 1.14 GB, free: 192 kB / 0.8107 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.6886, allocations: 0 / 1.14 GB, free: 192 kB / 0.8107 GB Notification: Performance of matching and sorting (n=11): time 0.0007446/0.6894, allocations: 366.9 kB / 1.14 GB, free: 15.78 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.6894, allocations: 51.41 kB / 1.14 GB, free: 15.71 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.702e-05/0.6895, allocations: 97.86 kB / 1.14 GB, free: 15.61 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.6895, allocations: 33.69 kB / 1.14 GB, free: 15.57 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/0.6895, allocations: 80.14 kB / 1.14 GB, free: 15.49 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.6896, allocations: 31.47 kB / 1.14 GB, free: 15.46 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.6896, allocations: 29.7 kB / 1.14 GB, free: 15.42 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6897, allocations: 322.8 kB / 1.141 GB, free: 15.1 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.6898, allocations: 19.92 kB / 1.141 GB, free: 15.08 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.727e-05/0.6899, allocations: 45.77 kB / 1.141 GB, free: 15.03 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.629e-05/0.6899, allocations: 69.61 kB / 1.141 GB, free: 14.95 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.69, allocations: 0 / 1.141 GB, free: 14.95 MB / 0.8263 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001458/0.6901, allocations: 97.53 kB / 1.141 GB, free: 14.85 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.6901, allocations: 6.188 kB / 1.141 GB, free: 14.85 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6901, allocations: 0 / 1.141 GB, free: 14.85 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.6902, allocations: 0 / 1.141 GB, free: 14.85 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.6903, allocations: 23.98 kB / 1.141 GB, free: 14.82 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.6903, allocations: 0 / 1.141 GB, free: 14.82 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.6903, allocations: 7.938 kB / 1.141 GB, free: 14.82 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.6904, allocations: 8 kB / 1.141 GB, free: 14.81 MB / 0.8263 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 (14): * Single equations (assignments): 14 * 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 7.598e-05/0.6904, allocations: 121.8 kB / 1.141 GB, free: 14.68 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.6905, allocations: 7.906 kB / 1.141 GB, free: 14.67 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.6905, allocations: 7.969 kB / 1.141 GB, free: 14.67 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6905, allocations: 0 / 1.141 GB, free: 14.67 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.6905, allocations: 0 / 1.141 GB, free: 14.67 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.6906, allocations: 89.03 kB / 1.141 GB, free: 14.56 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.6906, allocations: 4 kB / 1.141 GB, free: 14.56 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.6907, allocations: 8 kB / 1.141 GB, free: 14.55 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.6907, allocations: 7.984 kB / 1.141 GB, free: 14.54 MB / 0.8263 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002533/0.691, allocations: 180.8 kB / 1.141 GB, free: 14.36 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002484/0.6913, allocations: 287.1 kB / 1.142 GB, free: 14.06 MB / 0.8263 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.811e-05/0.6913, allocations: 25.45 kB / 1.142 GB, free: 14.04 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 2.778e-05/0.6913, allocations: 83.28 kB / 1.142 GB, free: 13.96 MB / 0.8263 GB Notification: Performance of Backend: time 2.615e-06/0.6914, allocations: 0 / 1.142 GB, free: 13.96 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0004568/0.6918, allocations: 159.6 kB / 1.142 GB, free: 13.79 MB / 0.8263 GB Notification: Performance of SimCode: time 0.0006429/0.6925, allocations: 0.744 MB / 1.143 GB, free: 13 MB / 0.8263 GB Notification: Performance of Templates: time 0.003574/0.6961, allocations: 1.232 MB / 1.144 GB, free: 11.78 MB / 0.8263 GB make -j1 -f AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)