Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks") translateModel(AixLib.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 107.9 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.001144/0.001144, 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.351/1.351, 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.05942/0.05942, allocations: 12.04 MB / 303.3 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004709/0.0004709, allocations: 27.94 kB / 356.3 MB, free: 13.98 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.524/1.524, allocations: 268.2 MB / 0.6617 GB, free: 2.582 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 115.8 kB / 0.888 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.5508, allocations: 108.4 MB / 0.9939 GB, free: 12.12 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothBlocks): time 0.002532/0.5534, allocations: 1.764 MB / 0.9956 GB, free: 10.75 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.5544, allocations: 0.6588 MB / 0.9962 GB, free: 10.22 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.509e-05/0.5545, allocations: 5.312 kB / 0.9962 GB, free: 10.22 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 4.406e-05/0.5546, allocations: 7.875 kB / 0.9962 GB, free: 10.21 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.857e-05/0.5546, allocations: 21.39 kB / 0.9962 GB, free: 10.19 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.5552, allocations: 171.3 kB / 0.9964 GB, free: 10.08 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.5553, allocations: 120.2 kB / 0.9965 GB, free: 10.01 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.5555, allocations: 58.23 kB / 0.9966 GB, free: 9.977 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.5556, allocations: 56.97 kB / 0.9966 GB, free: 9.945 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 9.104e-05/0.5557, allocations: 48.33 kB / 0.9967 GB, free: 9.91 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.5558, allocations: 11.16 kB / 0.9967 GB, free: 9.91 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.5559, allocations: 51.8 kB / 0.9967 GB, free: 9.887 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.5559, allocations: 30.12 kB / 0.9968 GB, free: 9.863 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.556, allocations: 52.19 kB / 0.9968 GB, free: 9.824 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.5562, allocations: 144.7 kB / 0.997 GB, free: 9.723 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5562, allocations: 1.062 kB / 0.997 GB, free: 9.723 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5562, allocations: 0 / 0.997 GB, free: 9.723 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.5562, allocations: 0 / 0.997 GB, free: 9.723 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005263/0.5568, allocations: 446.8 kB / 0.9974 GB, free: 9.285 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5568, allocations: 13.75 kB / 0.9974 GB, free: 9.281 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000844/0.5577, allocations: 107 kB / 0.9975 GB, free: 9.23 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.573e-05/0.5578, allocations: 193.2 kB / 0.9977 GB, free: 9.012 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.65e-05/0.5579, allocations: 62.36 kB / 0.9977 GB, free: 8.945 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.5579, allocations: 14.62 kB / 0.9978 GB, free: 8.938 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/0.5584, allocations: 167.5 kB / 0.9979 GB, free: 8.832 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5584, allocations: 0 / 0.9979 GB, free: 8.832 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.5585, allocations: 5.469 kB / 0.9979 GB, free: 8.828 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.5585, allocations: 2.781 kB / 0.9979 GB, free: 8.828 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006165/0.5591, allocations: 160.2 kB / 0.9981 GB, free: 8.75 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009928/0.5601, allocations: 484.1 kB / 0.9985 GB, free: 8.312 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.5611, allocations: 219.5 kB / 0.9988 GB, free: 8.188 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.5614, allocations: 79.34 kB / 0.9988 GB, free: 8.145 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.5614, allocations: 5.391 kB / 0.9988 GB, free: 8.141 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/0.5615, allocations: 32.72 kB / 0.9989 GB, free: 8.102 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.5615, allocations: 0 / 0.9989 GB, free: 8.102 MB / 0.6857 GB Notification: Performance of matching and sorting (n=6): time 0.001014/0.5625, allocations: 271.5 kB / 0.9991 GB, free: 7.945 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.63e-05/0.5625, allocations: 52.53 kB / 0.9992 GB, free: 7.883 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.5626, allocations: 147.1 kB / 0.9993 GB, free: 7.754 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.5627, allocations: 31.11 kB / 0.9993 GB, free: 7.719 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.5627, allocations: 109.5 kB / 0.9994 GB, free: 7.613 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.5627, allocations: 14.34 kB / 0.9995 GB, free: 7.602 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.5628, allocations: 27.7 kB / 0.9995 GB, free: 7.574 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.427e-05/0.5628, allocations: 321.3 kB / 0.9998 GB, free: 7.254 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.5631, allocations: 69.48 kB / 0.9999 GB, free: 7.223 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.5635, allocations: 97.89 kB / 1 GB, free: 7.156 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005718/0.564, allocations: 164.2 kB / 1 GB, free: 7.059 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.564, allocations: 0 / 1 GB, free: 7.059 MB / 0.6857 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006579/0.5647, allocations: 202.6 kB / 1 GB, free: 6.941 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5647, allocations: 6.281 kB / 1 GB, free: 6.941 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5647, allocations: 0 / 1 GB, free: 6.941 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.5648, allocations: 9.875 kB / 1 GB, free: 6.934 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.565, allocations: 38.58 kB / 1 GB, free: 6.918 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.565, allocations: 1.531 kB / 1 GB, free: 6.918 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.5652, allocations: 27.25 kB / 1 GB, free: 6.902 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.5653, allocations: 11.61 kB / 1 GB, free: 6.895 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 (8): * Single equations (assignments): 8 * 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 7.244e-05/0.5653, allocations: 118.8 kB / 1.001 GB, free: 6.773 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.5654, allocations: 7.219 kB / 1.001 GB, free: 6.77 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006999/0.5661, allocations: 203.1 kB / 1.001 GB, free: 6.641 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5661, allocations: 4.969 kB / 1.001 GB, free: 6.637 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5661, allocations: 0 / 1.001 GB, free: 6.637 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.5661, allocations: 87.2 kB / 1.001 GB, free: 6.535 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.5662, allocations: 5.062 kB / 1.001 GB, free: 6.531 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.5665, allocations: 32.5 kB / 1.001 GB, free: 6.516 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.5666, allocations: 3.5 kB / 1.001 GB, free: 6.516 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008053/0.5674, allocations: 285.7 kB / 1.001 GB, free: 6.316 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006582/0.568, allocations: 365.7 kB / 1.001 GB, free: 6.023 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002941/0.5683, allocations: 74.23 kB / 1.002 GB, free: 5.988 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 4.478e-05/0.5684, allocations: 115.7 kB / 1.002 GB, free: 5.891 MB / 0.6857 GB Notification: Performance of Backend: time 4.01e-07/0.5684, allocations: 0 / 1.002 GB, free: 5.891 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0007053/0.5691, allocations: 178.6 kB / 1.002 GB, free: 5.777 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004789/0.5696, allocations: 0.6565 MB / 1.002 GB, free: 5.125 MB / 0.6857 GB Notification: Performance of Templates: time 0.004653/0.5743, allocations: 2.279 MB / 1.005 GB, free: 3.965 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.sim & ./AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)