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.001463/0.001463, allocations: 114.7 kB / 16.42 MB, free: 6.492 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.001658/0.001658, allocations: 190.5 kB / 17.35 MB, free: 5.762 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.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.0558/0.0558, allocations: 12.04 MB / 303.3 MB, free: 3.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004992/0.0004992, allocations: 27.95 kB / 356.3 MB, free: 14.01 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.879/1.879, allocations: 272.3 MB / 0.6657 GB, free: 18.37 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 119.8 kB / 0.8936 GB, free: 15.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5318, allocations: 109.1 MB / 1 GB, free: 8.129 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothBlocks): time 0.002601/0.5345, allocations: 1.761 MB / 1.002 GB, free: 6.758 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0009083/0.5354, allocations: 0.662 MB / 1.003 GB, free: 6.23 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.607e-05/0.5354, allocations: 1.156 kB / 1.003 GB, free: 6.23 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/0.5355, allocations: 11.86 kB / 1.003 GB, free: 6.219 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.742e-05/0.5356, allocations: 18.34 kB / 1.003 GB, free: 6.203 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.5361, allocations: 171.1 kB / 1.003 GB, free: 6.09 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.5363, allocations: 127.7 kB / 1.003 GB, free: 6.016 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.5364, allocations: 51.55 kB / 1.003 GB, free: 5.988 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.5366, allocations: 57.27 kB / 1.003 GB, free: 5.957 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 7.962e-05/0.5367, allocations: 51.97 kB / 1.003 GB, free: 5.918 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.5367, allocations: 14.66 kB / 1.003 GB, free: 5.914 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.5368, allocations: 43.81 kB / 1.003 GB, free: 5.898 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.299e-05/0.5369, allocations: 29.41 kB / 1.003 GB, free: 5.875 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.5369, allocations: 61.8 kB / 1.003 GB, free: 5.828 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.5371, allocations: 144.4 kB / 1.003 GB, free: 5.727 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5371, allocations: 1.094 kB / 1.003 GB, free: 5.727 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5371, allocations: 0 / 1.003 GB, free: 5.727 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.5371, allocations: 0 / 1.003 GB, free: 5.727 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.0005125/0.5376, allocations: 446 kB / 1.004 GB, free: 5.293 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.5377, allocations: 8.281 kB / 1.004 GB, free: 5.293 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008714/0.5386, allocations: 108.5 kB / 1.004 GB, free: 5.242 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.5387, allocations: 189.1 kB / 1.004 GB, free: 5.027 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.018e-05/0.5388, allocations: 62.75 kB / 1.004 GB, free: 4.961 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.5388, allocations: 9.625 kB / 1.004 GB, free: 4.957 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004811/0.5393, allocations: 172.5 kB / 1.004 GB, free: 4.848 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.5393, allocations: 0 / 1.004 GB, free: 4.848 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.5394, allocations: 5.438 kB / 1.004 GB, free: 4.844 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5394, allocations: 2.5 kB / 1.004 GB, free: 4.844 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005581/0.5399, allocations: 159.9 kB / 1.004 GB, free: 4.766 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.541, allocations: 477.3 kB / 1.005 GB, free: 4.336 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009438/0.5419, allocations: 219.9 kB / 1.005 GB, free: 4.211 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.5422, allocations: 82.75 kB / 1.005 GB, free: 4.164 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.5422, allocations: 1.125 kB / 1.005 GB, free: 4.164 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.5423, allocations: 40.59 kB / 1.005 GB, free: 4.117 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.5423, allocations: 0 / 1.005 GB, free: 4.117 MB / 0.6857 GB Notification: Performance of matching and sorting (n=6): time 0.0009101/0.5432, allocations: 263.5 kB / 1.005 GB, free: 3.969 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.5432, allocations: 52.88 kB / 1.005 GB, free: 3.906 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.5433, allocations: 145 kB / 1.006 GB, free: 3.777 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.5433, allocations: 26.92 kB / 1.006 GB, free: 3.746 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.5434, allocations: 109.9 kB / 1.006 GB, free: 3.641 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.5434, allocations: 26.12 kB / 1.006 GB, free: 3.617 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.5435, allocations: 23.45 kB / 1.006 GB, free: 3.594 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 5.064e-05/0.5435, allocations: 317.1 kB / 1.006 GB, free: 3.277 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.5438, allocations: 82.69 kB / 1.006 GB, free: 3.234 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.5441, allocations: 93.69 kB / 1.006 GB, free: 3.172 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.5446, allocations: 159 kB / 1.006 GB, free: 3.078 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5446, allocations: 1.125 kB / 1.006 GB, free: 3.078 MB / 0.6857 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006057/0.5452, allocations: 210.5 kB / 1.007 GB, free: 2.953 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.5453, allocations: 4.938 kB / 1.007 GB, free: 2.953 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5453, allocations: 1.875 kB / 1.007 GB, free: 2.953 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.5453, allocations: 3.938 kB / 1.007 GB, free: 2.949 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.5456, allocations: 42.06 kB / 1.007 GB, free: 2.93 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.5456, allocations: 1.469 kB / 1.007 GB, free: 2.93 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.5458, allocations: 28.12 kB / 1.007 GB, free: 2.914 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.5458, allocations: 3.281 kB / 1.007 GB, free: 2.914 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 6.907e-05/0.5459, allocations: 118.7 kB / 1.007 GB, free: 2.793 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.5459, allocations: 8.219 kB / 1.007 GB, free: 2.789 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006533/0.5466, allocations: 211.3 kB / 1.007 GB, free: 2.652 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5466, allocations: 5.094 kB / 1.007 GB, free: 2.648 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5466, allocations: 0 / 1.007 GB, free: 2.648 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.5466, allocations: 83.27 kB / 1.007 GB, free: 2.551 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.5467, allocations: 1.469 kB / 1.007 GB, free: 2.551 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.547, allocations: 33 kB / 1.007 GB, free: 2.535 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.547, allocations: 14.17 kB / 1.007 GB, free: 2.523 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007352/0.5477, allocations: 278.6 kB / 1.007 GB, free: 2.332 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005875/0.5483, allocations: 365 kB / 1.008 GB, free: 2.039 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002632/0.5486, allocations: 83.41 kB / 1.008 GB, free: 1.996 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 4.563e-05/0.5487, allocations: 108.1 kB / 1.008 GB, free: 1.906 MB / 0.6857 GB Notification: Performance of Backend: time 5.71e-07/0.5487, allocations: 0 / 1.008 GB, free: 1.906 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0006622/0.5493, allocations: 173.7 kB / 1.008 GB, free: 1.797 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004476/0.5498, allocations: 0.661 MB / 1.009 GB, free: 1.141 MB / 0.6857 GB Notification: Performance of Templates: time 0.004341/0.5541, allocations: 2.269 MB / 1.011 GB, free: 15.98 MB / 0.7013 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)