Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(AixLib.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001222/0.001222, allocations: 109.2 kB / 16.42 MB, free: 6.445 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.001297/0.001297, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.331/1.331, 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.05715/0.05715, allocations: 12.06 MB / 303.3 MB, free: 3.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005322/0.0005321, allocations: 27.94 kB / 356.3 MB, free: 13.99 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.617/1.617, allocations: 268.2 MB / 0.6617 GB, free: 2.633 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 111.8 kB / 0.8881 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5348/0.537, allocations: 108.4 MB / 0.9939 GB, free: 1.09 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001608/0.5386, allocations: 0.5733 MB / 0.9944 GB, free: 0.5195 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.5401, allocations: 1.244 MB / 0.9957 GB, free: 15.26 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.603e-05/0.5402, allocations: 0 / 0.9957 GB, free: 15.26 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.5402, allocations: 0 / 0.9957 GB, free: 15.26 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-06/0.5402, allocations: 0 / 0.9957 GB, free: 15.26 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.5405, allocations: 63.75 kB / 0.9957 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 4.429e-05/0.5406, allocations: 4 kB / 0.9957 GB, free: 15.19 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.5406, allocations: 8 kB / 0.9957 GB, free: 15.18 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.357e-05/0.5406, allocations: 0 / 0.9957 GB, free: 15.18 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 4.17e-05/0.5407, allocations: 3.938 kB / 0.9957 GB, free: 15.18 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 7.725e-06/0.5407, allocations: 0 / 0.9957 GB, free: 15.18 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.5409, allocations: 95.89 kB / 0.9958 GB, free: 15.09 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.541, allocations: 0 / 0.9958 GB, free: 15.09 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 1.563e-05/0.541, allocations: 0 / 0.9958 GB, free: 15.09 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.5411, allocations: 51.94 kB / 0.9959 GB, free: 15.04 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5411, allocations: 4 kB / 0.9959 GB, free: 15.03 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5411, allocations: 0 / 0.9959 GB, free: 15.03 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.5411, allocations: 0 / 0.9959 GB, free: 15.03 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.0002921/0.5414, allocations: 321 kB / 0.9962 GB, free: 14.67 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.5415, allocations: 12.03 kB / 0.9962 GB, free: 14.66 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.5415, allocations: 0.9375 kB / 0.9962 GB, free: 14.66 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.92e-05/0.5416, allocations: 164.4 kB / 0.9963 GB, free: 14.46 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.5416, allocations: 4.359 kB / 0.9964 GB, free: 14.46 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.5416, allocations: 384 / 0.9964 GB, free: 14.46 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.442e-05/0.5417, allocations: 49.95 kB / 0.9964 GB, free: 14.4 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.5417, allocations: 0 / 0.9964 GB, free: 14.4 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.5418, allocations: 0 / 0.9964 GB, free: 14.4 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.5418, allocations: 0 / 0.9964 GB, free: 14.4 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.973e-05/0.5418, allocations: 4 kB / 0.9964 GB, free: 14.4 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.5419, allocations: 141.7 kB / 0.9965 GB, free: 14.21 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 4.623e-05/0.542, allocations: 22.59 kB / 0.9966 GB, free: 14.18 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.542, allocations: 8.859 kB / 0.9966 GB, free: 14.17 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005604/0.5426, allocations: 0.5622 MB / 0.9971 GB, free: 13.48 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.5426, allocations: 38.44 kB / 0.9972 GB, free: 13.43 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.5426, allocations: 4 kB / 0.9972 GB, free: 13.43 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.0001513/0.5428, allocations: 37.69 kB / 0.9972 GB, free: 13.38 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.5428, allocations: 51.41 kB / 0.9972 GB, free: 13.32 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.132e-05/0.5429, allocations: 93.98 kB / 0.9973 GB, free: 13.22 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.5429, allocations: 25.7 kB / 0.9974 GB, free: 13.19 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.5429, allocations: 80.14 kB / 0.9974 GB, free: 13.11 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.543, allocations: 3.906 kB / 0.9974 GB, free: 13.1 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.543, allocations: 13.72 kB / 0.9975 GB, free: 13.08 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5431, allocations: 310.8 kB / 0.9977 GB, free: 12.77 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-06/0.5431, allocations: 3.938 kB / 0.9978 GB, free: 12.77 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.5431, allocations: 7.938 kB / 0.9978 GB, free: 12.76 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.473e-05/0.5432, allocations: 12.92 kB / 0.9978 GB, free: 12.74 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5432, allocations: 0 / 0.9978 GB, free: 12.74 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.093e-05/0.5432, allocations: 37.69 kB / 0.9978 GB, free: 12.7 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.5432, allocations: 4 kB / 0.9978 GB, free: 12.7 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5433, allocations: 3.938 kB / 0.9978 GB, free: 12.69 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5433, allocations: 0 / 0.9978 GB, free: 12.69 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.13e-05/0.5433, allocations: 4 kB / 0.9978 GB, free: 12.69 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.5433, allocations: 0 / 0.9978 GB, free: 12.69 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.5433, allocations: 3.797 kB / 0.9978 GB, free: 12.69 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.5434, allocations: 4.031 kB / 0.9978 GB, free: 12.68 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 5.915e-05/0.5434, allocations: 109.8 kB / 0.9979 GB, free: 12.57 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-06/0.5434, allocations: 0 / 0.9979 GB, free: 12.57 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.411e-05/0.5435, allocations: 48.69 kB / 0.998 GB, free: 12.51 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.5435, allocations: 0 / 0.998 GB, free: 12.51 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.5436, allocations: 0 / 0.998 GB, free: 12.51 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.5436, allocations: 77.11 kB / 0.9981 GB, free: 12.42 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.5436, allocations: 8.031 kB / 0.9981 GB, free: 12.41 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-06/0.5436, allocations: 0 / 0.9981 GB, free: 12.41 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.5436, allocations: 3.984 kB / 0.9981 GB, free: 12.41 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.544e-05/0.5437, allocations: 108.9 kB / 0.9982 GB, free: 12.29 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001091/0.5438, allocations: 210.8 kB / 0.9984 GB, free: 12.07 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.378e-05/0.5438, allocations: 64 / 0.9984 GB, free: 12.07 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.5439, allocations: 79.28 kB / 0.9984 GB, free: 11.99 MB / 0.6857 GB Notification: Performance of Backend: time 1.553e-06/0.5439, allocations: 0 / 0.9984 GB, free: 11.99 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0003911/0.5443, allocations: 110.3 kB / 0.9985 GB, free: 11.88 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003194/0.5446, allocations: 0.5176 MB / 0.9991 GB, free: 11.31 MB / 0.6857 GB Notification: Performance of Templates: time 0.002466/0.5471, allocations: 0.5046 MB / 0.9995 GB, free: 10.81 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)