Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001143, allocations: 111.4 kB / 16.42 MB, free: 6.508 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.001187/0.001187, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.382/1.382, 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.05647/0.05647, allocations: 12.05 MB / 303.3 MB, free: 3.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005566/0.0005567, allocations: 31.94 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.638/1.638, allocations: 268.2 MB / 0.6617 GB, free: 2.609 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 111.8 kB / 0.8881 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7063/0.7084, allocations: 108.4 MB / 0.9939 GB, free: 1.094 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001934/0.7104, allocations: 0.5995 MB / 0.9945 GB, free: 0.5 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0004512/0.7108, allocations: 155.5 kB / 0.9946 GB, free: 356 kB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.7109, allocations: 4 kB / 0.9946 GB, free: 352 kB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.7109, allocations: 3.938 kB / 0.9946 GB, free: 348 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 2.636e-05/0.7109, allocations: 3.938 kB / 0.9946 GB, free: 344 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.7113, allocations: 39.89 kB / 0.9947 GB, free: 304 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 6.311e-05/0.7113, allocations: 19.94 kB / 0.9947 GB, free: 284 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 5.242e-05/0.7114, allocations: 7.984 kB / 0.9947 GB, free: 276 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 2.132e-05/0.7114, allocations: 3.984 kB / 0.9947 GB, free: 272 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.7115, allocations: 7.938 kB / 0.9947 GB, free: 264 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.7115, allocations: 0 / 0.9947 GB, free: 264 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 9.434e-05/0.7116, allocations: 35.95 kB / 0.9947 GB, free: 228 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.7117, allocations: 8 kB / 0.9947 GB, free: 220 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.7117, allocations: 7.922 kB / 0.9948 GB, free: 212 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.7118, allocations: 23.2 kB / 0.9948 GB, free: 192 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.7118, allocations: 4 kB / 0.9948 GB, free: 188 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7118, allocations: 0 / 0.9948 GB, free: 188 kB / 0.67 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.7118, allocations: 4 kB / 0.9948 GB, free: 184 kB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005187/0.7124, allocations: 336.6 kB / 0.9951 GB, free: 15.8 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.7124, allocations: 8.031 kB / 0.9951 GB, free: 15.8 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.7125, allocations: 8.891 kB / 0.9951 GB, free: 15.79 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.7126, allocations: 160.4 kB / 0.9953 GB, free: 15.59 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.7126, allocations: 384 / 0.9953 GB, free: 15.59 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.7126, allocations: 8.359 kB / 0.9953 GB, free: 15.59 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.7128, allocations: 42.25 kB / 0.9953 GB, free: 15.54 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.7128, allocations: 4.188 kB / 0.9953 GB, free: 15.54 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.7128, allocations: 11.81 kB / 0.9953 GB, free: 15.52 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.7128, allocations: 0 / 0.9953 GB, free: 15.52 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.364e-05/0.7129, allocations: 15.98 kB / 0.9954 GB, free: 15.51 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.7131, allocations: 161.7 kB / 0.9955 GB, free: 15.3 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 9.775e-05/0.7132, allocations: 42.56 kB / 0.9956 GB, free: 15.25 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.7133, allocations: 24.97 kB / 0.9956 GB, free: 15.22 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.7134, allocations: 85.11 kB / 0.9957 GB, free: 15.12 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.7134, allocations: 34.5 kB / 0.9957 GB, free: 15.08 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.7134, allocations: 0 / 0.9957 GB, free: 15.08 MB / 0.6857 GB Notification: Performance of matching and sorting (n=7): time 0.001317/0.7148, allocations: 488.4 kB / 0.9962 GB, free: 14.53 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.7148, allocations: 63.33 kB / 0.9962 GB, free: 14.45 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.652e-05/0.7149, allocations: 93.86 kB / 0.9963 GB, free: 14.35 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.7149, allocations: 25.83 kB / 0.9963 GB, free: 14.32 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.7149, allocations: 84.14 kB / 0.9964 GB, free: 14.23 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.715, allocations: 27.75 kB / 0.9964 GB, free: 14.21 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.715, allocations: 21.7 kB / 0.9965 GB, free: 14.18 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.7151, allocations: 314.8 kB / 0.9968 GB, free: 13.86 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.143e-05/0.7152, allocations: 15.98 kB / 0.9968 GB, free: 13.85 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.256e-05/0.7152, allocations: 11.98 kB / 0.9968 GB, free: 13.84 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.369e-05/0.7153, allocations: 36.8 kB / 0.9968 GB, free: 13.8 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.7153, allocations: 0 / 0.9968 GB, free: 13.8 MB / 0.6857 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001067/0.7154, allocations: 77.67 kB / 0.9969 GB, free: 13.71 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.7154, allocations: 10.12 kB / 0.9969 GB, free: 13.71 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7154, allocations: 0 / 0.9969 GB, free: 13.71 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.7154, allocations: 0 / 0.9969 GB, free: 13.71 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.9e-05/0.7155, allocations: 12 kB / 0.9969 GB, free: 13.7 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.381e-06/0.7155, allocations: 0 / 0.9969 GB, free: 13.7 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.7156, allocations: 4 kB / 0.9969 GB, free: 13.69 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.7156, allocations: 0 / 0.9969 GB, free: 13.69 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.503e-05/0.7157, allocations: 121.8 kB / 0.997 GB, free: 13.56 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.7157, allocations: 7.938 kB / 0.997 GB, free: 13.55 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.7158, allocations: 89.89 kB / 0.9971 GB, free: 13.46 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.7159, allocations: 0 / 0.9971 GB, free: 13.46 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.7159, allocations: 0 / 0.9971 GB, free: 13.46 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.7159, allocations: 81.05 kB / 0.9972 GB, free: 13.36 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.7159, allocations: 0 / 0.9972 GB, free: 13.36 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.622e-05/0.716, allocations: 4 kB / 0.9972 GB, free: 13.36 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.716, allocations: 3.984 kB / 0.9972 GB, free: 13.35 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001869/0.7162, allocations: 160.9 kB / 0.9974 GB, free: 13.19 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002464/0.7165, allocations: 266.7 kB / 0.9976 GB, free: 12.91 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.096e-05/0.7165, allocations: 24.02 kB / 0.9976 GB, free: 12.89 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 3.01e-05/0.7165, allocations: 75.28 kB / 0.9977 GB, free: 12.81 MB / 0.6857 GB Notification: Performance of Backend: time 5.21e-07/0.7165, allocations: 0 / 0.9977 GB, free: 12.81 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004826/0.717, allocations: 138.4 kB / 0.9978 GB, free: 12.67 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0005288/0.7176, allocations: 0.5649 MB / 0.9984 GB, free: 12.06 MB / 0.6857 GB Notification: Performance of Templates: time 0.003895/0.7215, allocations: 0.9714 MB / 0.9993 GB, free: 11.12 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)