Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite") translateModel(AixLib.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.0012, allocations: 111.9 kB / 16.42 MB, free: 6.441 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.001164/0.001164, allocations: 192 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.16 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.05805/0.05805, allocations: 12.05 MB / 303.3 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005085/0.0005086, allocations: 23.97 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.55/1.55, allocations: 268.2 MB / 0.6617 GB, free: 2.605 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 112.2 kB / 0.8881 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5325/0.5347, allocations: 108.4 MB / 0.9939 GB, free: 1.059 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.CubicHermite): time 0.001801/0.5366, allocations: 0.6075 MB / 0.9945 GB, free: 464 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.5386, allocations: 1.381 MB / 0.9958 GB, free: 15.05 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.5387, allocations: 0 / 0.9958 GB, free: 15.05 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 5.231e-05/0.5387, allocations: 3.938 kB / 0.9958 GB, free: 15.05 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.316e-05/0.5388, allocations: 3.984 kB / 0.9958 GB, free: 15.05 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.5395, allocations: 179.5 kB / 0.996 GB, free: 14.87 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.5397, allocations: 47.95 kB / 0.9961 GB, free: 14.82 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.5397, allocations: 8 kB / 0.9961 GB, free: 14.82 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 4.038e-05/0.5398, allocations: 19.91 kB / 0.9961 GB, free: 14.8 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.5398, allocations: 27.91 kB / 0.9961 GB, free: 14.77 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.5399, allocations: 4 kB / 0.9961 GB, free: 14.77 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003597/0.5402, allocations: 199.7 kB / 0.9963 GB, free: 14.57 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.5403, allocations: 8 kB / 0.9963 GB, free: 14.56 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.5404, allocations: 27.78 kB / 0.9963 GB, free: 14.54 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.5406, allocations: 195.4 kB / 0.9965 GB, free: 14.35 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5407, allocations: 4 kB / 0.9965 GB, free: 14.34 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5407, allocations: 0 / 0.9965 GB, free: 14.34 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.5407, allocations: 3.938 kB / 0.9965 GB, free: 14.34 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.0004588/0.5411, allocations: 439.2 kB / 0.997 GB, free: 13.86 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.5412, allocations: 8.031 kB / 0.997 GB, free: 13.85 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.5412, allocations: 8.844 kB / 0.997 GB, free: 13.84 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.5414, allocations: 168.3 kB / 0.9971 GB, free: 13.64 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.5414, allocations: 384 / 0.9971 GB, free: 13.64 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.5414, allocations: 4.375 kB / 0.9971 GB, free: 13.63 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.5416, allocations: 102 kB / 0.9972 GB, free: 13.53 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.5416, allocations: 0 / 0.9972 GB, free: 13.53 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.5416, allocations: 0 / 0.9972 GB, free: 13.53 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5416, allocations: 7.922 kB / 0.9972 GB, free: 13.52 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.758e-05/0.5417, allocations: 63.89 kB / 0.9973 GB, free: 13.46 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.5419, allocations: 177.5 kB / 0.9975 GB, free: 13.23 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.542, allocations: 78.56 kB / 0.9975 GB, free: 13.15 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.223e-05/0.5421, allocations: 72.86 kB / 0.9976 GB, free: 13.07 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-06/0.5421, allocations: 4 kB / 0.9976 GB, free: 13.07 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.5422, allocations: 46.47 kB / 0.9977 GB, free: 13.02 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.5422, allocations: 0 / 0.9977 GB, free: 13.02 MB / 0.6857 GB Notification: Performance of matching and sorting (n=4): time 0.0003951/0.5426, allocations: 251.2 kB / 0.9979 GB, free: 12.76 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.5426, allocations: 81.11 kB / 0.998 GB, free: 12.66 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.5428, allocations: 148.1 kB / 0.9981 GB, free: 12.51 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.5428, allocations: 25.7 kB / 0.9981 GB, free: 12.48 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.5428, allocations: 88.14 kB / 0.9982 GB, free: 12.39 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.5429, allocations: 23.75 kB / 0.9982 GB, free: 12.36 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.5429, allocations: 25.72 kB / 0.9983 GB, free: 12.33 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.543, allocations: 322.8 kB / 0.9986 GB, free: 12.01 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.5432, allocations: 99.94 kB / 0.9987 GB, free: 11.91 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.5433, allocations: 103.9 kB / 0.9988 GB, free: 11.81 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.5436, allocations: 284.9 kB / 0.999 GB, free: 11.51 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.5436, allocations: 4 kB / 0.9991 GB, free: 11.51 MB / 0.6857 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003391/0.5439, allocations: 320.8 kB / 0.9994 GB, free: 11.18 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/0.544, allocations: 75.39 kB / 0.9994 GB, free: 11.09 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.544, allocations: 3.938 kB / 0.9994 GB, free: 11.09 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.544, allocations: 0 / 0.9994 GB, free: 11.09 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.544, allocations: 0 / 0.9994 GB, free: 11.09 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.544, allocations: 0 / 0.9994 GB, free: 11.09 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.5442, allocations: 12 kB / 0.9994 GB, free: 11.07 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.5442, allocations: 7.984 kB / 0.9995 GB, free: 11.07 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 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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 0.0001096/0.5443, allocations: 143.5 kB / 0.9996 GB, free: 10.91 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.5443, allocations: 11.84 kB / 0.9996 GB, free: 10.9 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.5444, allocations: 12.25 kB / 0.9996 GB, free: 10.88 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5444, allocations: 0 / 0.9996 GB, free: 10.88 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5444, allocations: 0 / 0.9996 GB, free: 10.88 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.5444, allocations: 85.02 kB / 0.9997 GB, free: 10.78 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.5445, allocations: 4 kB / 0.9997 GB, free: 10.77 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.198e-05/0.5445, allocations: 7.984 kB / 0.9997 GB, free: 10.77 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.5446, allocations: 4 kB / 0.9997 GB, free: 10.76 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002999/0.5449, allocations: 329.9 kB / 1 GB, free: 10.41 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003203/0.5452, allocations: 380.3 kB / 1 GB, free: 10.02 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001076/0.5453, allocations: 79.94 kB / 1 GB, free: 9.941 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 7.041e-05/0.5454, allocations: 101.3 kB / 1.001 GB, free: 9.844 MB / 0.6857 GB Notification: Performance of Backend: time 4.21e-07/0.5454, allocations: 0 / 1.001 GB, free: 9.844 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0007977/0.5462, allocations: 441 kB / 1.001 GB, free: 9.379 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0005213/0.5468, allocations: 0.6497 MB / 1.002 GB, free: 8.668 MB / 0.6857 GB Notification: Performance of Templates: time 0.005055/0.5518, allocations: 2.048 MB / 1.004 GB, free: 6.633 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)