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.001013/0.001013, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001176/0.001176, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.005/1.005, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.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.76/0.76, allocations: 154.6 MB / 414.8 MB, free: 488 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. " [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.663e-06/1.663e-06, allocations: 0 / 480.1 MB, free: 6.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.24e-05, allocations: 2.312 kB / 480.1 MB, free: 6.855 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001714/0.001737, allocations: 0.6055 MB / 480.7 MB, free: 6.277 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001864/0.001923, allocations: 23.89 kB / 480.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.113e-05/0.001934, allocations: 5.281 kB / 480.7 MB, free: 6.25 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.14e-05/0.001945, allocations: 0 / 480.7 MB, free: 6.25 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.001951, allocations: 0.9844 kB / 480.7 MB, free: 6.25 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.002216, allocations: 8.516 kB / 480.7 MB, free: 6.242 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.849e-05/0.002254, allocations: 1.125 kB / 480.7 MB, free: 6.242 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.002288, allocations: 4 kB / 480.7 MB, free: 6.238 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.534e-05/0.002313, allocations: 0 / 480.7 MB, free: 6.238 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.837e-05/0.002332, allocations: 0.6875 kB / 480.7 MB, free: 6.238 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.002343, allocations: 1.094 kB / 480.7 MB, free: 6.238 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-05/0.002422, allocations: 24.91 kB / 480.7 MB, free: 6.215 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.00243, allocations: 0 / 480.7 MB, free: 6.215 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.257e-06/0.002439, allocations: 0 / 480.7 MB, free: 6.215 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.377e-05/0.002513, allocations: 16.69 kB / 480.8 MB, free: 6.199 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.002516, allocations: 4 kB / 480.8 MB, free: 6.195 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.002516, allocations: 1.703 kB / 480.8 MB, free: 6.195 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.002519, allocations: 0 / 480.8 MB, free: 6.195 MB / 442.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.0001981/0.002717, allocations: 213.3 kB / 481 MB, free: 5.961 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.002749, allocations: 13.97 kB / 481 MB, free: 5.949 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.087e-05/0.00277, allocations: 2.031 kB / 481 MB, free: 5.949 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.696e-05/0.002827, allocations: 101.8 kB / 481.1 MB, free: 5.824 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-06/0.002835, allocations: 384 / 481.1 MB, free: 5.824 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.002844, allocations: 1.406 kB / 481.1 MB, free: 5.824 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.706e-05/0.002901, allocations: 34.97 kB / 481.1 MB, free: 5.785 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.002906, allocations: 1.094 kB / 481.1 MB, free: 5.785 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-06/0.002911, allocations: 384 / 481.1 MB, free: 5.785 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.002916, allocations: 384 / 481.1 MB, free: 5.785 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.506e-05/0.002931, allocations: 12.53 kB / 481.1 MB, free: 5.773 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.575e-05/0.002997, allocations: 54.3 kB / 481.2 MB, free: 5.707 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.748e-05/0.003034, allocations: 19.16 kB / 481.2 MB, free: 5.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.403e-05/0.003048, allocations: 4.859 kB / 481.2 MB, free: 5.672 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.003074, allocations: 5.609 kB / 481.2 MB, free: 5.668 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.003096, allocations: 38.61 kB / 481.2 MB, free: 5.621 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.003097, allocations: 1.031 kB / 481.3 MB, free: 5.621 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 7.559e-05/0.003173, allocations: 34.3 kB / 481.3 MB, free: 5.582 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.003203, allocations: 52.12 kB / 481.3 MB, free: 5.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.098e-05/0.003234, allocations: 89.86 kB / 481.4 MB, free: 5.422 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.003245, allocations: 26.61 kB / 481.4 MB, free: 5.391 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.252e-05/0.003267, allocations: 80.14 kB / 481.5 MB, free: 5.309 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.003293, allocations: 11.7 kB / 481.5 MB, free: 5.301 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.003323, allocations: 10.38 kB / 481.5 MB, free: 5.285 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.003411, allocations: 319.4 kB / 481.9 MB, free: 4.965 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-06/0.003419, allocations: 4.625 kB / 481.9 MB, free: 4.961 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-06/0.003425, allocations: 0 / 481.9 MB, free: 4.961 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.329e-05/0.003448, allocations: 10.11 kB / 481.9 MB, free: 4.949 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.00345, allocations: 3.938 kB / 481.9 MB, free: 4.945 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.58e-05/0.003496, allocations: 30.88 kB / 481.9 MB, free: 4.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.003507, allocations: 4.594 kB / 481.9 MB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.00351, allocations: 0 / 481.9 MB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.088e-06/0.003519, allocations: 0.8125 kB / 481.9 MB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.341e-05/0.003562, allocations: 7.984 kB / 481.9 MB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-06/0.003564, allocations: 2.984 kB / 481.9 MB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-06/0.003574, allocations: 0 / 481.9 MB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.003583, allocations: 0 / 481.9 MB, free: 4.898 MB / 442.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 5.857e-05/0.003642, allocations: 117.8 kB / 482 MB, free: 4.773 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-06/0.003647, allocations: 0.6562 kB / 482 MB, free: 4.773 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.321e-05/0.003721, allocations: 46.34 kB / 482.1 MB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.003723, allocations: 1.312 kB / 482.1 MB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.003724, allocations: 0 / 482.1 MB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.003726, allocations: 1.656 kB / 482.1 MB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.533e-05/0.003782, allocations: 65.84 kB / 482.2 MB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.003783, allocations: 0 / 482.2 MB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.568e-05/0.003799, allocations: 0.5469 kB / 482.2 MB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.0038, allocations: 0.875 kB / 482.2 MB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.003805, allocations: 4 kB / 482.2 MB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.003806, allocations: 0.9375 kB / 482.2 MB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.003808, allocations: 0.9375 kB / 482.2 MB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.238e-05/0.00386, allocations: 58.59 kB / 482.2 MB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-06/0.003865, allocations: 4 kB / 482.2 MB, free: 4.562 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.003904, allocations: 4 kB / 482.2 MB, free: 4.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.003923, allocations: 5.844 kB / 482.2 MB, free: 4.555 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.709e-06/0.003933, allocations: 3.984 kB / 482.2 MB, free: 4.551 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.003938, allocations: 0 / 482.2 MB, free: 4.551 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.236e-06/0.003946, allocations: 5.734 kB / 482.2 MB, free: 4.543 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003947, allocations: 4 kB / 482.2 MB, free: 4.539 MB / 442.7 MB Notification: Performance of remove unused functions: time 9.11e-05/0.004038, allocations: 0.75 kB / 482.2 MB, free: 4.539 MB / 442.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 9.597e-05/0.004134, allocations: 81.09 kB / 482.3 MB, free: 4.449 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 3.662e-05/0.00417, allocations: 10.17 kB / 482.3 MB, free: 4.438 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.004173, allocations: 4 kB / 482.3 MB, free: 4.434 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.562e-06/0.004179, allocations: 9.734 kB / 482.3 MB, free: 4.422 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.148e-05/0.004211, allocations: 8.688 kB / 482.4 MB, free: 4.414 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.522e-05/0.004306, allocations: 77.66 kB / 482.4 MB, free: 4.312 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.195e-05/0.004328, allocations: 55.3 kB / 482.5 MB, free: 4.238 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.582e-05/0.004344, allocations: 2.281 kB / 482.5 MB, free: 4.238 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.004373, allocations: 51.38 kB / 482.5 MB, free: 4.188 MB / 442.7 MB Notification: Performance of SimCode: time 3.71e-07/0.004374, allocations: 0.5625 kB / 482.5 MB, free: 4.188 MB / 442.7 MB Notification: Performance of Templates: time 0.001238/0.005612, allocations: 336.6 kB / 482.9 MB, free: 3.879 MB / 442.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.528988417237997]