Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(AixLib.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 110.8 kB / 16.42 MB, free: 6.496 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.001181/0.001181, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.05789/0.05789, allocations: 12.04 MB / 303.3 MB, free: 3.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004949/0.0004949, allocations: 27.95 kB / 356.3 MB, free: 13.96 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.927/1.927, allocations: 272.3 MB / 0.6657 GB, free: 18.39 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004099/0.004099, allocations: 115.8 kB / 0.8936 GB, free: 14.98 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5776/0.5817, allocations: 109.1 MB / 1 GB, free: 8.039 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001532/0.5833, allocations: 0.5753 MB / 1.001 GB, free: 7.613 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.5846, allocations: 1.242 MB / 1.002 GB, free: 6.609 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.091e-05/0.5846, allocations: 2 kB / 1.002 GB, free: 6.609 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.219e-05/0.5847, allocations: 3.938 kB / 1.002 GB, free: 6.605 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.141e-06/0.5847, allocations: 0 / 1.002 GB, free: 6.605 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.585, allocations: 61.91 kB / 1.002 GB, free: 6.566 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 4.135e-05/0.5851, allocations: 1.344 kB / 1.002 GB, free: 6.566 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.5851, allocations: 1.406 kB / 1.002 GB, free: 6.566 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.313e-05/0.5851, allocations: 1.469 kB / 1.002 GB, free: 6.566 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.5852, allocations: 5.469 kB / 1.002 GB, free: 6.562 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.5852, allocations: 0 / 1.002 GB, free: 6.562 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.5854, allocations: 100.9 kB / 1.002 GB, free: 6.508 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.5854, allocations: 0 / 1.002 GB, free: 6.508 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 1.482e-05/0.5855, allocations: 1.125 kB / 1.002 GB, free: 6.508 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.5856, allocations: 45.75 kB / 1.002 GB, free: 6.484 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5856, allocations: 1.031 kB / 1.002 GB, free: 6.484 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5856, allocations: 3.938 kB / 1.002 GB, free: 6.48 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.5856, allocations: 0 / 1.002 GB, free: 6.48 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002283/0.5858, allocations: 325.3 kB / 1.002 GB, free: 6.125 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.5859, allocations: 13.09 kB / 1.003 GB, free: 6.121 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.5859, allocations: 4.938 kB / 1.003 GB, free: 6.117 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.205e-05/0.586, allocations: 164.4 kB / 1.003 GB, free: 5.918 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.586, allocations: 1.406 kB / 1.003 GB, free: 5.918 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.586, allocations: 1.469 kB / 1.003 GB, free: 5.918 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.371e-05/0.5861, allocations: 35.06 kB / 1.003 GB, free: 5.879 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5861, allocations: 0.9688 kB / 1.003 GB, free: 5.879 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.5861, allocations: 0 / 1.003 GB, free: 5.879 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.5861, allocations: 0 / 1.003 GB, free: 5.879 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.704e-05/0.5862, allocations: 10.25 kB / 1.003 GB, free: 5.871 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.5863, allocations: 142.5 kB / 1.003 GB, free: 5.684 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 3.061e-05/0.5863, allocations: 20.64 kB / 1.003 GB, free: 5.656 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.5863, allocations: 5.984 kB / 1.003 GB, free: 5.648 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003887/0.5867, allocations: 0.559 MB / 1.003 GB, free: 4.98 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.5867, allocations: 39.62 kB / 1.003 GB, free: 4.934 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.5867, allocations: 0 / 1.003 GB, free: 4.934 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.000119/0.5869, allocations: 42.08 kB / 1.003 GB, free: 4.891 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.579e-05/0.5869, allocations: 52.44 kB / 1.004 GB, free: 4.828 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.592e-05/0.5869, allocations: 89.86 kB / 1.004 GB, free: 4.73 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.5869, allocations: 29.69 kB / 1.004 GB, free: 4.695 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 1.119e-05/0.5869, allocations: 81.36 kB / 1.004 GB, free: 4.613 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.587, allocations: 3.953 kB / 1.004 GB, free: 4.609 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.587, allocations: 16.03 kB / 1.004 GB, free: 4.59 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.587, allocations: 316 kB / 1.004 GB, free: 4.273 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.5871, allocations: 1 kB / 1.004 GB, free: 4.273 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-06/0.5871, allocations: 1.25 kB / 1.004 GB, free: 4.273 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.242e-05/0.5871, allocations: 7.047 kB / 1.004 GB, free: 4.266 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5871, allocations: 1.094 kB / 1.004 GB, free: 4.266 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.213e-05/0.5872, allocations: 38.31 kB / 1.004 GB, free: 4.227 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.5872, allocations: 10.22 kB / 1.004 GB, free: 4.223 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5872, allocations: 3.938 kB / 1.004 GB, free: 4.219 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.5872, allocations: 0 / 1.004 GB, free: 4.219 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.074e-05/0.5872, allocations: 2.656 kB / 1.004 GB, free: 4.219 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5873, allocations: 0 / 1.004 GB, free: 4.219 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.111e-05/0.5873, allocations: 0 / 1.004 GB, free: 4.219 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.5873, allocations: 1.25 kB / 1.004 GB, free: 4.219 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 (1): * Single equations (assignments): 1 * 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 4.439e-05/0.5873, allocations: 111.7 kB / 1.004 GB, free: 4.102 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-06/0.5873, allocations: 0 / 1.004 GB, free: 4.102 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.605e-05/0.5874, allocations: 50.44 kB / 1.004 GB, free: 4.051 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5874, allocations: 5.25 kB / 1.004 GB, free: 4.047 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.5875, allocations: 0 / 1.004 GB, free: 4.047 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.5875, allocations: 77.11 kB / 1.004 GB, free: 3.953 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.5875, allocations: 1.25 kB / 1.004 GB, free: 3.953 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-06/0.5875, allocations: 4 kB / 1.004 GB, free: 3.949 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.5875, allocations: 1.281 kB / 1.004 GB, free: 3.949 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.394e-05/0.5876, allocations: 118.3 kB / 1.004 GB, free: 3.832 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 6.682e-05/0.5877, allocations: 203.5 kB / 1.005 GB, free: 3.621 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.648e-05/0.5877, allocations: 10.23 kB / 1.005 GB, free: 3.613 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.223e-05/0.5877, allocations: 79.27 kB / 1.005 GB, free: 3.535 MB / 0.6857 GB Notification: Performance of Backend: time 1.71e-07/0.5877, allocations: 0 / 1.005 GB, free: 3.535 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.5881, allocations: 114.8 kB / 1.005 GB, free: 3.449 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0001962/0.5883, allocations: 0.5219 MB / 1.005 GB, free: 2.883 MB / 0.6857 GB Notification: Performance of Templates: time 0.002396/0.5907, allocations: 0.4951 MB / 1.006 GB, free: 2.617 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)