Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 110.2 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.001138/0.001138, allocations: 185.5 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.342/1.342, allocations: 222.9 MB / 241 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.06066/0.06066, allocations: 12.05 MB / 303.3 MB, free: 3.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004901/0.0004901, allocations: 31.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.549/1.549, allocations: 268.2 MB / 0.6617 GB, free: 2.637 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 111.8 kB / 0.8881 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6206/0.6227, allocations: 108.4 MB / 0.9939 GB, free: 1.133 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001596/0.6244, allocations: 0.6057 MB / 0.9945 GB, free: 0.5312 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.6259, allocations: 1.275 MB / 0.9957 GB, free: 15.24 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.626, allocations: 0 / 0.9957 GB, free: 15.24 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.626, allocations: 3.938 kB / 0.9957 GB, free: 15.23 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 1.829e-05/0.626, allocations: 0 / 0.9957 GB, free: 15.23 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.6264, allocations: 71.73 kB / 0.9958 GB, free: 15.16 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 5.765e-05/0.6265, allocations: 23.98 kB / 0.9958 GB, free: 15.14 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.6265, allocations: 11.92 kB / 0.9958 GB, free: 15.13 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 2.184e-05/0.6265, allocations: 7.984 kB / 0.9958 GB, free: 15.12 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.6266, allocations: 15.92 kB / 0.9959 GB, free: 15.11 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.6266, allocations: 0 / 0.9959 GB, free: 15.11 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.6268, allocations: 95.89 kB / 0.9959 GB, free: 15.01 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.6269, allocations: 4 kB / 0.9959 GB, free: 15.01 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.6269, allocations: 11.92 kB / 0.996 GB, free: 15 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.627, allocations: 71.84 kB / 0.996 GB, free: 14.93 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6271, allocations: 0 / 0.996 GB, free: 14.93 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6271, allocations: 0 / 0.996 GB, free: 14.93 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6271, allocations: 7.938 kB / 0.996 GB, free: 14.92 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004679/0.6275, allocations: 352.6 kB / 0.9964 GB, free: 14.53 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.6276, allocations: 8.031 kB / 0.9964 GB, free: 14.52 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.6276, allocations: 4.938 kB / 0.9964 GB, free: 14.52 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.6278, allocations: 164.3 kB / 0.9965 GB, free: 14.32 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.6278, allocations: 8.375 kB / 0.9965 GB, free: 14.31 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.6278, allocations: 4.375 kB / 0.9966 GB, free: 14.31 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.628, allocations: 61.98 kB / 0.9966 GB, free: 14.24 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.628, allocations: 0 / 0.9966 GB, free: 14.24 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.628, allocations: 0 / 0.9966 GB, free: 14.24 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.628, allocations: 4 kB / 0.9966 GB, free: 14.24 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.378e-05/0.6281, allocations: 19.98 kB / 0.9966 GB, free: 14.22 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.6283, allocations: 169.5 kB / 0.9968 GB, free: 14 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.6284, allocations: 66.48 kB / 0.9969 GB, free: 13.93 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.6285, allocations: 20.86 kB / 0.9969 GB, free: 13.91 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005147/0.629, allocations: 0.5622 MB / 0.9974 GB, free: 13.21 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.629, allocations: 38.48 kB / 0.9975 GB, free: 13.17 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.629, allocations: 0 / 0.9975 GB, free: 13.17 MB / 0.6857 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.02058/0.6496, allocations: 4.301 MB / 1.002 GB, free: 8.727 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.6497, allocations: 51.41 kB / 1.002 GB, free: 8.664 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.599e-05/0.6498, allocations: 93.86 kB / 1.002 GB, free: 8.562 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 7.943e-05/0.6499, allocations: 25.7 kB / 1.002 GB, free: 8.531 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.6499, allocations: 84.14 kB / 1.002 GB, free: 8.445 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.65, allocations: 55.19 kB / 1.002 GB, free: 8.391 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.6503, allocations: 97.7 kB / 1.002 GB, free: 8.289 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.6504, allocations: 326.8 kB / 1.002 GB, free: 7.961 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/0.6509, allocations: 311.8 kB / 1.003 GB, free: 7.656 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.6515, allocations: 307.9 kB / 1.003 GB, free: 7.355 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.653, allocations: 0.7567 MB / 1.004 GB, free: 6.598 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.653, allocations: 0 / 1.004 GB, free: 6.598 MB / 0.6857 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001573/0.6546, allocations: 0.7941 MB / 1.004 GB, free: 5.797 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.6546, allocations: 5.875 kB / 1.004 GB, free: 5.793 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6546, allocations: 0 / 1.004 GB, free: 5.793 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.6546, allocations: 4 kB / 1.004 GB, free: 5.789 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008803/0.6555, allocations: 95.88 kB / 1.005 GB, free: 5.695 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.6555, allocations: 4 kB / 1.005 GB, free: 5.691 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005463/0.6561, allocations: 8 kB / 1.005 GB, free: 5.684 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.067e-05/0.6562, allocations: 31.98 kB / 1.005 GB, free: 5.652 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 (18): * Single equations (assignments): 18 * 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 0.0002244/0.6564, allocations: 121.8 kB / 1.005 GB, free: 5.523 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.675e-05/0.6565, allocations: 4 kB / 1.005 GB, free: 5.52 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/0.6597, allocations: 1.392 MB / 1.006 GB, free: 4.117 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.6597, allocations: 4 kB / 1.006 GB, free: 4.113 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6597, allocations: 0 / 1.006 GB, free: 4.113 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.6598, allocations: 100.8 kB / 1.006 GB, free: 3.996 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-05/0.6599, allocations: 4 kB / 1.006 GB, free: 3.992 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005104/0.6604, allocations: 15.94 kB / 1.006 GB, free: 3.977 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.6605, allocations: 39.97 kB / 1.006 GB, free: 3.938 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001817/0.6624, allocations: 0.9858 MB / 1.007 GB, free: 2.945 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002479/0.6648, allocations: 1.541 MB / 1.009 GB, free: 1.387 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005813/0.6654, allocations: 432.5 kB / 1.009 GB, free: 0.9648 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 3.956e-05/0.6655, allocations: 79.28 kB / 1.009 GB, free: 0.8867 MB / 0.6857 GB Notification: Performance of Backend: time 4.51e-07/0.6655, allocations: 0 / 1.009 GB, free: 0.8867 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.667, allocations: 0.5489 MB / 1.01 GB, free: 340 kB / 0.6857 GB Notification: Performance of SimCode: time 0.0007918/0.6678, allocations: 0.7145 MB / 1.01 GB, free: 15.57 MB / 0.7013 GB Notification: Performance of Templates: time 0.01686/0.6847, allocations: 11.45 MB / 1.022 GB, free: 4.215 MB / 0.7013 GB make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)