Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001123/0.001123, allocations: 109.4 kB / 16.42 MB, free: 6.426 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.001183/0.001183, allocations: 190.7 kB / 17.35 MB, free: 5.688 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.08 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.06434/0.06434, 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.0006212/0.0006211, allocations: 31.94 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.667/1.667, allocations: 268.2 MB / 0.6617 GB, free: 2.605 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 111.8 kB / 0.8881 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6571/0.6596, allocations: 108.4 MB / 0.9939 GB, free: 11.89 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001698/0.6613, allocations: 0.584 MB / 0.9945 GB, free: 11.46 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.6625, allocations: 1.11 MB / 0.9955 GB, free: 10.56 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.6625, allocations: 0 / 0.9955 GB, free: 10.56 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.292e-05/0.6626, allocations: 0 / 0.9955 GB, free: 10.56 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.6628, allocations: 22.97 kB / 0.9956 GB, free: 10.55 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 3.967e-06/0.6628, allocations: 0 / 0.9956 GB, free: 10.55 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 3.876e-05/0.6629, allocations: 5.531 kB / 0.9956 GB, free: 10.54 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.6629, allocations: 5.312 kB / 0.9956 GB, free: 10.54 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.393e-05/0.6629, allocations: 1.75 kB / 0.9956 GB, free: 10.54 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 2.228e-05/0.663, allocations: 1.312 kB / 0.9956 GB, free: 10.54 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 7.024e-06/0.663, allocations: 4 kB / 0.9956 GB, free: 10.54 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.6631, allocations: 16.92 kB / 0.9956 GB, free: 10.53 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 7.835e-06/0.6631, allocations: 7.922 kB / 0.9956 GB, free: 10.52 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.6631, allocations: 9.359 kB / 0.9956 GB, free: 10.51 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 8.265e-05/0.6632, allocations: 8.781 kB / 0.9956 GB, free: 10.51 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6632, allocations: 0 / 0.9956 GB, free: 10.51 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6632, allocations: 0 / 0.9956 GB, free: 10.51 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.6632, allocations: 1.375 kB / 0.9956 GB, free: 10.51 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.0002288/0.6635, allocations: 316 kB / 0.9959 GB, free: 10.16 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.6635, allocations: 8.344 kB / 0.9959 GB, free: 10.16 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.6636, allocations: 12.94 kB / 0.996 GB, free: 10.15 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.625e-05/0.6636, allocations: 165.4 kB / 0.9961 GB, free: 9.949 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.6636, allocations: 2.031 kB / 0.9961 GB, free: 9.949 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.6637, allocations: 384 / 0.9961 GB, free: 9.949 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.559e-05/0.6638, allocations: 34.08 kB / 0.9961 GB, free: 9.914 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.6638, allocations: 5.031 kB / 0.9961 GB, free: 9.91 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.6638, allocations: 0 / 0.9961 GB, free: 9.91 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.6638, allocations: 1.125 kB / 0.9962 GB, free: 9.91 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.032e-05/0.6639, allocations: 15.11 kB / 0.9962 GB, free: 9.898 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.664, allocations: 152.8 kB / 0.9963 GB, free: 9.703 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.6642, allocations: 31.02 kB / 0.9963 GB, free: 9.676 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.135e-05/0.6642, allocations: 15.38 kB / 0.9964 GB, free: 9.66 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.6643, allocations: 84.31 kB / 0.9964 GB, free: 9.562 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.6643, allocations: 35.84 kB / 0.9965 GB, free: 9.52 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.6644, allocations: 0 / 0.9965 GB, free: 9.52 MB / 0.6857 GB Notification: Performance of matching and sorting (n=5): time 0.004176/0.6685, allocations: 0.5775 MB / 0.997 GB, free: 9.332 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.6686, allocations: 55.34 kB / 0.9971 GB, free: 9.266 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.661e-05/0.6686, allocations: 90.92 kB / 0.9972 GB, free: 9.168 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.6686, allocations: 29.64 kB / 0.9972 GB, free: 9.133 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 1.324e-05/0.6687, allocations: 80.14 kB / 0.9973 GB, free: 9.051 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.6687, allocations: 22.39 kB / 0.9973 GB, free: 9.031 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.6688, allocations: 18.09 kB / 0.9973 GB, free: 9.012 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.723e-05/0.6688, allocations: 315.9 kB / 0.9976 GB, free: 8.695 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/0.6694, allocations: 83.03 kB / 0.9977 GB, free: 8.676 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/0.67, allocations: 103.7 kB / 0.9978 GB, free: 8.629 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.6712, allocations: 191 kB / 0.998 GB, free: 8.559 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6712, allocations: 0 / 0.998 GB, free: 8.559 MB / 0.6857 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001207/0.6724, allocations: 214.7 kB / 0.9982 GB, free: 8.477 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.6725, allocations: 9.938 kB / 0.9982 GB, free: 8.473 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.6725, allocations: 3.984 kB / 0.9982 GB, free: 8.469 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.6725, allocations: 5.219 kB / 0.9982 GB, free: 8.465 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.6729, allocations: 46.56 kB / 0.9982 GB, free: 8.457 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.6729, allocations: 5.188 kB / 0.9983 GB, free: 8.453 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.6732, allocations: 34.39 kB / 0.9983 GB, free: 8.449 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.6733, allocations: 6.156 kB / 0.9983 GB, free: 8.445 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 8.412e-05/0.6734, allocations: 112.1 kB / 0.9984 GB, free: 8.328 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.6734, allocations: 9.109 kB / 0.9984 GB, free: 8.32 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.6748, allocations: 235.2 kB / 0.9986 GB, free: 8.215 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.6748, allocations: 256 / 0.9986 GB, free: 8.215 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6748, allocations: 4 kB / 0.9986 GB, free: 8.211 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.6748, allocations: 82.7 kB / 0.9987 GB, free: 8.113 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.6749, allocations: 5.219 kB / 0.9987 GB, free: 8.109 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.6752, allocations: 46.72 kB / 0.9988 GB, free: 8.094 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.6752, allocations: 1.594 kB / 0.9988 GB, free: 8.094 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001519/0.6768, allocations: 319.4 kB / 0.9991 GB, free: 7.934 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00124/0.678, allocations: 380 kB / 0.9994 GB, free: 7.676 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005568/0.6786, allocations: 93.53 kB / 0.9995 GB, free: 7.648 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.414e-05/0.6786, allocations: 75.28 kB / 0.9996 GB, free: 7.574 MB / 0.6857 GB Notification: Performance of Backend: time 6.61e-07/0.6786, allocations: 0 / 0.9996 GB, free: 7.574 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.6796, allocations: 184.5 kB / 0.9998 GB, free: 7.473 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002934/0.6799, allocations: 0.5411 MB / 1 GB, free: 6.895 MB / 0.6857 GB Notification: Performance of Templates: time 0.004105/0.6841, allocations: 1.367 MB / 1.002 GB, free: 6.152 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)