Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.001671/0.001671, allocations: 110.3 kB / 16.41 MB, free: 6.402 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.001975/0.001975, allocations: 190.7 kB / 17.35 MB, free: 5.695 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.312/1.312, 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.05524/0.05524, allocations: 12.04 MB / 303.3 MB, free: 3.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005646/0.0005646, allocations: 35.88 kB / 356.3 MB, free: 13.95 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.92/1.92, allocations: 272.3 MB / 0.6657 GB, free: 18.36 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 115.8 kB / 0.8936 GB, free: 14.96 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5142/0.5166, allocations: 109.2 MB / 1 GB, free: 8.176 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001517/0.5181, allocations: 0.6139 MB / 1.001 GB, free: 7.719 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.5194, allocations: 1.269 MB / 1.002 GB, free: 6.695 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/0.5195, allocations: 0 / 1.002 GB, free: 6.695 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.5195, allocations: 0 / 1.002 GB, free: 6.695 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 1.832e-05/0.5195, allocations: 5.281 kB / 1.002 GB, free: 6.691 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.5199, allocations: 75.59 kB / 1.002 GB, free: 6.641 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 5.717e-05/0.5199, allocations: 23.86 kB / 1.002 GB, free: 6.629 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.52, allocations: 0.9375 kB / 1.002 GB, free: 6.629 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 2.255e-05/0.52, allocations: 13.61 kB / 1.002 GB, free: 6.621 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 6.443e-05/0.5201, allocations: 20.09 kB / 1.002 GB, free: 6.605 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.5201, allocations: 2.062 kB / 1.002 GB, free: 6.605 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.5203, allocations: 98.8 kB / 1.002 GB, free: 6.555 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.5203, allocations: 1.188 kB / 1.002 GB, free: 6.555 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.5203, allocations: 11.38 kB / 1.002 GB, free: 6.547 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.5205, allocations: 65.62 kB / 1.002 GB, free: 6.508 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5205, allocations: 1.156 kB / 1.002 GB, free: 6.508 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5205, allocations: 0 / 1.002 GB, free: 6.508 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.5205, allocations: 0 / 1.002 GB, free: 6.508 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.0003713/0.5209, allocations: 351.3 kB / 1.003 GB, free: 6.137 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.5209, allocations: 13.38 kB / 1.003 GB, free: 6.133 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.521, allocations: 10.95 kB / 1.003 GB, free: 6.125 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.397e-05/0.521, allocations: 165.5 kB / 1.003 GB, free: 5.926 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.5211, allocations: 1.562 kB / 1.003 GB, free: 5.926 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.5211, allocations: 3.938 kB / 1.003 GB, free: 5.926 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.5212, allocations: 60.75 kB / 1.003 GB, free: 5.871 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5212, allocations: 5.188 kB / 1.003 GB, free: 5.867 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.5212, allocations: 1.062 kB / 1.003 GB, free: 5.867 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.5212, allocations: 1.156 kB / 1.003 GB, free: 5.867 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.383e-05/0.5213, allocations: 36.47 kB / 1.003 GB, free: 5.844 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.5214, allocations: 161.5 kB / 1.003 GB, free: 5.645 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.5216, allocations: 60.25 kB / 1.003 GB, free: 5.602 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.5216, allocations: 29.16 kB / 1.003 GB, free: 5.582 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/0.5219, allocations: 0.552 MB / 1.004 GB, free: 4.918 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.522, allocations: 44.81 kB / 1.004 GB, free: 4.867 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.522, allocations: 0 / 1.004 GB, free: 4.867 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.01942/0.5414, allocations: 4.291 MB / 1.008 GB, free: 2.445 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.5414, allocations: 56.84 kB / 1.008 GB, free: 2.379 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.157e-05/0.5415, allocations: 95.27 kB / 1.008 GB, free: 2.277 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.5416, allocations: 31.14 kB / 1.008 GB, free: 2.242 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 1.302e-05/0.5416, allocations: 80.14 kB / 1.008 GB, free: 2.16 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.5417, allocations: 58 kB / 1.008 GB, free: 2.109 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.542, allocations: 96.38 kB / 1.008 GB, free: 2.066 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.448e-05/0.542, allocations: 321.6 kB / 1.009 GB, free: 1.746 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.5425, allocations: 309.5 kB / 1.009 GB, free: 1.586 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00048/0.543, allocations: 321.8 kB / 1.009 GB, free: 1.418 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.5444, allocations: 0.7452 MB / 1.01 GB, free: 1.051 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5444, allocations: 0 / 1.01 GB, free: 1.051 MB / 0.6857 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001446/0.5459, allocations: 0.7943 MB / 1.011 GB, free: 0.6523 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5459, allocations: 6 kB / 1.011 GB, free: 0.6523 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.5459, allocations: 0 / 1.011 GB, free: 0.6523 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.5459, allocations: 1.625 kB / 1.011 GB, free: 0.6523 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/0.5467, allocations: 95.09 kB / 1.011 GB, free: 0.6328 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.5468, allocations: 1.5 kB / 1.011 GB, free: 0.6328 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.5473, allocations: 14.12 kB / 1.011 GB, free: 0.625 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.828e-05/0.5473, allocations: 34.8 kB / 1.011 GB, free: 0.6172 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.0001682/0.5475, allocations: 120.8 kB / 1.011 GB, free: 0.4922 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/0.5476, allocations: 4.125 kB / 1.011 GB, free: 0.4922 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/0.5505, allocations: 1.391 MB / 1.012 GB, free: 15.66 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.5505, allocations: 0 / 1.012 GB, free: 15.66 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5505, allocations: 4.844 kB / 1.012 GB, free: 15.66 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.5506, allocations: 94.33 kB / 1.012 GB, free: 15.55 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.75e-05/0.5507, allocations: 5.125 kB / 1.012 GB, free: 15.55 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/0.5512, allocations: 22.52 kB / 1.013 GB, free: 15.53 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.5513, allocations: 37.91 kB / 1.013 GB, free: 15.52 MB / 0.7013 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001753/0.5531, allocations: 0.9879 MB / 1.014 GB, free: 14.97 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002365/0.5555, allocations: 1.54 MB / 1.015 GB, free: 14.05 MB / 0.7013 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005937/0.5561, allocations: 427 kB / 1.015 GB, free: 13.82 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 3.074e-05/0.5561, allocations: 76.47 kB / 1.016 GB, free: 13.74 MB / 0.7013 GB Notification: Performance of Backend: time 7.21e-07/0.5561, allocations: 0 / 1.016 GB, free: 13.74 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.00145/0.5576, allocations: 0.5628 MB / 1.016 GB, free: 13.44 MB / 0.7013 GB Notification: Performance of SimCode: time 0.0007427/0.5583, allocations: 0.7157 MB / 1.017 GB, free: 12.78 MB / 0.7013 GB Notification: Performance of Templates: time 0.01576/0.5741, allocations: 11.45 MB / 1.028 GB, free: 3.531 MB / 0.7013 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)