Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothMin") translateModel(AixLib.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 112.8 kB / 16.42 MB, free: 6.008 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.001121/0.001121, allocations: 187 kB / 17.35 MB, free: 5.625 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.345/1.345, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.05831/0.05831, allocations: 12.03 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.0004998/0.0005, allocations: 31.19 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.715/1.715, allocations: 268.2 MB / 0.6617 GB, free: 2.582 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 116.1 kB / 0.888 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5386/0.5408, allocations: 108.4 MB / 0.9938 GB, free: 11.91 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothMin): time 0.002758/0.5436, allocations: 1.456 MB / 0.9953 GB, free: 10.77 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0004434/0.5441, allocations: 148 kB / 0.9954 GB, free: 10.65 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.5442, allocations: 4 kB / 0.9954 GB, free: 10.64 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 4.586e-05/0.5442, allocations: 3.938 kB / 0.9954 GB, free: 10.64 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.335e-05/0.5443, allocations: 5.281 kB / 0.9954 GB, free: 10.64 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.5446, allocations: 33.42 kB / 0.9955 GB, free: 10.61 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.5447, allocations: 43.78 kB / 0.9955 GB, free: 10.59 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.5448, allocations: 23.3 kB / 0.9955 GB, free: 10.57 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 5.343e-05/0.5449, allocations: 14.94 kB / 0.9955 GB, free: 10.57 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.5449, allocations: 25.06 kB / 0.9956 GB, free: 10.55 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.545, allocations: 4.469 kB / 0.9956 GB, free: 10.55 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.5451, allocations: 33.16 kB / 0.9956 GB, free: 10.53 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.5451, allocations: 9.234 kB / 0.9956 GB, free: 10.52 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.5451, allocations: 16.78 kB / 0.9956 GB, free: 10.51 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.5453, allocations: 72.02 kB / 0.9957 GB, free: 10.46 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5453, allocations: 0 / 0.9957 GB, free: 10.46 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5453, allocations: 4 kB / 0.9957 GB, free: 10.46 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.5453, allocations: 1.125 kB / 0.9957 GB, free: 10.46 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004293/0.5458, allocations: 355 kB / 0.996 GB, free: 10.09 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.5458, allocations: 8.062 kB / 0.996 GB, free: 10.09 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.547, allocations: 222.4 kB / 0.9963 GB, free: 9.973 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.819e-05/0.5471, allocations: 166.8 kB / 0.9964 GB, free: 9.773 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.5471, allocations: 1.625 kB / 0.9964 GB, free: 9.773 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.5471, allocations: 6.812 kB / 0.9964 GB, free: 9.77 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/0.5477, allocations: 191.1 kB / 0.9966 GB, free: 9.652 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5477, allocations: 1.219 kB / 0.9966 GB, free: 9.652 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.5477, allocations: 11.92 kB / 0.9966 GB, free: 9.641 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.5477, allocations: 1.125 kB / 0.9966 GB, free: 9.641 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008056/0.5485, allocations: 275.4 kB / 0.9969 GB, free: 9.508 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008392/0.5494, allocations: 456.5 kB / 0.9973 GB, free: 9.098 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.5505, allocations: 284.6 kB / 0.9976 GB, free: 8.941 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.5509, allocations: 101.1 kB / 0.9977 GB, free: 8.887 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.5509, allocations: 0.9688 kB / 0.9977 GB, free: 8.887 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.5509, allocations: 39.62 kB / 0.9977 GB, free: 8.84 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.944e-06/0.5509, allocations: 0 / 0.9977 GB, free: 8.84 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.00116/0.5521, allocations: 310.6 kB / 0.998 GB, free: 8.668 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.81e-05/0.5521, allocations: 55.39 kB / 0.9981 GB, free: 8.602 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/0.5522, allocations: 117.2 kB / 0.9982 GB, free: 8.492 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.5522, allocations: 26.8 kB / 0.9982 GB, free: 8.461 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.5523, allocations: 86.58 kB / 0.9983 GB, free: 8.375 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.5523, allocations: 17.08 kB / 0.9983 GB, free: 8.359 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.5523, allocations: 17.44 kB / 0.9983 GB, free: 8.34 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.5524, allocations: 316.3 kB / 0.9986 GB, free: 8.023 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/0.5527, allocations: 104.3 kB / 0.9987 GB, free: 7.969 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.5531, allocations: 91.03 kB / 0.9988 GB, free: 7.926 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/0.5538, allocations: 172.4 kB / 0.999 GB, free: 7.836 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5538, allocations: 0 / 0.999 GB, free: 7.836 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007593/0.5546, allocations: 216.7 kB / 0.9992 GB, free: 7.711 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.5546, allocations: 3.656 kB / 0.9992 GB, free: 7.711 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5546, allocations: 1.594 kB / 0.9992 GB, free: 7.711 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5546, allocations: 0 / 0.9992 GB, free: 7.711 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.5549, allocations: 39.06 kB / 0.9992 GB, free: 7.691 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.5549, allocations: 0 / 0.9992 GB, free: 7.691 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.5551, allocations: 31.06 kB / 0.9993 GB, free: 7.676 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.5551, allocations: 5.531 kB / 0.9993 GB, free: 7.672 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 (3): * Single equations (assignments): 3 * 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 6.584e-05/0.5552, allocations: 122 kB / 0.9994 GB, free: 7.547 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.5552, allocations: 1.562 kB / 0.9994 GB, free: 7.547 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.5553, allocations: 11.8 kB / 0.9994 GB, free: 7.531 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5553, allocations: 0 / 0.9994 GB, free: 7.531 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5553, allocations: 0 / 0.9994 GB, free: 7.531 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/0.5553, allocations: 86.48 kB / 0.9995 GB, free: 7.43 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.5553, allocations: 5.422 kB / 0.9995 GB, free: 7.426 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.5556, allocations: 37.52 kB / 0.9995 GB, free: 7.402 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.5556, allocations: 1.719 kB / 0.9995 GB, free: 7.402 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009204/0.5565, allocations: 324.1 kB / 0.9998 GB, free: 7.184 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007722/0.5573, allocations: 377.4 kB / 1 GB, free: 6.891 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003485/0.5577, allocations: 100.6 kB / 1 GB, free: 6.84 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.5577, allocations: 97.67 kB / 1 GB, free: 6.754 MB / 0.6857 GB Notification: Performance of Backend: time 4.51e-07/0.5577, allocations: 3.938 kB / 1 GB, free: 6.75 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0007512/0.5585, allocations: 185.7 kB / 1.001 GB, free: 6.633 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003541/0.5589, allocations: 0.5827 MB / 1.001 GB, free: 6.031 MB / 0.6857 GB Notification: Performance of Templates: time 0.004896/0.5638, allocations: 1.679 MB / 1.003 GB, free: 5.18 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Examples.SmoothMin.makefile (rm -f AixLib_AixLib.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.SmoothMin.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.SmoothMin.sim & ./AixLib_AixLib.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.SmoothMin.pipe 2>&1)