Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007928/0.0007928, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001594/0.002387, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008584/0.0008584, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001233/0.002091, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.002/1.002, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1236/1.125, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8056/0.8056, allocations: 154.6 MB / 398.8 MB, free: 396 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3063/1.112, allocations: 49.05 MB / 447.8 MB, free: 6.578 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 449.2 MB, free: 5.199 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.513e-05, allocations: 2.812 kB / 449.2 MB, free: 5.195 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001829/0.001854, allocations: 0.6542 MB / 449.9 MB, free: 4.586 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 7.99e-05/0.001934, allocations: 24.73 kB / 449.9 MB, free: 4.562 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.082e-05/0.001944, allocations: 0 / 449.9 MB, free: 4.562 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.987e-06/0.001948, allocations: 3.938 kB / 449.9 MB, free: 4.559 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.71e-07/0.001949, allocations: 0 / 449.9 MB, free: 4.559 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.002108, allocations: 13.3 kB / 449.9 MB, free: 4.547 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.503e-05/0.002163, allocations: 4 kB / 449.9 MB, free: 4.543 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.002203, allocations: 1.281 kB / 449.9 MB, free: 4.543 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.002243, allocations: 9.531 kB / 449.9 MB, free: 4.535 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.642e-05/0.002269, allocations: 0 / 449.9 MB, free: 4.535 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.002283, allocations: 1.188 kB / 449.9 MB, free: 4.535 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.607e-05/0.002379, allocations: 23.91 kB / 449.9 MB, free: 4.512 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.002392, allocations: 0.6562 kB / 449.9 MB, free: 4.512 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.201e-05/0.002404, allocations: 1.656 kB / 449.9 MB, free: 4.512 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.148e-05/0.002495, allocations: 12.86 kB / 450 MB, free: 4.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.002509, allocations: 2.969 kB / 450 MB, free: 4.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002509, allocations: 0 / 450 MB, free: 4.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.002524, allocations: 0 / 450 MB, free: 4.5 MB / 426.7 MB 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.0003042/0.002828, allocations: 208.8 kB / 450.2 MB, free: 4.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.002866, allocations: 12.03 kB / 450.2 MB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.002896, allocations: 0.9375 kB / 450.2 MB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.89e-05/0.002965, allocations: 106.3 kB / 450.3 MB, free: 4.129 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.002976, allocations: 4.375 kB / 450.3 MB, free: 4.125 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.002985, allocations: 1.344 kB / 450.3 MB, free: 4.125 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.21e-05/0.003067, allocations: 26.27 kB / 450.3 MB, free: 4.094 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.003075, allocations: 1.312 kB / 450.3 MB, free: 4.094 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.003082, allocations: 1.359 kB / 450.3 MB, free: 4.094 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.003089, allocations: 1.359 kB / 450.3 MB, free: 4.094 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.522e-05/0.003104, allocations: 12.98 kB / 450.3 MB, free: 4.082 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.988e-05/0.003184, allocations: 57.05 kB / 450.4 MB, free: 4.012 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.129e-05/0.003225, allocations: 22.55 kB / 450.4 MB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.167e-05/0.003237, allocations: 6.109 kB / 450.4 MB, free: 3.973 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.003271, allocations: 4.062 kB / 450.4 MB, free: 3.969 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.003296, allocations: 30.56 kB / 450.4 MB, free: 3.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.003296, allocations: 0.625 kB / 450.4 MB, free: 3.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 9.625e-05/0.003393, allocations: 36.52 kB / 450.5 MB, free: 3.891 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.003424, allocations: 51.41 kB / 450.5 MB, free: 3.828 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.355e-05/0.003458, allocations: 89.86 kB / 450.6 MB, free: 3.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.003469, allocations: 29.64 kB / 450.7 MB, free: 3.695 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.531e-05/0.003494, allocations: 89.88 kB / 450.7 MB, free: 3.605 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.003525, allocations: 2.062 kB / 450.7 MB, free: 3.605 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.003551, allocations: 9.719 kB / 450.8 MB, free: 3.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.003645, allocations: 322.8 kB / 451.1 MB, free: 3.262 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.003655, allocations: 0 / 451.1 MB, free: 3.262 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.00366, allocations: 1.688 kB / 451.1 MB, free: 3.262 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.86e-05/0.003689, allocations: 10.08 kB / 451.1 MB, free: 3.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.00369, allocations: 0 / 451.1 MB, free: 3.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.32e-05/0.003744, allocations: 35.09 kB / 451.1 MB, free: 3.211 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.003758, allocations: 6.375 kB / 451.1 MB, free: 3.207 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.003764, allocations: 3.984 kB / 451.1 MB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.003778, allocations: 4.906 kB / 451.1 MB, free: 3.199 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.983e-05/0.003838, allocations: 3.938 kB / 451.1 MB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.003841, allocations: 1.734 kB / 451.1 MB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.988e-06/0.003851, allocations: 0 / 451.1 MB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.003862, allocations: 4.625 kB / 451.1 MB, free: 3.191 MB / 426.7 MB 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 6.001e-05/0.003922, allocations: 114.7 kB / 451.2 MB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-06/0.003929, allocations: 0 / 451.2 MB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.048e-05/0.004019, allocations: 33.92 kB / 451.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.004021, allocations: 1.188 kB / 451.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.004024, allocations: 4 kB / 451.3 MB, free: 3.027 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.004027, allocations: 0 / 451.3 MB, free: 3.027 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.146e-05/0.004088, allocations: 71.98 kB / 451.4 MB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.00409, allocations: 0 / 451.4 MB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/0.004111, allocations: 4 kB / 451.4 MB, free: 2.938 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-06/0.004116, allocations: 4.781 kB / 451.4 MB, free: 2.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.004117, allocations: 0 / 451.4 MB, free: 2.934 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.004122, allocations: 5.375 kB / 451.4 MB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.004124, allocations: 0 / 451.4 MB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.004125, allocations: 3.938 kB / 451.4 MB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.79e-05/0.004183, allocations: 63.11 kB / 451.4 MB, free: 2.848 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.004191, allocations: 0 / 451.4 MB, free: 2.848 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-06/0.004199, allocations: 0.9844 kB / 451.4 MB, free: 2.848 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.004211, allocations: 4 kB / 451.4 MB, free: 2.844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.004214, allocations: 0.8438 kB / 451.4 MB, free: 2.844 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.666e-06/0.004223, allocations: 8.344 kB / 451.5 MB, free: 2.836 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.004223, allocations: 0 / 451.5 MB, free: 2.836 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001558/0.004379, allocations: 4.906 kB / 451.5 MB, free: 2.832 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001329/0.004512, allocations: 86.64 kB / 451.5 MB, free: 2.738 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.305e-05/0.004575, allocations: 14.25 kB / 451.6 MB, free: 2.723 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.004579, allocations: 0 / 451.6 MB, free: 2.723 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.889e-06/0.004589, allocations: 6.141 kB / 451.6 MB, free: 2.715 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.059e-05/0.004649, allocations: 12.55 kB / 451.6 MB, free: 2.703 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001686/0.004818, allocations: 83.14 kB / 451.7 MB, free: 2.598 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.804e-05/0.004856, allocations: 51.36 kB / 451.7 MB, free: 2.527 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.689e-05/0.004883, allocations: 5.875 kB / 451.7 MB, free: 2.523 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.004921, allocations: 48.12 kB / 451.8 MB, free: 2.477 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.004922, allocations: 0.6562 kB / 451.8 MB, free: 2.477 MB / 426.7 MB Notification: Performance of Templates: time 0.002013/0.006935, allocations: 322.4 kB / 452.1 MB, free: 2.172 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6633382700383663]