Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Media.Examples.AirDerivativeCheck.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.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Media.Examples.AirDerivativeCheck") translateModel(AixLib.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 115.2 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.001496/0.001496, 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.05853/0.05853, allocations: 12.04 MB / 303.3 MB, free: 3.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005087/0.000509, allocations: 27.97 kB / 356.3 MB, free: 14 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.875/1.875, allocations: 272.3 MB / 0.6657 GB, free: 18.33 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 111.8 kB / 0.8935 GB, free: 15.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.4815, allocations: 109.2 MB / 1 GB, free: 8.293 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.AirDerivativeCheck): time 0.001967/0.4835, allocations: 1.328 MB / 1.001 GB, free: 7.238 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.1509/0.6345, allocations: 148.1 MB / 1.146 GB, free: 10.53 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.6346, allocations: 0 / 1.146 GB, free: 10.53 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.6346, allocations: 3.938 kB / 1.146 GB, free: 10.53 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.6348, allocations: 19.91 kB / 1.146 GB, free: 10.51 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.6358, allocations: 326.6 kB / 1.146 GB, free: 10.19 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.6359, allocations: 63.77 kB / 1.146 GB, free: 10.12 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.636, allocations: 7.984 kB / 1.146 GB, free: 10.12 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 4.798e-05/0.636, allocations: 27.97 kB / 1.146 GB, free: 10.09 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 9.275e-05/0.6361, allocations: 35.78 kB / 1.146 GB, free: 10.05 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.6361, allocations: 4 kB / 1.146 GB, free: 10.05 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008588/0.637, allocations: 410.5 kB / 1.147 GB, free: 9.652 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.6371, allocations: 15.98 kB / 1.147 GB, free: 9.637 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.6371, allocations: 27.86 kB / 1.147 GB, free: 9.609 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.6375, allocations: 162.8 kB / 1.147 GB, free: 9.453 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.6375, allocations: 0 / 1.147 GB, free: 9.453 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.103e-06/0.6375, allocations: 0 / 1.147 GB, free: 9.453 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.6375, allocations: 0 / 1.147 GB, free: 9.453 MB / 0.8263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004482/0.638, allocations: 391.3 kB / 1.147 GB, free: 9.023 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.638, allocations: 8.031 kB / 1.147 GB, free: 9.016 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/0.6384, allocations: 36.89 kB / 1.148 GB, free: 8.98 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.6385, allocations: 175.7 kB / 1.148 GB, free: 8.77 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.6386, allocations: 4 kB / 1.148 GB, free: 8.766 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.6386, allocations: 8 kB / 1.148 GB, free: 8.758 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.6388, allocations: 81.58 kB / 1.148 GB, free: 8.672 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.6388, allocations: 0 / 1.148 GB, free: 8.672 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.6388, allocations: 4 kB / 1.148 GB, free: 8.668 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.6388, allocations: 0 / 1.148 GB, free: 8.668 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.047e-05/0.6389, allocations: 47.95 kB / 1.148 GB, free: 8.621 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.6391, allocations: 185.5 kB / 1.148 GB, free: 8.391 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.6393, allocations: 98.62 kB / 1.148 GB, free: 8.285 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.6393, allocations: 32.84 kB / 1.148 GB, free: 8.25 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.6395, allocations: 170.2 kB / 1.148 GB, free: 8.047 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.6396, allocations: 42.55 kB / 1.148 GB, free: 7.996 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.6396, allocations: 4 kB / 1.148 GB, free: 7.992 MB / 0.8263 GB Notification: Performance of matching and sorting (n=19): time 0.001246/0.6408, allocations: 0.5372 MB / 1.149 GB, free: 7.402 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.6409, allocations: 59.28 kB / 1.149 GB, free: 7.332 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.002e-05/0.641, allocations: 105.8 kB / 1.149 GB, free: 7.219 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.641, allocations: 29.7 kB / 1.149 GB, free: 7.184 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.641, allocations: 80.52 kB / 1.149 GB, free: 7.102 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.6411, allocations: 70.91 kB / 1.149 GB, free: 7.031 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.6411, allocations: 45.7 kB / 1.149 GB, free: 6.98 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.6412, allocations: 314.8 kB / 1.15 GB, free: 6.664 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.631e-05/0.6413, allocations: 39.98 kB / 1.15 GB, free: 6.625 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.099e-05/0.6414, allocations: 71.53 kB / 1.15 GB, free: 6.543 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.6415, allocations: 111.4 kB / 1.15 GB, free: 6.422 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.6416, allocations: 0 / 1.15 GB, free: 6.422 MB / 0.8263 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002135/0.6418, allocations: 161.5 kB / 1.15 GB, free: 6.258 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.6418, allocations: 8 kB / 1.15 GB, free: 6.25 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6418, allocations: 0 / 1.15 GB, free: 6.25 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.6418, allocations: 0 / 1.15 GB, free: 6.25 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.642, allocations: 43.92 kB / 1.15 GB, free: 6.207 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.642, allocations: 11.92 kB / 1.15 GB, free: 6.195 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.6421, allocations: 4 kB / 1.15 GB, free: 6.191 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.6421, allocations: 4 kB / 1.15 GB, free: 6.188 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 8.966e-05/0.6422, allocations: 130.2 kB / 1.15 GB, free: 6.051 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.6422, allocations: 7.906 kB / 1.15 GB, free: 6.043 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.6423, allocations: 16.44 kB / 1.15 GB, free: 6.027 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6423, allocations: 3.984 kB / 1.15 GB, free: 6.023 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6423, allocations: 3.938 kB / 1.15 GB, free: 6.02 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 6.894e-05/0.6424, allocations: 93.09 kB / 1.15 GB, free: 5.91 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.6424, allocations: 11.92 kB / 1.15 GB, free: 5.898 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.6425, allocations: 8 kB / 1.15 GB, free: 5.891 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.6425, allocations: 8.109 kB / 1.15 GB, free: 5.883 MB / 0.8263 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003508/0.6429, allocations: 239.1 kB / 1.15 GB, free: 5.645 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003673/0.6433, allocations: 376.8 kB / 1.151 GB, free: 5.262 MB / 0.8263 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.39e-05/0.6434, allocations: 50.08 kB / 1.151 GB, free: 5.215 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 3.214e-05/0.6434, allocations: 83.28 kB / 1.151 GB, free: 5.133 MB / 0.8263 GB Notification: Performance of Backend: time 5.81e-07/0.6434, allocations: 0 / 1.151 GB, free: 5.133 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0005997/0.644, allocations: 224.8 kB / 1.151 GB, free: 4.906 MB / 0.8263 GB Notification: Performance of SimCode: time 0.0008667/0.6449, allocations: 0.9122 MB / 1.152 GB, free: 3.945 MB / 0.8263 GB Notification: Performance of Templates: time 0.005392/0.6503, allocations: 2.382 MB / 1.154 GB, free: 1.562 MB / 0.8263 GB make -j1 -f AixLib_latest_AixLib.Media.Examples.AirDerivativeCheck.makefile (rm -f AixLib_latest_AixLib.Media.Examples.AirDerivativeCheck.pipe ; mkfifo AixLib_latest_AixLib.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < AixLib_latest_AixLib.Media.Examples.AirDerivativeCheck.pipe >> ../files/AixLib_latest_AixLib.Media.Examples.AirDerivativeCheck.sim & ./AixLib_latest_AixLib.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Media.Examples.AirDerivativeCheck.pipe 2>&1)