Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.SmoothHeaviside") translateModel(AixLib.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 108.4 kB / 16.41 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.001185/0.001185, allocations: 192.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.312/1.312, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.0581/0.0581, allocations: 12.04 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.0005628/0.0005627, allocations: 27.94 kB / 356.3 MB, free: 13.96 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.939/1.939, allocations: 272.3 MB / 0.6657 GB, free: 18.44 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 115.8 kB / 0.8935 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5137/0.5161, allocations: 109.1 MB / 1 GB, free: 8.223 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothHeaviside): time 0.002155/0.5183, allocations: 1.443 MB / 1.002 GB, free: 7.094 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0005868/0.5189, allocations: 461.3 kB / 1.002 GB, free: 6.738 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.5189, allocations: 0 / 1.002 GB, free: 6.738 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.171e-05/0.5189, allocations: 3.938 kB / 1.002 GB, free: 6.734 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.229e-05/0.519, allocations: 5.312 kB / 1.002 GB, free: 6.73 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.5192, allocations: 27.05 kB / 1.002 GB, free: 6.711 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 5.711e-05/0.5193, allocations: 21.03 kB / 1.002 GB, free: 6.699 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 8.575e-05/0.5194, allocations: 19.14 kB / 1.002 GB, free: 6.684 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 5.448e-05/0.5194, allocations: 8.312 kB / 1.002 GB, free: 6.68 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 3.342e-05/0.5195, allocations: 15.42 kB / 1.002 GB, free: 6.668 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.5195, allocations: 1.344 kB / 1.002 GB, free: 6.668 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-05/0.5195, allocations: 17.73 kB / 1.002 GB, free: 6.66 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.5196, allocations: 9.656 kB / 1.002 GB, free: 6.652 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.5196, allocations: 17.03 kB / 1.002 GB, free: 6.637 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 9.198e-05/0.5197, allocations: 21.5 kB / 1.002 GB, free: 6.625 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5197, allocations: 0.6875 kB / 1.002 GB, free: 6.625 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5197, allocations: 4 kB / 1.002 GB, free: 6.621 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.5197, allocations: 0 / 1.002 GB, free: 6.621 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.0003396/0.5201, allocations: 354.5 kB / 1.002 GB, free: 6.246 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.5201, allocations: 8.094 kB / 1.002 GB, free: 6.246 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.5201, allocations: 3.219 kB / 1.002 GB, free: 6.246 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.086e-05/0.5202, allocations: 173.5 kB / 1.003 GB, free: 6.039 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.5202, allocations: 5.562 kB / 1.003 GB, free: 6.035 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.5202, allocations: 1.812 kB / 1.003 GB, free: 6.035 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.5204, allocations: 56.95 kB / 1.003 GB, free: 5.984 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.5204, allocations: 0 / 1.003 GB, free: 5.984 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.5204, allocations: 1 kB / 1.003 GB, free: 5.984 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.5204, allocations: 0 / 1.003 GB, free: 5.984 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.5206, allocations: 30.94 kB / 1.003 GB, free: 5.973 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.5208, allocations: 252.2 kB / 1.003 GB, free: 5.688 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.5209, allocations: 44.06 kB / 1.003 GB, free: 5.648 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.083e-05/0.521, allocations: 27.05 kB / 1.003 GB, free: 5.629 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 9.771e-05/0.5211, allocations: 79.36 kB / 1.003 GB, free: 5.535 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.5212, allocations: 31.69 kB / 1.003 GB, free: 5.496 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.5212, allocations: 0 / 1.003 GB, free: 5.496 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2): time 0.0003125/0.5215, allocations: 85.33 kB / 1.003 GB, free: 5.438 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.321e-05/0.5215, allocations: 52.5 kB / 1.003 GB, free: 5.375 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.805e-05/0.5216, allocations: 108 kB / 1.003 GB, free: 5.266 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.5216, allocations: 25.7 kB / 1.003 GB, free: 5.234 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.274e-05/0.5216, allocations: 85.34 kB / 1.004 GB, free: 5.148 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.5216, allocations: 9.125 kB / 1.004 GB, free: 5.141 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.5216, allocations: 12.53 kB / 1.004 GB, free: 5.125 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.5217, allocations: 320.5 kB / 1.004 GB, free: 4.805 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.29e-05/0.5218, allocations: 16.8 kB / 1.004 GB, free: 4.797 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.01e-05/0.5219, allocations: 13.7 kB / 1.004 GB, free: 4.793 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.522, allocations: 39.89 kB / 1.004 GB, free: 4.77 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.522, allocations: 3.938 kB / 1.004 GB, free: 4.766 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000171/0.5222, allocations: 73.09 kB / 1.004 GB, free: 4.711 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.5222, allocations: 4.625 kB / 1.004 GB, free: 4.711 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.5222, allocations: 4.188 kB / 1.004 GB, free: 4.707 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.5222, allocations: 5.062 kB / 1.004 GB, free: 4.703 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.217e-05/0.5223, allocations: 13.95 kB / 1.004 GB, free: 4.695 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.5223, allocations: 0 / 1.004 GB, free: 4.695 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.5224, allocations: 12.58 kB / 1.004 GB, free: 4.688 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.5224, allocations: 4.031 kB / 1.004 GB, free: 4.684 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 3.998e-05/0.5224, allocations: 112.5 kB / 1.004 GB, free: 4.566 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.5225, allocations: 1.125 kB / 1.004 GB, free: 4.566 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.5227, allocations: 71.88 kB / 1.004 GB, free: 4.512 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.5227, allocations: 0 / 1.004 GB, free: 4.512 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5227, allocations: 0 / 1.004 GB, free: 4.512 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.5227, allocations: 78.27 kB / 1.004 GB, free: 4.418 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.5227, allocations: 9.141 kB / 1.004 GB, free: 4.41 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.5228, allocations: 3.688 kB / 1.004 GB, free: 4.41 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.5228, allocations: 9.156 kB / 1.004 GB, free: 4.402 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002033/0.5231, allocations: 149.4 kB / 1.004 GB, free: 4.273 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001946/0.5233, allocations: 242.7 kB / 1.005 GB, free: 4.043 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.862e-05/0.5233, allocations: 14.33 kB / 1.005 GB, free: 4.039 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.996e-05/0.5234, allocations: 91.95 kB / 1.005 GB, free: 3.953 MB / 0.6857 GB Notification: Performance of Backend: time 3e-07/0.5234, allocations: 0 / 1.005 GB, free: 3.953 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0003912/0.5238, allocations: 100.8 kB / 1.005 GB, free: 3.875 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002893/0.5241, allocations: 0.5578 MB / 1.005 GB, free: 3.285 MB / 0.6857 GB Notification: Performance of Templates: time 0.002509/0.5266, allocations: 0.6702 MB / 1.006 GB, free: 2.941 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Examples.SmoothHeaviside.sim & ./AixLib_latest_AixLib.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)