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.001517/0.001517, allocations: 113.5 kB / 16.42 MB, free: 6.02 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.001674/0.001674, allocations: 187.1 kB / 17.35 MB, free: 5.633 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.17 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.05755/0.05755, allocations: 12.04 MB / 303.2 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.0005629/0.0005629, allocations: 31.89 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 1.916/1.916, allocations: 272.3 MB / 0.6657 GB, free: 18.28 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 115.8 kB / 0.8936 GB, free: 15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5255/0.5276, allocations: 109.1 MB / 1 GB, free: 8.211 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001486/0.5291, allocations: 0.5824 MB / 1.001 GB, free: 7.777 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.5303, allocations: 1.246 MB / 1.002 GB, free: 6.77 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.5304, allocations: 0 / 1.002 GB, free: 6.77 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.5304, allocations: 0 / 1.002 GB, free: 6.77 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-06/0.5304, allocations: 5.531 kB / 1.002 GB, free: 6.766 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.5307, allocations: 61.59 kB / 1.002 GB, free: 6.727 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 3.913e-05/0.5308, allocations: 2.906 kB / 1.002 GB, free: 6.727 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.5308, allocations: 0 / 1.002 GB, free: 6.727 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.318e-05/0.5308, allocations: 1.469 kB / 1.002 GB, free: 6.727 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 3.697e-05/0.5309, allocations: 1.406 kB / 1.002 GB, free: 6.727 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.5309, allocations: 0 / 1.002 GB, free: 6.727 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.5311, allocations: 97.52 kB / 1.002 GB, free: 6.676 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.5311, allocations: 0 / 1.002 GB, free: 6.676 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 1.439e-05/0.5311, allocations: 0.9375 kB / 1.002 GB, free: 6.676 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.5313, allocations: 53.88 kB / 1.002 GB, free: 6.645 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5313, allocations: 0.9375 kB / 1.002 GB, free: 6.645 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5313, allocations: 0 / 1.002 GB, free: 6.645 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.5313, allocations: 0 / 1.002 GB, free: 6.645 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.000224/0.5315, allocations: 325.5 kB / 1.002 GB, free: 6.285 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.5316, allocations: 9.562 kB / 1.002 GB, free: 6.285 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.5316, allocations: 0.9375 kB / 1.002 GB, free: 6.285 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.538e-05/0.5316, allocations: 164.4 kB / 1.003 GB, free: 6.086 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.5317, allocations: 1.938 kB / 1.003 GB, free: 6.086 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.5317, allocations: 4.375 kB / 1.003 GB, free: 6.082 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.921e-05/0.5318, allocations: 40.41 kB / 1.003 GB, free: 6.039 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5318, allocations: 3.938 kB / 1.003 GB, free: 6.035 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.5318, allocations: 0 / 1.003 GB, free: 6.035 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.5318, allocations: 0 / 1.003 GB, free: 6.035 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.026e-05/0.5318, allocations: 6.297 kB / 1.003 GB, free: 6.031 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.263e-05/0.5319, allocations: 146.7 kB / 1.003 GB, free: 5.84 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 2.694e-05/0.532, allocations: 16.67 kB / 1.003 GB, free: 5.816 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.332e-05/0.532, allocations: 9.953 kB / 1.003 GB, free: 5.805 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000389/0.5324, allocations: 0.5623 MB / 1.003 GB, free: 5.133 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.5324, allocations: 43.56 kB / 1.003 GB, free: 5.082 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 1.873e-06/0.5324, allocations: 0 / 1.003 GB, free: 5.082 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.0001136/0.5325, allocations: 34.73 kB / 1.003 GB, free: 5.047 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.364e-05/0.5325, allocations: 56.75 kB / 1.004 GB, free: 4.98 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.596e-05/0.5326, allocations: 89.86 kB / 1.004 GB, free: 4.883 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.5326, allocations: 25.7 kB / 1.004 GB, free: 4.852 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 8.947e-06/0.5326, allocations: 80.14 kB / 1.004 GB, free: 4.77 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.5326, allocations: 13.06 kB / 1.004 GB, free: 4.758 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.5326, allocations: 15.94 kB / 1.004 GB, free: 4.738 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.5327, allocations: 310.8 kB / 1.004 GB, free: 4.426 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.5327, allocations: 1.188 kB / 1.004 GB, free: 4.426 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.5327, allocations: 5.125 kB / 1.004 GB, free: 4.422 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.212e-05/0.5327, allocations: 12.08 kB / 1.004 GB, free: 4.41 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.5327, allocations: 0 / 1.004 GB, free: 4.41 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.347e-05/0.5328, allocations: 35.64 kB / 1.004 GB, free: 4.375 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.5328, allocations: 8.766 kB / 1.004 GB, free: 4.371 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5328, allocations: 5 kB / 1.004 GB, free: 4.367 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.5328, allocations: 0 / 1.004 GB, free: 4.367 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.923e-05/0.5329, allocations: 2.688 kB / 1.004 GB, free: 4.367 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5329, allocations: 0 / 1.004 GB, free: 4.367 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.5329, allocations: 7.891 kB / 1.004 GB, free: 4.363 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.5329, allocations: 1.312 kB / 1.004 GB, free: 4.363 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 3.737e-05/0.533, allocations: 107.4 kB / 1.004 GB, free: 4.25 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-06/0.533, allocations: 0 / 1.004 GB, free: 4.25 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.643e-05/0.5331, allocations: 46.09 kB / 1.004 GB, free: 4.203 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.5331, allocations: 1.031 kB / 1.004 GB, free: 4.203 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5331, allocations: 4.031 kB / 1.004 GB, free: 4.199 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.5331, allocations: 78.27 kB / 1.004 GB, free: 4.105 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.5331, allocations: 4 kB / 1.004 GB, free: 4.102 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-06/0.5331, allocations: 1.281 kB / 1.004 GB, free: 4.102 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-06/0.5331, allocations: 0 / 1.004 GB, free: 4.102 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.252e-05/0.5332, allocations: 113.4 kB / 1.004 GB, free: 3.988 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 6.075e-05/0.5332, allocations: 210.2 kB / 1.005 GB, free: 3.773 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.493e-05/0.5333, allocations: 1.219 kB / 1.005 GB, free: 3.773 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.177e-05/0.5333, allocations: 79.22 kB / 1.005 GB, free: 3.695 MB / 0.6857 GB Notification: Performance of Backend: time 1.6e-07/0.5333, allocations: 0 / 1.005 GB, free: 3.695 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0003778/0.5337, allocations: 108.6 kB / 1.005 GB, free: 3.617 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0001992/0.5339, allocations: 0.5264 MB / 1.005 GB, free: 3.047 MB / 0.6857 GB Notification: Performance of Templates: time 0.002454/0.5363, allocations: 0.5016 MB / 1.006 GB, free: 2.773 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)