Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothExponential") translateModel(AixLib.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001896/0.001896, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.626/1.626, 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.05915/0.05915, allocations: 12.04 MB / 303.3 MB, free: 3.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004794/0.0004794, 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.577/1.577, allocations: 268.3 MB / 0.6617 GB, free: 2.613 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 115.8 kB / 0.888 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5425/0.5447, allocations: 108.4 MB / 0.9938 GB, free: 11.89 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothExponential): time 0.002487/0.5472, allocations: 1.435 MB / 0.9952 GB, free: 10.77 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0004089/0.5476, allocations: 190.9 kB / 0.9954 GB, free: 10.62 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.5477, allocations: 0 / 0.9954 GB, free: 10.62 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.5477, allocations: 9.234 kB / 0.9954 GB, free: 10.61 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.601e-05/0.5478, allocations: 7.922 kB / 0.9954 GB, free: 10.6 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.5481, allocations: 34.22 kB / 0.9955 GB, free: 10.58 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.828e-05/0.5481, allocations: 24.98 kB / 0.9955 GB, free: 10.57 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.5483, allocations: 7.531 kB / 0.9955 GB, free: 10.56 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 4.651e-05/0.5483, allocations: 15.2 kB / 0.9955 GB, free: 10.55 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 4.064e-05/0.5484, allocations: 10.67 kB / 0.9955 GB, free: 10.54 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.5484, allocations: 1.719 kB / 0.9955 GB, free: 10.54 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 9.432e-05/0.5485, allocations: 36.81 kB / 0.9956 GB, free: 10.52 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.5485, allocations: 9.328 kB / 0.9956 GB, free: 10.52 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.5485, allocations: 10.06 kB / 0.9956 GB, free: 10.51 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.5486, allocations: 38.22 kB / 0.9956 GB, free: 10.48 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5486, allocations: 1.125 kB / 0.9956 GB, free: 10.48 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5487, allocations: 0 / 0.9956 GB, free: 10.48 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.5487, allocations: 0 / 0.9956 GB, free: 10.48 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.0003668/0.549, allocations: 346.9 kB / 0.9959 GB, free: 10.11 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.5491, allocations: 8.844 kB / 0.996 GB, free: 10.11 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.5491, allocations: 2 kB / 0.996 GB, free: 10.11 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.979e-05/0.5492, allocations: 182.8 kB / 0.9961 GB, free: 9.895 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.5492, allocations: 384 / 0.9961 GB, free: 9.895 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.5492, allocations: 2 kB / 0.9961 GB, free: 9.895 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.5494, allocations: 49.61 kB / 0.9962 GB, free: 9.852 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.5494, allocations: 192 / 0.9962 GB, free: 9.852 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.5494, allocations: 4.906 kB / 0.9962 GB, free: 9.848 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5494, allocations: 0 / 0.9962 GB, free: 9.848 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.5496, allocations: 35.38 kB / 0.9962 GB, free: 9.832 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.5499, allocations: 253.6 kB / 0.9965 GB, free: 9.543 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.55, allocations: 38.69 kB / 0.9965 GB, free: 9.508 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.119e-05/0.5501, allocations: 19.69 kB / 0.9965 GB, free: 9.496 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/0.5501, allocations: 87.16 kB / 0.9966 GB, free: 9.395 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.146e-05/0.5502, allocations: 35.66 kB / 0.9966 GB, free: 9.352 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.5502, allocations: 3.984 kB / 0.9966 GB, free: 9.348 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2): time 0.0003317/0.5505, allocations: 81.52 kB / 0.9967 GB, free: 9.293 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.457e-05/0.5505, allocations: 59.34 kB / 0.9968 GB, free: 9.223 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.155e-05/0.5506, allocations: 95.83 kB / 0.9969 GB, free: 9.125 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.5506, allocations: 34.81 kB / 0.9969 GB, free: 9.086 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/0.5506, allocations: 85.11 kB / 0.997 GB, free: 9 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.5506, allocations: 7.953 kB / 0.997 GB, free: 8.996 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.5507, allocations: 16.5 kB / 0.997 GB, free: 8.977 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.5507, allocations: 312 kB / 0.9973 GB, free: 8.664 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.084e-05/0.5508, allocations: 17.25 kB / 0.9973 GB, free: 8.656 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.5509, allocations: 17.23 kB / 0.9973 GB, free: 8.648 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.551, allocations: 40.23 kB / 0.9974 GB, free: 8.625 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.551, allocations: 3.938 kB / 0.9974 GB, free: 8.621 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000184/0.5512, allocations: 72.72 kB / 0.9974 GB, free: 8.566 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.5513, allocations: 4.625 kB / 0.9974 GB, free: 8.566 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5513, allocations: 1.156 kB / 0.9974 GB, free: 8.566 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.5513, allocations: 0 / 0.9974 GB, free: 8.566 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.171e-05/0.5514, allocations: 13.92 kB / 0.9975 GB, free: 8.559 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.5514, allocations: 1.094 kB / 0.9975 GB, free: 8.559 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.5515, allocations: 11.31 kB / 0.9975 GB, free: 8.551 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.5515, allocations: 1.156 kB / 0.9975 GB, free: 8.551 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 5.008e-05/0.5515, allocations: 111 kB / 0.9976 GB, free: 8.434 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.5516, allocations: 6.188 kB / 0.9976 GB, free: 8.43 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.5518, allocations: 74.62 kB / 0.9977 GB, free: 8.371 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5518, allocations: 3.938 kB / 0.9977 GB, free: 8.367 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5518, allocations: 0.9688 kB / 0.9977 GB, free: 8.367 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.5518, allocations: 78.17 kB / 0.9977 GB, free: 8.273 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.5518, allocations: 1.125 kB / 0.9977 GB, free: 8.273 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.5519, allocations: 7.422 kB / 0.9977 GB, free: 8.27 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.552, allocations: 1.344 kB / 0.9977 GB, free: 8.27 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002314/0.5522, allocations: 157.1 kB / 0.9979 GB, free: 8.133 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002052/0.5524, allocations: 234.8 kB / 0.9981 GB, free: 7.91 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.338e-05/0.5525, allocations: 19.05 kB / 0.9981 GB, free: 7.902 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.444e-05/0.5525, allocations: 90.75 kB / 0.9982 GB, free: 7.816 MB / 0.6857 GB Notification: Performance of Backend: time 2.1e-07/0.5525, allocations: 1.031 kB / 0.9982 GB, free: 7.816 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004488/0.553, allocations: 98.75 kB / 0.9983 GB, free: 7.742 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003285/0.5533, allocations: 0.5543 MB / 0.9989 GB, free: 7.156 MB / 0.6857 GB Notification: Performance of Templates: time 0.002761/0.5561, allocations: 0.6881 MB / 0.9995 GB, free: 6.801 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Examples.SmoothExponential.makefile (rm -f AixLib_AixLib.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.SmoothExponential.sim & ./AixLib_AixLib.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)