Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001737, allocations: 115.8 kB / 16.42 MB, free: 6.441 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.001968/0.001968, allocations: 189.6 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.17 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.05582/0.05582, allocations: 12.04 MB / 303.2 MB, free: 3.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000532/0.0005319, allocations: 43.88 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 1.946/1.946, allocations: 272.3 MB / 0.6657 GB, free: 18.42 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 123.8 kB / 0.8936 GB, free: 15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5504/0.5525, allocations: 109.1 MB / 1 GB, free: 8.246 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001375/0.5539, allocations: 0.5827 MB / 1.001 GB, free: 7.816 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.000973/0.5549, allocations: 1.109 MB / 1.002 GB, free: 6.918 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.5549, allocations: 4 kB / 1.002 GB, free: 6.914 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.555, allocations: 0 / 1.002 GB, free: 6.914 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.5552, allocations: 23.3 kB / 1.002 GB, free: 6.898 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 3.056e-06/0.5552, allocations: 0 / 1.002 GB, free: 6.898 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 3.535e-05/0.5552, allocations: 6.484 kB / 1.002 GB, free: 6.895 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.5553, allocations: 1.219 kB / 1.002 GB, free: 6.895 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.186e-05/0.5553, allocations: 1.312 kB / 1.002 GB, free: 6.895 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 2.108e-05/0.5553, allocations: 5.281 kB / 1.002 GB, free: 6.891 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 6.252e-06/0.5553, allocations: 0 / 1.002 GB, free: 6.891 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 9.494e-05/0.5554, allocations: 19.39 kB / 1.002 GB, free: 6.879 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 5.981e-06/0.5554, allocations: 9.391 kB / 1.002 GB, free: 6.871 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 1.232e-05/0.5555, allocations: 7.922 kB / 1.002 GB, free: 6.863 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 6.527e-05/0.5555, allocations: 9.219 kB / 1.002 GB, free: 6.859 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5555, allocations: 5.109 kB / 1.002 GB, free: 6.855 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5555, allocations: 0 / 1.002 GB, free: 6.855 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.237e-06/0.5555, allocations: 0 / 1.002 GB, free: 6.855 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.0001884/0.5557, allocations: 316.2 kB / 1.002 GB, free: 6.504 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.5558, allocations: 13.72 kB / 1.002 GB, free: 6.5 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.5558, allocations: 0.9375 kB / 1.002 GB, free: 6.5 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.15e-05/0.5559, allocations: 173.2 kB / 1.002 GB, free: 6.297 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.5559, allocations: 9.5 kB / 1.002 GB, free: 6.289 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.5559, allocations: 1.875 kB / 1.002 GB, free: 6.289 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.679e-05/0.556, allocations: 36.83 kB / 1.002 GB, free: 6.25 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.556, allocations: 5.812 kB / 1.002 GB, free: 6.246 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.556, allocations: 3.938 kB / 1.002 GB, free: 6.242 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.556, allocations: 3.984 kB / 1.002 GB, free: 6.238 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.119e-05/0.5561, allocations: 7.562 kB / 1.002 GB, free: 6.234 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.147e-05/0.5562, allocations: 153.9 kB / 1.003 GB, free: 6.039 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.5563, allocations: 33.17 kB / 1.003 GB, free: 6.008 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.5564, allocations: 13.03 kB / 1.003 GB, free: 5.996 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.5565, allocations: 80.05 kB / 1.003 GB, free: 5.902 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.123e-05/0.5565, allocations: 35.47 kB / 1.003 GB, free: 5.859 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5565, allocations: 0 / 1.003 GB, free: 5.859 MB / 0.6857 GB Notification: Performance of matching and sorting (n=5): time 0.00443/0.5609, allocations: 0.5686 MB / 1.003 GB, free: 5.68 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.52e-05/0.561, allocations: 52.5 kB / 1.003 GB, free: 5.617 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.406e-05/0.561, allocations: 89.86 kB / 1.003 GB, free: 5.52 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.561, allocations: 25.7 kB / 1.003 GB, free: 5.488 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 8.516e-06/0.561, allocations: 85.11 kB / 1.004 GB, free: 5.402 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.5611, allocations: 21.02 kB / 1.004 GB, free: 5.387 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.5611, allocations: 22.53 kB / 1.004 GB, free: 5.363 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.497e-05/0.5612, allocations: 310.8 kB / 1.004 GB, free: 5.051 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.5618, allocations: 91.28 kB / 1.004 GB, free: 5.023 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/0.5624, allocations: 99.53 kB / 1.004 GB, free: 4.98 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.5636, allocations: 191 kB / 1.004 GB, free: 4.91 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5636, allocations: 1.156 kB / 1.004 GB, free: 4.91 MB / 0.6857 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00127/0.5649, allocations: 209.8 kB / 1.004 GB, free: 4.832 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5649, allocations: 17.2 kB / 1.004 GB, free: 4.82 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5649, allocations: 1.281 kB / 1.004 GB, free: 4.82 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.5649, allocations: 1.031 kB / 1.004 GB, free: 4.82 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.5654, allocations: 49.75 kB / 1.005 GB, free: 4.809 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.5654, allocations: 1.156 kB / 1.005 GB, free: 4.809 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.5657, allocations: 42.48 kB / 1.005 GB, free: 4.797 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.5658, allocations: 3.312 kB / 1.005 GB, free: 4.797 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.25e-05/0.5658, allocations: 111.1 kB / 1.005 GB, free: 4.68 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.5658, allocations: 9.078 kB / 1.005 GB, free: 4.672 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.5672, allocations: 239.3 kB / 1.005 GB, free: 4.562 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5672, allocations: 0 / 1.005 GB, free: 4.562 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5672, allocations: 0 / 1.005 GB, free: 4.562 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.557e-05/0.5673, allocations: 78.59 kB / 1.005 GB, free: 4.469 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.5673, allocations: 9.312 kB / 1.005 GB, free: 4.461 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.5676, allocations: 47.09 kB / 1.005 GB, free: 4.445 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.5677, allocations: 5.094 kB / 1.005 GB, free: 4.441 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001557/0.5692, allocations: 323.8 kB / 1.005 GB, free: 4.277 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001199/0.5704, allocations: 381.1 kB / 1.006 GB, free: 4.02 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005772/0.571, allocations: 92.19 kB / 1.006 GB, free: 3.992 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.161e-05/0.5711, allocations: 76.94 kB / 1.006 GB, free: 3.918 MB / 0.6857 GB Notification: Performance of Backend: time 2.81e-07/0.5711, allocations: 0 / 1.006 GB, free: 3.918 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0009779/0.572, allocations: 176 kB / 1.006 GB, free: 3.824 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002552/0.5723, allocations: 0.5475 MB / 1.007 GB, free: 3.238 MB / 0.6857 GB Notification: Performance of Templates: time 0.00351/0.5758, allocations: 1.365 MB / 1.008 GB, free: 2.488 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)