Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 115.3 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.001325/0.001325, allocations: 186.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.243/1.243, 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.05404/0.05404, allocations: 12.04 MB / 303.3 MB, free: 3.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005324/0.0005325, allocations: 27.94 kB / 356.3 MB, free: 13.98 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.414/1.414, allocations: 268.2 MB / 0.6617 GB, free: 2.617 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 108.1 kB / 0.888 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4377, allocations: 108.4 MB / 0.9938 GB, free: 1.094 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002149/0.4399, allocations: 1.416 MB / 0.9952 GB, free: 15.67 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.441, allocations: 0.789 MB / 0.996 GB, free: 14.87 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.441, allocations: 0 / 0.996 GB, free: 14.87 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 5.31e-05/0.4411, allocations: 3.938 kB / 0.996 GB, free: 14.87 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 3.725e-05/0.4411, allocations: 4 kB / 0.996 GB, free: 14.86 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.4417, allocations: 175.4 kB / 0.9962 GB, free: 14.7 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 9.889e-05/0.4418, allocations: 47.92 kB / 0.9962 GB, free: 14.65 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 6.344e-05/0.4419, allocations: 11.97 kB / 0.9962 GB, free: 14.64 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.395e-05/0.4419, allocations: 19.94 kB / 0.9963 GB, free: 14.62 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 4.198e-05/0.4419, allocations: 19.97 kB / 0.9963 GB, free: 14.6 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.442, allocations: 4 kB / 0.9963 GB, free: 14.59 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.4423, allocations: 195.7 kB / 0.9965 GB, free: 14.4 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.4423, allocations: 15.91 kB / 0.9965 GB, free: 14.39 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.4424, allocations: 23.88 kB / 0.9965 GB, free: 14.36 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.4426, allocations: 190.6 kB / 0.9967 GB, free: 14.18 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4427, allocations: 3.938 kB / 0.9967 GB, free: 14.18 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4427, allocations: 0 / 0.9967 GB, free: 14.18 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.4427, allocations: 0 / 0.9967 GB, free: 14.18 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00043/0.4431, allocations: 433.7 kB / 0.9971 GB, free: 13.7 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.4431, allocations: 12.02 kB / 0.9971 GB, free: 13.68 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.4432, allocations: 12.84 kB / 0.9971 GB, free: 13.67 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.4433, allocations: 168.3 kB / 0.9973 GB, free: 13.47 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.4433, allocations: 384 / 0.9973 GB, free: 13.47 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.4433, allocations: 4.375 kB / 0.9973 GB, free: 13.46 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.4435, allocations: 85.91 kB / 0.9974 GB, free: 13.38 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.4435, allocations: 0 / 0.9974 GB, free: 13.38 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.4435, allocations: 0 / 0.9974 GB, free: 13.38 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.4435, allocations: 0 / 0.9974 GB, free: 13.38 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.4436, allocations: 51.91 kB / 0.9974 GB, free: 13.32 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.444, allocations: 280.8 kB / 0.9977 GB, free: 13 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.4441, allocations: 58.55 kB / 0.9977 GB, free: 12.93 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.958e-05/0.4442, allocations: 40.92 kB / 0.9978 GB, free: 12.89 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.4442, allocations: 7.922 kB / 0.9978 GB, free: 12.88 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.4442, allocations: 38.56 kB / 0.9978 GB, free: 12.84 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.4443, allocations: 4 kB / 0.9978 GB, free: 12.83 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.000355/0.4446, allocations: 179.3 kB / 0.998 GB, free: 12.64 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.4447, allocations: 77.11 kB / 0.9981 GB, free: 12.55 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/0.4448, allocations: 125.8 kB / 0.9982 GB, free: 12.42 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.4448, allocations: 25.7 kB / 0.9982 GB, free: 12.39 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.4448, allocations: 92.05 kB / 0.9983 GB, free: 12.29 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.4449, allocations: 11.92 kB / 0.9983 GB, free: 12.28 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.4449, allocations: 21.72 kB / 0.9983 GB, free: 12.25 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.445, allocations: 314.8 kB / 0.9986 GB, free: 11.94 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-05/0.4451, allocations: 59.95 kB / 0.9987 GB, free: 11.88 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.323e-05/0.4452, allocations: 55.97 kB / 0.9987 GB, free: 11.82 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.4454, allocations: 189.9 kB / 0.9989 GB, free: 11.62 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4454, allocations: 7.938 kB / 0.9989 GB, free: 11.61 MB / 0.6857 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000266/0.4457, allocations: 225 kB / 0.9992 GB, free: 11.37 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.4458, allocations: 61.75 kB / 0.9992 GB, free: 11.3 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.4458, allocations: 0 / 0.9992 GB, free: 11.3 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.4458, allocations: 0 / 0.9992 GB, free: 11.3 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.153e-05/0.4458, allocations: 7.984 kB / 0.9992 GB, free: 11.29 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4459, allocations: 0 / 0.9992 GB, free: 11.29 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.846e-05/0.4459, allocations: 11.84 kB / 0.9992 GB, free: 11.28 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.4459, allocations: 8 kB / 0.9992 GB, free: 11.27 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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 9.537e-05/0.446, allocations: 151.5 kB / 0.9994 GB, free: 11.11 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.4461, allocations: 11.94 kB / 0.9994 GB, free: 11.1 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.847e-05/0.4461, allocations: 7.906 kB / 0.9994 GB, free: 11.08 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.4461, allocations: 0 / 0.9994 GB, free: 11.08 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4461, allocations: 240 / 0.9994 GB, free: 11.08 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.4461, allocations: 81.08 kB / 0.9995 GB, free: 10.98 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.4462, allocations: 11.98 kB / 0.9995 GB, free: 10.97 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.4462, allocations: 3.984 kB / 0.9995 GB, free: 10.97 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/0.4463, allocations: 15.92 kB / 0.9995 GB, free: 10.95 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002819/0.4466, allocations: 286 kB / 0.9998 GB, free: 10.65 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000269/0.4469, allocations: 320.5 kB / 1 GB, free: 10.31 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.004e-05/0.447, allocations: 43.97 kB / 1 GB, free: 10.27 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 5.343e-05/0.447, allocations: 99.27 kB / 1 GB, free: 10.17 MB / 0.6857 GB Notification: Performance of Backend: time 3.31e-07/0.4471, allocations: 0 / 1 GB, free: 10.17 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0006142/0.4477, allocations: 335.7 kB / 1.001 GB, free: 9.816 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004071/0.4481, allocations: 0.6307 MB / 1.001 GB, free: 9.121 MB / 0.6857 GB Notification: Performance of Templates: time 0.003761/0.4519, allocations: 1.795 MB / 1.003 GB, free: 7.363 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)