Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial.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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial") translateModel(AixLib.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 111 kB / 16.42 MB, free: 6.512 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.001176/0.001176, allocations: 186.7 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.326/1.326, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.05754/0.05754, allocations: 12.04 MB / 303.3 MB, free: 3.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000478/0.0004779, allocations: 30.83 kB / 356.3 MB, free: 13.97 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.567/1.567, allocations: 268.2 MB / 0.6617 GB, free: 2.609 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 111.8 kB / 0.8881 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5407/0.5432, allocations: 108.4 MB / 0.9939 GB, free: 11.9 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Polynomial): time 0.001415/0.5446, allocations: 0.5729 MB / 0.9944 GB, free: 11.48 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0002073/0.5449, allocations: 47.59 kB / 0.9945 GB, free: 11.44 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.168e-05/0.5449, allocations: 1.031 kB / 0.9945 GB, free: 11.44 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.102e-05/0.5449, allocations: 4 kB / 0.9945 GB, free: 11.43 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.332e-06/0.5449, allocations: 0 / 0.9945 GB, free: 11.43 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.5452, allocations: 10.3 kB / 0.9945 GB, free: 11.43 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 3.669e-05/0.5452, allocations: 1.094 kB / 0.9945 GB, free: 11.43 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.5453, allocations: 1.219 kB / 0.9945 GB, free: 11.43 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.347e-05/0.5453, allocations: 5.078 kB / 0.9945 GB, free: 11.43 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 3.631e-05/0.5453, allocations: 9.047 kB / 0.9945 GB, free: 11.42 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.5453, allocations: 0 / 0.9945 GB, free: 11.42 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 8.223e-05/0.5454, allocations: 20.67 kB / 0.9945 GB, free: 11.41 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 7.855e-06/0.5454, allocations: 0 / 0.9945 GB, free: 11.41 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 1.539e-05/0.5454, allocations: 0 / 0.9945 GB, free: 11.41 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 7.813e-05/0.5455, allocations: 14.86 kB / 0.9945 GB, free: 11.4 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5455, allocations: 1.219 kB / 0.9945 GB, free: 11.4 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5455, allocations: 0 / 0.9945 GB, free: 11.4 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.5456, allocations: 0 / 0.9945 GB, free: 11.4 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.0002081/0.5458, allocations: 319.5 kB / 0.9948 GB, free: 11.04 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.5458, allocations: 8.594 kB / 0.9949 GB, free: 11.04 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.5458, allocations: 2 kB / 0.9949 GB, free: 11.04 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.249e-05/0.5459, allocations: 164.3 kB / 0.995 GB, free: 10.84 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.5459, allocations: 1.5 kB / 0.995 GB, free: 10.84 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-06/0.5459, allocations: 4.375 kB / 0.995 GB, free: 10.84 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.378e-05/0.546, allocations: 36.72 kB / 0.9951 GB, free: 10.8 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.546, allocations: 192 / 0.9951 GB, free: 10.8 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.546, allocations: 3.938 kB / 0.9951 GB, free: 10.79 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.546, allocations: 0.9062 kB / 0.9951 GB, free: 10.79 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.546, allocations: 1.906 kB / 0.9951 GB, free: 10.79 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.49e-05/0.5461, allocations: 146.8 kB / 0.9952 GB, free: 10.6 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 2.561e-05/0.5462, allocations: 16.3 kB / 0.9952 GB, free: 10.58 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.329e-05/0.5462, allocations: 9.891 kB / 0.9952 GB, free: 10.57 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.5462, allocations: 6.297 kB / 0.9952 GB, free: 10.56 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.5462, allocations: 35.62 kB / 0.9953 GB, free: 10.52 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5462, allocations: 0 / 0.9953 GB, free: 10.52 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.0001097/0.5464, allocations: 39.33 kB / 0.9953 GB, free: 10.48 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.754e-05/0.5464, allocations: 51.41 kB / 0.9954 GB, free: 10.42 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.43e-05/0.5464, allocations: 89.86 kB / 0.9954 GB, free: 10.32 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 5.891e-06/0.5464, allocations: 30.95 kB / 0.9955 GB, free: 10.29 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 1.076e-05/0.5464, allocations: 80.14 kB / 0.9955 GB, free: 10.2 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.5465, allocations: 5.344 kB / 0.9956 GB, free: 10.2 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.5465, allocations: 11.5 kB / 0.9956 GB, free: 10.18 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.911e-05/0.5465, allocations: 318.8 kB / 0.9959 GB, free: 9.863 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.5466, allocations: 4.969 kB / 0.9959 GB, free: 9.859 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.5466, allocations: 5.906 kB / 0.9959 GB, free: 9.855 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.191e-05/0.5466, allocations: 15.23 kB / 0.9959 GB, free: 9.84 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.5466, allocations: 1.125 kB / 0.9959 GB, free: 9.84 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.304e-05/0.5467, allocations: 31.42 kB / 0.9959 GB, free: 9.809 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.5467, allocations: 4.406 kB / 0.9959 GB, free: 9.809 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.5467, allocations: 0.9375 kB / 0.9959 GB, free: 9.809 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.5467, allocations: 11.91 kB / 0.9959 GB, free: 9.797 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.597e-05/0.5467, allocations: 2.281 kB / 0.9959 GB, free: 9.797 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.5468, allocations: 1.156 kB / 0.9959 GB, free: 9.797 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.209e-05/0.5468, allocations: 0 / 0.9959 GB, free: 9.797 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.5468, allocations: 1.062 kB / 0.9959 GB, free: 9.797 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.624e-05/0.5468, allocations: 114.9 kB / 0.9961 GB, free: 9.68 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.5468, allocations: 1.125 kB / 0.9961 GB, free: 9.68 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.079e-05/0.5469, allocations: 50.34 kB / 0.9961 GB, free: 9.629 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5469, allocations: 4.938 kB / 0.9961 GB, free: 9.625 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.5469, allocations: 0 / 0.9961 GB, free: 9.625 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.547, allocations: 77.98 kB / 0.9962 GB, free: 9.531 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.547, allocations: 4.031 kB / 0.9962 GB, free: 9.527 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.156e-05/0.547, allocations: 1.094 kB / 0.9962 GB, free: 9.527 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-06/0.547, allocations: 0.8438 kB / 0.9962 GB, free: 9.527 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.581e-05/0.5471, allocations: 113.2 kB / 0.9963 GB, free: 9.414 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 5.983e-05/0.5471, allocations: 205.5 kB / 0.9965 GB, free: 9.203 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.419e-05/0.5471, allocations: 9.641 kB / 0.9965 GB, free: 9.195 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 9.708e-06/0.5472, allocations: 79.28 kB / 0.9966 GB, free: 9.117 MB / 0.6857 GB Notification: Performance of Backend: time 2.01e-07/0.5472, allocations: 0 / 0.9966 GB, free: 9.117 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0003506/0.5475, allocations: 84.39 kB / 0.9967 GB, free: 9.047 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002064/0.5477, allocations: 0.5228 MB / 0.9972 GB, free: 8.484 MB / 0.6857 GB Notification: Performance of Templates: time 0.00238/0.5501, allocations: 337.7 kB / 0.9975 GB, free: 8.312 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)