Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.SmoothLimit") translateModel(AixLib.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.001122/0.001122, allocations: 107.7 kB / 16.41 MB, free: 6.504 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.00117/0.00117, allocations: 188.3 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.344/1.344, allocations: 222.9 MB / 241 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.05985/0.05985, 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.0005254/0.0005253, allocations: 19.97 kB / 356.3 MB, free: 13.97 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 2.002/2.002, allocations: 272.3 MB / 0.6657 GB, free: 18.4 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 115.8 kB / 0.8935 GB, free: 15.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5916/0.5938, allocations: 109.1 MB / 1 GB, free: 8.434 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothLimit): time 0.002199/0.596, allocations: 1.453 MB / 1.002 GB, free: 7.301 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0007934/0.5968, allocations: 0.568 MB / 1.002 GB, free: 6.848 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/0.5969, allocations: 5.062 kB / 1.002 GB, free: 6.844 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.5969, allocations: 0 / 1.002 GB, free: 6.844 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.597, allocations: 4.625 kB / 1.002 GB, free: 6.84 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.5973, allocations: 52.06 kB / 1.002 GB, free: 6.805 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.135e-05/0.5974, allocations: 30.14 kB / 1.002 GB, free: 6.785 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.5975, allocations: 8.531 kB / 1.002 GB, free: 6.781 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 8.905e-05/0.5976, allocations: 17.08 kB / 1.002 GB, free: 6.77 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.5976, allocations: 12.36 kB / 1.002 GB, free: 6.762 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.5976, allocations: 2 kB / 1.002 GB, free: 6.762 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.5978, allocations: 58.23 kB / 1.002 GB, free: 6.73 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.5978, allocations: 5.062 kB / 1.002 GB, free: 6.727 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.5978, allocations: 19.16 kB / 1.002 GB, free: 6.711 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.598, allocations: 65.22 kB / 1.002 GB, free: 6.672 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.598, allocations: 0 / 1.002 GB, free: 6.672 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.074e-06/0.598, allocations: 4 kB / 1.002 GB, free: 6.668 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.598, allocations: 1.125 kB / 1.002 GB, free: 6.668 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.0004063/0.5984, allocations: 348.7 kB / 1.003 GB, free: 6.293 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.5985, allocations: 9.188 kB / 1.003 GB, free: 6.293 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.5985, allocations: 2.125 kB / 1.003 GB, free: 6.293 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.446e-05/0.5986, allocations: 170.8 kB / 1.003 GB, free: 6.09 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.5986, allocations: 1.625 kB / 1.003 GB, free: 6.09 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.5986, allocations: 5.5 kB / 1.003 GB, free: 6.086 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.5988, allocations: 53.44 kB / 1.003 GB, free: 6.035 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.5988, allocations: 0 / 1.003 GB, free: 6.035 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.5988, allocations: 1.031 kB / 1.003 GB, free: 6.035 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.5988, allocations: 0 / 1.003 GB, free: 6.035 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.596e-05/0.5989, allocations: 19.55 kB / 1.003 GB, free: 6.027 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.5992, allocations: 255.2 kB / 1.003 GB, free: 5.738 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 8.057e-05/0.5993, allocations: 36.25 kB / 1.003 GB, free: 5.703 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.608e-05/0.5994, allocations: 21.31 kB / 1.003 GB, free: 5.688 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007441/0.6001, allocations: 472.1 kB / 1.004 GB, free: 5.184 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.6001, allocations: 31.69 kB / 1.004 GB, free: 5.145 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.6001, allocations: 4 kB / 1.004 GB, free: 5.141 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2): time 0.0002236/0.6004, allocations: 62.48 kB / 1.004 GB, free: 5.094 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.652e-05/0.6004, allocations: 52.56 kB / 1.004 GB, free: 5.031 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/0.6005, allocations: 107.2 kB / 1.004 GB, free: 4.926 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.6005, allocations: 26.83 kB / 1.004 GB, free: 4.895 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.6005, allocations: 85.36 kB / 1.004 GB, free: 4.809 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.6005, allocations: 8.906 kB / 1.004 GB, free: 4.801 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.6006, allocations: 20.23 kB / 1.004 GB, free: 4.777 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.693e-05/0.6006, allocations: 316 kB / 1.004 GB, free: 4.461 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.159e-05/0.6007, allocations: 9.5 kB / 1.004 GB, free: 4.457 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/0.6007, allocations: 13.98 kB / 1.004 GB, free: 4.449 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.299e-05/0.6008, allocations: 25.69 kB / 1.004 GB, free: 4.434 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6008, allocations: 3.938 kB / 1.004 GB, free: 4.43 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001071/0.6009, allocations: 58.78 kB / 1.004 GB, free: 4.383 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.6009, allocations: 4.594 kB / 1.004 GB, free: 4.383 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.6009, allocations: 1.438 kB / 1.005 GB, free: 4.383 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.601, allocations: 0 / 1.005 GB, free: 4.383 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.093e-05/0.601, allocations: 8.484 kB / 1.005 GB, free: 4.379 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.601, allocations: 1.125 kB / 1.005 GB, free: 4.379 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.6011, allocations: 5.25 kB / 1.005 GB, free: 4.375 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.6011, allocations: 5.078 kB / 1.005 GB, free: 4.371 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.105e-05/0.6011, allocations: 124.8 kB / 1.005 GB, free: 4.242 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.6012, allocations: 1.031 kB / 1.005 GB, free: 4.242 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.6013, allocations: 65.52 kB / 1.005 GB, free: 4.184 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6013, allocations: 1.125 kB / 1.005 GB, free: 4.184 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.6013, allocations: 3.938 kB / 1.005 GB, free: 4.18 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.6014, allocations: 86.06 kB / 1.005 GB, free: 4.078 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.6014, allocations: 1.156 kB / 1.005 GB, free: 4.078 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.995e-05/0.6014, allocations: 1.188 kB / 1.005 GB, free: 4.078 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.6015, allocations: 9.094 kB / 1.005 GB, free: 4.07 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001204/0.6016, allocations: 133.3 kB / 1.005 GB, free: 3.949 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001243/0.6017, allocations: 224.8 kB / 1.005 GB, free: 3.73 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.42e-05/0.6018, allocations: 10.34 kB / 1.005 GB, free: 3.727 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.679e-05/0.6018, allocations: 94.16 kB / 1.005 GB, free: 3.641 MB / 0.6857 GB Notification: Performance of Backend: time 2.01e-07/0.6018, allocations: 0 / 1.005 GB, free: 3.641 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.6022, allocations: 105.9 kB / 1.005 GB, free: 3.562 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002621/0.6025, allocations: 0.5683 MB / 1.006 GB, free: 2.969 MB / 0.6857 GB Notification: Performance of Templates: time 0.002772/0.6053, allocations: 0.785 MB / 1.007 GB, free: 2.555 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Examples.SmoothLimit.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Examples.SmoothLimit.sim & ./AixLib_latest_AixLib.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)