Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.SmoothLimit.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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothLimit") translateModel(AixLib.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 116.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.001632/0.001632, 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.401/1.401, allocations: 222.9 MB / 241.1 MB, free: 15.18 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.07132/0.07132, allocations: 12.05 MB / 303.3 MB, free: 3.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005272/0.0005273, allocations: 31.94 kB / 356.3 MB, free: 14 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.522/1.522, allocations: 268.2 MB / 0.6617 GB, free: 2.621 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 115.8 kB / 0.888 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5176/0.52, allocations: 108.3 MB / 0.9938 GB, free: 11.86 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothLimit): time 0.00211/0.5221, allocations: 1.461 MB / 0.9953 GB, free: 10.72 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0007506/0.5229, allocations: 0.5647 MB / 0.9958 GB, free: 10.27 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.523, allocations: 1.25 kB / 0.9958 GB, free: 10.27 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.47e-05/0.523, allocations: 0 / 0.9958 GB, free: 10.27 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 3.859e-05/0.523, allocations: 3.938 kB / 0.9958 GB, free: 10.27 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.5233, allocations: 48.23 kB / 0.9959 GB, free: 10.23 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 6.31e-05/0.5234, allocations: 34.23 kB / 0.9959 GB, free: 10.21 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 8.46e-05/0.5235, allocations: 16.06 kB / 0.9959 GB, free: 10.2 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 8.413e-05/0.5236, allocations: 8.906 kB / 0.9959 GB, free: 10.2 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.5236, allocations: 12.17 kB / 0.9959 GB, free: 10.19 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.5236, allocations: 2.312 kB / 0.9959 GB, free: 10.19 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.5238, allocations: 54.77 kB / 0.996 GB, free: 10.16 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.5238, allocations: 13.27 kB / 0.996 GB, free: 10.15 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.5238, allocations: 10.16 kB / 0.996 GB, free: 10.14 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.5239, allocations: 66 kB / 0.9961 GB, free: 10.1 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5239, allocations: 5.219 kB / 0.9961 GB, free: 10.1 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.674e-06/0.5239, allocations: 0 / 0.9961 GB, free: 10.1 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.524, allocations: 0 / 0.9961 GB, free: 10.1 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000342/0.5243, allocations: 349.9 kB / 0.9964 GB, free: 9.723 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.5244, allocations: 8.031 kB / 0.9964 GB, free: 9.723 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.5244, allocations: 3.438 kB / 0.9964 GB, free: 9.723 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.901e-05/0.5245, allocations: 177.1 kB / 0.9966 GB, free: 9.516 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.5245, allocations: 5.406 kB / 0.9966 GB, free: 9.512 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.5245, allocations: 1.438 kB / 0.9966 GB, free: 9.512 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.5246, allocations: 50.47 kB / 0.9966 GB, free: 9.465 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.5246, allocations: 0 / 0.9966 GB, free: 9.465 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.5247, allocations: 0 / 0.9966 GB, free: 9.465 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.5247, allocations: 1 kB / 0.9966 GB, free: 9.465 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.18e-05/0.5248, allocations: 18.83 kB / 0.9967 GB, free: 9.457 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.525, allocations: 255.4 kB / 0.9969 GB, free: 9.168 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 7.089e-05/0.5251, allocations: 35.77 kB / 0.9969 GB, free: 9.133 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.431e-05/0.5251, allocations: 15.69 kB / 0.997 GB, free: 9.121 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006815/0.5258, allocations: 480.5 kB / 0.9974 GB, free: 8.609 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.5259, allocations: 35.75 kB / 0.9974 GB, free: 8.566 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.5259, allocations: 0 / 0.9974 GB, free: 8.566 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2): time 0.0002196/0.5261, allocations: 63.14 kB / 0.9975 GB, free: 8.52 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.387e-05/0.5261, allocations: 55.34 kB / 0.9976 GB, free: 8.453 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.6e-05/0.5262, allocations: 108.4 kB / 0.9977 GB, free: 8.348 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.5262, allocations: 25.7 kB / 0.9977 GB, free: 8.316 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.335e-05/0.5262, allocations: 85.3 kB / 0.9978 GB, free: 8.23 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.5262, allocations: 13.09 kB / 0.9978 GB, free: 8.219 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.5263, allocations: 12.31 kB / 0.9978 GB, free: 8.203 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.5263, allocations: 320.2 kB / 0.9981 GB, free: 7.883 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/0.5264, allocations: 6.562 kB / 0.9981 GB, free: 7.883 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.5264, allocations: 13.11 kB / 0.9981 GB, free: 7.875 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.254e-05/0.5265, allocations: 25.84 kB / 0.9981 GB, free: 7.859 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5265, allocations: 8 kB / 0.9982 GB, free: 7.852 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001078/0.5266, allocations: 58.75 kB / 0.9982 GB, free: 7.805 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.5266, allocations: 4.5 kB / 0.9982 GB, free: 7.805 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.5266, allocations: 4 kB / 0.9982 GB, free: 7.801 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.5266, allocations: 1.25 kB / 0.9982 GB, free: 7.801 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.68e-05/0.5267, allocations: 8.016 kB / 0.9982 GB, free: 7.797 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.5267, allocations: 1.406 kB / 0.9982 GB, free: 7.797 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.5268, allocations: 5.5 kB / 0.9982 GB, free: 7.793 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.5268, allocations: 0 / 0.9982 GB, free: 7.793 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 (2): * Single equations (assignments): 2 * 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 4.271e-05/0.5268, allocations: 120.7 kB / 0.9983 GB, free: 7.668 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.5269, allocations: 1.5 kB / 0.9983 GB, free: 7.668 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.527, allocations: 58.11 kB / 0.9984 GB, free: 7.617 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.527, allocations: 3.938 kB / 0.9984 GB, free: 7.613 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.527, allocations: 0 / 0.9984 GB, free: 7.613 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.527, allocations: 82.14 kB / 0.9985 GB, free: 7.516 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.5271, allocations: 9.172 kB / 0.9985 GB, free: 7.508 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.096e-05/0.5271, allocations: 5.094 kB / 0.9985 GB, free: 7.504 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.5272, allocations: 9.375 kB / 0.9985 GB, free: 7.496 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001265/0.5273, allocations: 133.5 kB / 0.9986 GB, free: 7.375 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001258/0.5274, allocations: 220.4 kB / 0.9988 GB, free: 7.16 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.595e-05/0.5275, allocations: 14.98 kB / 0.9989 GB, free: 7.152 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 3.323e-05/0.5275, allocations: 93.08 kB / 0.9989 GB, free: 7.066 MB / 0.6857 GB Notification: Performance of Backend: time 4.81e-07/0.5275, allocations: 0 / 0.9989 GB, free: 7.066 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.000392/0.5279, allocations: 102 kB / 0.999 GB, free: 6.996 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002524/0.5282, allocations: 0.5664 MB / 0.9996 GB, free: 6.406 MB / 0.6857 GB Notification: Performance of Templates: time 0.002656/0.5309, allocations: 0.7856 MB / 1 GB, free: 5.992 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Examples.SmoothLimit.makefile (rm -f AixLib_AixLib.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.SmoothLimit.sim & ./AixLib_AixLib.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)