Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.SmoothBlocks") translateModel(AixLib.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.001599/0.001599, allocations: 107.8 kB / 16.41 MB, free: 6.457 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.00187/0.00187, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.09 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.05878/0.05878, allocations: 12.04 MB / 303.3 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.0005533/0.0005532, allocations: 23.95 kB / 356.3 MB, free: 13.98 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.084/2.084, allocations: 272.3 MB / 0.6657 GB, free: 18.36 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 107.8 kB / 0.8936 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.709/0.7112, allocations: 109.1 MB / 1 GB, free: 8.32 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothBlocks): time 0.002885/0.7141, allocations: 1.776 MB / 1.002 GB, free: 6.934 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.7153, allocations: 0.6502 MB / 1.003 GB, free: 6.418 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.7153, allocations: 6.375 kB / 1.003 GB, free: 6.414 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 3.746e-05/0.7154, allocations: 11.86 kB / 1.003 GB, free: 6.402 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.374e-05/0.7155, allocations: 17.08 kB / 1.003 GB, free: 6.387 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.716, allocations: 174.6 kB / 1.003 GB, free: 6.27 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.7162, allocations: 124.2 kB / 1.003 GB, free: 6.199 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.7164, allocations: 51.56 kB / 1.003 GB, free: 6.172 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.7165, allocations: 61.14 kB / 1.003 GB, free: 6.137 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 8.724e-05/0.7166, allocations: 44.94 kB / 1.003 GB, free: 6.105 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.7167, allocations: 10.31 kB / 1.003 GB, free: 6.105 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.7168, allocations: 51.38 kB / 1.003 GB, free: 6.082 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.7168, allocations: 25.89 kB / 1.003 GB, free: 6.062 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 5.831e-05/0.7169, allocations: 61.33 kB / 1.003 GB, free: 6.016 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.7171, allocations: 148.5 kB / 1.003 GB, free: 5.91 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7171, allocations: 0.9688 kB / 1.003 GB, free: 5.91 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7171, allocations: 0 / 1.003 GB, free: 5.91 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.7171, allocations: 0 / 1.003 GB, free: 5.91 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.0005908/0.7177, allocations: 441.8 kB / 1.004 GB, free: 5.48 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.7178, allocations: 13.08 kB / 1.004 GB, free: 5.477 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008751/0.7187, allocations: 107.8 kB / 1.004 GB, free: 5.426 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.7188, allocations: 182.8 kB / 1.004 GB, free: 5.215 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-05/0.7189, allocations: 62.52 kB / 1.004 GB, free: 5.148 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.7189, allocations: 14.08 kB / 1.004 GB, free: 5.141 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.7194, allocations: 166.6 kB / 1.004 GB, free: 5.035 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.7195, allocations: 0 / 1.004 GB, free: 5.035 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.7195, allocations: 5.25 kB / 1.004 GB, free: 5.031 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.7195, allocations: 14.14 kB / 1.004 GB, free: 5.02 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006005/0.7201, allocations: 152.9 kB / 1.004 GB, free: 4.949 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.7212, allocations: 484.3 kB / 1.005 GB, free: 4.512 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.7222, allocations: 215.9 kB / 1.005 GB, free: 4.391 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.7225, allocations: 83.84 kB / 1.005 GB, free: 4.344 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.7225, allocations: 1.062 kB / 1.005 GB, free: 4.344 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.7226, allocations: 43.56 kB / 1.005 GB, free: 4.293 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.7226, allocations: 0 / 1.005 GB, free: 4.293 MB / 0.6857 GB Notification: Performance of matching and sorting (n=6): time 0.001051/0.7236, allocations: 263.9 kB / 1.005 GB, free: 4.145 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.7237, allocations: 52.53 kB / 1.005 GB, free: 4.082 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.7238, allocations: 143.8 kB / 1.006 GB, free: 3.957 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.7238, allocations: 27.05 kB / 1.006 GB, free: 3.926 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.7239, allocations: 113.2 kB / 1.006 GB, free: 3.816 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.7239, allocations: 18.53 kB / 1.006 GB, free: 3.801 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.724, allocations: 23.92 kB / 1.006 GB, free: 3.777 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 5.782e-05/0.724, allocations: 321.6 kB / 1.006 GB, free: 3.457 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.7243, allocations: 73.48 kB / 1.006 GB, free: 3.422 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.7246, allocations: 97.14 kB / 1.006 GB, free: 3.355 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005756/0.7252, allocations: 164.2 kB / 1.006 GB, free: 3.258 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7252, allocations: 0 / 1.006 GB, free: 3.258 MB / 0.6857 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006509/0.7259, allocations: 206.2 kB / 1.007 GB, free: 3.137 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.7259, allocations: 9.562 kB / 1.007 GB, free: 3.133 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7259, allocations: 1.531 kB / 1.007 GB, free: 3.133 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.7259, allocations: 5.781 kB / 1.007 GB, free: 3.129 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.7262, allocations: 37.02 kB / 1.007 GB, free: 3.113 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.7262, allocations: 5.312 kB / 1.007 GB, free: 3.109 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.7264, allocations: 25.16 kB / 1.007 GB, free: 3.098 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.7265, allocations: 6.578 kB / 1.007 GB, free: 3.094 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 9.884e-05/0.7266, allocations: 118.8 kB / 1.007 GB, free: 2.973 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.7266, allocations: 7.656 kB / 1.007 GB, free: 2.969 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007019/0.7273, allocations: 207.5 kB / 1.007 GB, free: 2.836 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.7273, allocations: 3.938 kB / 1.007 GB, free: 2.832 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7273, allocations: 1.312 kB / 1.007 GB, free: 2.832 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.7274, allocations: 84.23 kB / 1.007 GB, free: 2.734 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.7274, allocations: 0 / 1.007 GB, free: 2.734 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.7277, allocations: 36.98 kB / 1.007 GB, free: 2.715 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.7278, allocations: 6.422 kB / 1.007 GB, free: 2.711 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007744/0.7285, allocations: 286.4 kB / 1.007 GB, free: 2.512 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006424/0.7292, allocations: 361.5 kB / 1.008 GB, free: 2.223 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00029/0.7295, allocations: 78.23 kB / 1.008 GB, free: 2.184 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 5.924e-05/0.7296, allocations: 112.4 kB / 1.008 GB, free: 2.09 MB / 0.6857 GB Notification: Performance of Backend: time 6.11e-07/0.7296, allocations: 0 / 1.008 GB, free: 2.09 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0007674/0.7303, allocations: 181.1 kB / 1.008 GB, free: 1.977 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0006097/0.731, allocations: 0.6515 MB / 1.009 GB, free: 1.328 MB / 0.6857 GB Notification: Performance of Templates: time 0.005069/0.736, allocations: 2.279 MB / 1.011 GB, free: 172 kB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Examples.SmoothBlocks.sim & ./AixLib_latest_AixLib.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)