Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.Splice.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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Splice") translateModel(AixLib.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 107.4 kB / 16.41 MB, free: 6.504 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.001101/0.001101, allocations: 188.3 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.13 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.05857/0.05857, allocations: 12.06 MB / 303.3 MB, free: 3.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005716/0.0005716, allocations: 23.95 kB / 356.3 MB, free: 13.95 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.518/1.518, allocations: 268.2 MB / 0.6617 GB, free: 2.59 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 116.2 kB / 0.888 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5522/0.5544, allocations: 108.4 MB / 0.9938 GB, free: 1.07 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Splice): time 0.003358/0.5578, allocations: 1.507 MB / 0.9953 GB, free: 15.55 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.559, allocations: 0.6358 MB / 0.9959 GB, free: 14.91 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.5591, allocations: 0 / 0.9959 GB, free: 14.91 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.5591, allocations: 3.938 kB / 0.9959 GB, free: 14.91 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.858e-05/0.5592, allocations: 7.938 kB / 0.9959 GB, free: 14.9 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.5596, allocations: 79.73 kB / 0.996 GB, free: 14.82 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 8.05e-05/0.5597, allocations: 31.86 kB / 0.996 GB, free: 14.79 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.5598, allocations: 23.77 kB / 0.9961 GB, free: 14.77 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 7.491e-05/0.5599, allocations: 19.92 kB / 0.9961 GB, free: 14.75 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 6.053e-05/0.56, allocations: 19.88 kB / 0.9961 GB, free: 14.73 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.56, allocations: 8 kB / 0.9961 GB, free: 14.72 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.5602, allocations: 91.89 kB / 0.9962 GB, free: 14.63 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.5602, allocations: 11.98 kB / 0.9962 GB, free: 14.62 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.5602, allocations: 15.88 kB / 0.9962 GB, free: 14.61 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.5604, allocations: 71.84 kB / 0.9963 GB, free: 14.54 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5604, allocations: 0 / 0.9963 GB, free: 14.54 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5604, allocations: 0 / 0.9963 GB, free: 14.54 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.5605, allocations: 4 kB / 0.9963 GB, free: 14.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004841/0.5609, allocations: 362.3 kB / 0.9966 GB, free: 14.13 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.561, allocations: 12.03 kB / 0.9966 GB, free: 14.12 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.561, allocations: 8.922 kB / 0.9967 GB, free: 14.11 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.5612, allocations: 184.1 kB / 0.9968 GB, free: 13.89 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.5612, allocations: 384 / 0.9968 GB, free: 13.89 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.5612, allocations: 4.375 kB / 0.9968 GB, free: 13.89 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.5614, allocations: 54 kB / 0.9969 GB, free: 13.83 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.5614, allocations: 3.984 kB / 0.9969 GB, free: 13.83 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.5614, allocations: 4 kB / 0.9969 GB, free: 13.82 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5614, allocations: 0 / 0.9969 GB, free: 13.82 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.573e-05/0.5615, allocations: 27.98 kB / 0.9969 GB, free: 13.8 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.5619, allocations: 276.7 kB / 0.9972 GB, free: 13.48 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 8.999e-05/0.562, allocations: 34.56 kB / 0.9972 GB, free: 13.43 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.5621, allocations: 16.86 kB / 0.9972 GB, free: 13.41 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004867/0.5626, allocations: 0.5583 MB / 0.9978 GB, free: 12.73 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.5626, allocations: 34.55 kB / 0.9978 GB, free: 12.68 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.5626, allocations: 0 / 0.9978 GB, free: 12.68 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2): time 0.0002577/0.5629, allocations: 69.53 kB / 0.9979 GB, free: 12.61 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.563, allocations: 51.41 kB / 0.9979 GB, free: 12.55 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.5631, allocations: 121.8 kB / 0.998 GB, free: 12.42 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.5631, allocations: 25.83 kB / 0.9981 GB, free: 12.39 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.5631, allocations: 93.23 kB / 0.9982 GB, free: 12.29 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.5632, allocations: 7.906 kB / 0.9982 GB, free: 12.29 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.5632, allocations: 17.7 kB / 0.9982 GB, free: 12.26 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.5634, allocations: 318.8 kB / 0.9985 GB, free: 11.94 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.422e-05/0.5634, allocations: 7.984 kB / 0.9985 GB, free: 11.93 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.565e-05/0.5635, allocations: 8 kB / 0.9985 GB, free: 11.93 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.373e-05/0.5636, allocations: 36.84 kB / 0.9985 GB, free: 11.89 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5636, allocations: 0 / 0.9985 GB, free: 11.89 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001714/0.5637, allocations: 53.69 kB / 0.9986 GB, free: 11.83 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.5638, allocations: 9.719 kB / 0.9986 GB, free: 11.82 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5638, allocations: 0 / 0.9986 GB, free: 11.82 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5638, allocations: 0 / 0.9986 GB, free: 11.82 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.5639, allocations: 11.97 kB / 0.9986 GB, free: 11.81 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.5639, allocations: 0 / 0.9986 GB, free: 11.81 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.109e-05/0.5639, allocations: 4 kB / 0.9986 GB, free: 11.8 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.5639, allocations: 7.969 kB / 0.9986 GB, free: 11.8 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 (2): * Single equations (assignments): 2 * 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 7.506e-05/0.564, allocations: 117.8 kB / 0.9987 GB, free: 11.67 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.5641, allocations: 7.891 kB / 0.9987 GB, free: 11.66 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.5642, allocations: 61.09 kB / 0.9988 GB, free: 11.59 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5643, allocations: 3.984 kB / 0.9988 GB, free: 11.59 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5643, allocations: 4 kB / 0.9988 GB, free: 11.59 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.5643, allocations: 77.11 kB / 0.9989 GB, free: 11.49 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.5643, allocations: 11.97 kB / 0.9989 GB, free: 11.48 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/0.5644, allocations: 4 kB / 0.9989 GB, free: 11.48 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.5644, allocations: 0 / 0.9989 GB, free: 11.48 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001739/0.5646, allocations: 129 kB / 0.999 GB, free: 11.34 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002034/0.5648, allocations: 230.7 kB / 0.9992 GB, free: 11.1 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.757e-05/0.5649, allocations: 12.03 kB / 0.9993 GB, free: 11.09 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 5.8e-05/0.565, allocations: 103.2 kB / 0.9993 GB, free: 10.99 MB / 0.6857 GB Notification: Performance of Backend: time 3.9e-07/0.565, allocations: 0 / 0.9993 GB, free: 10.99 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0005531/0.5655, allocations: 112.7 kB / 0.9995 GB, free: 10.88 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004869/0.566, allocations: 0.5738 MB / 1 GB, free: 10.25 MB / 0.6857 GB Notification: Performance of Templates: time 0.003012/0.5691, allocations: 0.7562 MB / 1.001 GB, free: 9.504 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Examples.Splice.makefile (rm -f AixLib_AixLib.Utilities.Math.Examples.Splice.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.Splice.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.Splice.sim & ./AixLib_AixLib.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.Splice.pipe 2>&1)