Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Polynomial") translateModel(AixLib.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.001109/0.001109, allocations: 192.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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.18 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.05858/0.05858, allocations: 12.04 MB / 303.3 MB, free: 3.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004952/0.0004953, allocations: 19.97 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.61/1.61, allocations: 268.2 MB / 0.6617 GB, free: 2.617 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 119.8 kB / 0.888 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5505/0.5526, allocations: 108.3 MB / 0.9938 GB, free: 12.11 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Polynomial): time 0.002201/0.5548, allocations: 1.437 MB / 0.9952 GB, free: 10.99 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0002839/0.5551, allocations: 102 kB / 0.9953 GB, free: 10.91 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.5552, allocations: 0 / 0.9953 GB, free: 10.91 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 6.081e-05/0.5552, allocations: 5.062 kB / 0.9953 GB, free: 10.9 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 3.337e-05/0.5553, allocations: 9.094 kB / 0.9954 GB, free: 10.89 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.5555, allocations: 13.7 kB / 0.9954 GB, free: 10.89 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 5.777e-05/0.5556, allocations: 25.64 kB / 0.9954 GB, free: 10.87 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 8.695e-05/0.5557, allocations: 7.516 kB / 0.9954 GB, free: 10.87 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.5557, allocations: 15.2 kB / 0.9954 GB, free: 10.86 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 3.399e-05/0.5558, allocations: 3.031 kB / 0.9954 GB, free: 10.86 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.5558, allocations: 2.812 kB / 0.9954 GB, free: 10.86 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 8.678e-05/0.5559, allocations: 25.03 kB / 0.9954 GB, free: 10.84 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.5e-05/0.5559, allocations: 5.281 kB / 0.9954 GB, free: 10.84 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.5559, allocations: 13.88 kB / 0.9955 GB, free: 10.82 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.5561, allocations: 43.47 kB / 0.9955 GB, free: 10.79 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5561, allocations: 0 / 0.9955 GB, free: 10.79 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5561, allocations: 1.094 kB / 0.9955 GB, free: 10.79 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.5561, allocations: 0 / 0.9955 GB, free: 10.79 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003462/0.5564, allocations: 345.5 kB / 0.9958 GB, free: 10.42 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.5565, allocations: 8.156 kB / 0.9958 GB, free: 10.42 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.5565, allocations: 3.438 kB / 0.9958 GB, free: 10.42 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.385e-05/0.5566, allocations: 173.9 kB / 0.996 GB, free: 10.21 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.5566, allocations: 9.656 kB / 0.996 GB, free: 10.21 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.5566, allocations: 1.656 kB / 0.996 GB, free: 10.21 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.5568, allocations: 49.89 kB / 0.9961 GB, free: 10.16 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.5568, allocations: 1.188 kB / 0.9961 GB, free: 10.16 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.5568, allocations: 3.938 kB / 0.9961 GB, free: 10.16 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5568, allocations: 1.094 kB / 0.9961 GB, free: 10.16 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.557, allocations: 41.3 kB / 0.9961 GB, free: 10.14 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.5572, allocations: 252.6 kB / 0.9964 GB, free: 9.855 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.5574, allocations: 45.86 kB / 0.9964 GB, free: 9.816 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.58e-05/0.5575, allocations: 23.59 kB / 0.9964 GB, free: 9.801 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.5575, allocations: 3.156 kB / 0.9964 GB, free: 9.801 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.183e-05/0.5575, allocations: 34.56 kB / 0.9965 GB, free: 9.758 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.5575, allocations: 0 / 0.9965 GB, free: 9.758 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2): time 0.0003421/0.5579, allocations: 93.53 kB / 0.9965 GB, free: 9.695 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.643e-05/0.5579, allocations: 55.39 kB / 0.9966 GB, free: 9.629 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.987e-05/0.558, allocations: 102.5 kB / 0.9967 GB, free: 9.527 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.558, allocations: 25.7 kB / 0.9967 GB, free: 9.496 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.558, allocations: 97.47 kB / 0.9968 GB, free: 9.398 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.558, allocations: 1.125 kB / 0.9968 GB, free: 9.398 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.5581, allocations: 12.06 kB / 0.9968 GB, free: 9.383 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.5581, allocations: 316 kB / 0.9971 GB, free: 9.066 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.5582, allocations: 19.5 kB / 0.9971 GB, free: 9.059 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-05/0.5583, allocations: 18.02 kB / 0.9972 GB, free: 9.051 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.5585, allocations: 50.36 kB / 0.9972 GB, free: 9.02 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5585, allocations: 1.062 kB / 0.9972 GB, free: 9.02 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001949/0.5587, allocations: 74.91 kB / 0.9973 GB, free: 8.965 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.5587, allocations: 9.656 kB / 0.9973 GB, free: 8.961 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.5587, allocations: 0 / 0.9973 GB, free: 8.961 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5587, allocations: 1.281 kB / 0.9973 GB, free: 8.961 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.883e-05/0.5588, allocations: 13.08 kB / 0.9973 GB, free: 8.953 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.5588, allocations: 1.531 kB / 0.9973 GB, free: 8.953 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.5589, allocations: 7.078 kB / 0.9973 GB, free: 8.949 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-06/0.5589, allocations: 1.406 kB / 0.9973 GB, free: 8.949 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 4.974e-05/0.559, allocations: 111.1 kB / 0.9974 GB, free: 8.832 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.559, allocations: 6.281 kB / 0.9974 GB, free: 8.828 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.5592, allocations: 81.16 kB / 0.9975 GB, free: 8.762 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5592, allocations: 5.109 kB / 0.9975 GB, free: 8.758 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.5592, allocations: 0 / 0.9975 GB, free: 8.758 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.5593, allocations: 82.33 kB / 0.9976 GB, free: 8.66 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.5593, allocations: 1.562 kB / 0.9976 GB, free: 8.66 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.5594, allocations: 6.766 kB / 0.9976 GB, free: 8.656 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.5594, allocations: 1.062 kB / 0.9976 GB, free: 8.656 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002251/0.5596, allocations: 159.9 kB / 0.9977 GB, free: 8.52 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000208/0.5598, allocations: 237.5 kB / 0.998 GB, free: 8.297 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.84e-05/0.5599, allocations: 24.47 kB / 0.998 GB, free: 8.285 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.518e-05/0.56, allocations: 83.84 kB / 0.9981 GB, free: 8.207 MB / 0.6857 GB Notification: Performance of Backend: time 3e-07/0.56, allocations: 5.188 kB / 0.9981 GB, free: 8.203 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004252/0.5604, allocations: 100.3 kB / 0.9982 GB, free: 8.129 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003394/0.5608, allocations: 0.5524 MB / 0.9987 GB, free: 7.547 MB / 0.6857 GB Notification: Performance of Templates: time 0.00265/0.5634, allocations: 0.6598 MB / 0.9994 GB, free: 7.211 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Examples.Polynomial.makefile (rm -f AixLib_AixLib.Utilities.Math.Examples.Polynomial.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.Polynomial.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.Polynomial.sim & ./AixLib_AixLib.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.Polynomial.pipe 2>&1)