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.0006434/0.0006434, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008116/0.001455, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006856/0.0006856, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008752/0.001561, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.125/1.125, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09462/1.22, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.8049/0.8049, allocations: 154.6 MB / 398.5 MB, free: 0.5 MB / 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.2856/1.091, allocations: 49.03 MB / 447.6 MB, free: 6.695 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.583e-06/1.583e-06, allocations: 0 / 448.9 MB, free: 5.348 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.162e-05, allocations: 5.453 kB / 448.9 MB, free: 5.344 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001685/0.001707, allocations: 0.6531 MB / 449.6 MB, free: 4.73 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 8.339e-05/0.00179, allocations: 23.89 kB / 449.6 MB, free: 4.707 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.369e-05/0.001804, allocations: 6.734 kB / 449.6 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.759e-06/0.001808, allocations: 0 / 449.6 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.082e-06/0.00181, allocations: 0 / 449.6 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.001993, allocations: 7.938 kB / 449.6 MB, free: 4.695 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.862e-05/0.002052, allocations: 0.5469 kB / 449.6 MB, free: 4.695 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.0021, allocations: 8.641 kB / 449.6 MB, free: 4.688 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.348e-05/0.002143, allocations: 6.828 kB / 449.7 MB, free: 4.684 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.835e-05/0.002172, allocations: 0 / 449.7 MB, free: 4.684 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.00219, allocations: 0 / 449.7 MB, free: 4.684 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.002304, allocations: 23.91 kB / 449.7 MB, free: 4.66 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.002315, allocations: 1.734 kB / 449.7 MB, free: 4.66 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.158e-05/0.002326, allocations: 4 kB / 449.7 MB, free: 4.656 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.326e-05/0.00241, allocations: 13.33 kB / 449.7 MB, free: 4.645 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.535e-05/0.002425, allocations: 0 / 449.7 MB, free: 4.645 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.002426, allocations: 1.469 kB / 449.7 MB, free: 4.645 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.002443, allocations: 0.7656 kB / 449.7 MB, free: 4.645 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.0002844/0.002728, allocations: 212.8 kB / 449.9 MB, free: 4.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.00276, allocations: 8.031 kB / 449.9 MB, free: 4.402 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.002785, allocations: 2.781 kB / 449.9 MB, free: 4.402 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.972e-05/0.002845, allocations: 113.8 kB / 450 MB, free: 4.266 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.002855, allocations: 384 / 450 MB, free: 4.266 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-06/0.00286, allocations: 1.031 kB / 450 MB, free: 4.266 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.634e-05/0.002937, allocations: 35.08 kB / 450.1 MB, free: 4.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.002944, allocations: 192 / 450.1 MB, free: 4.227 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.00295, allocations: 4.375 kB / 450.1 MB, free: 4.223 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.002955, allocations: 1.656 kB / 450.1 MB, free: 4.223 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.437e-05/0.002969, allocations: 3.938 kB / 450.1 MB, free: 4.219 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.55e-05/0.003035, allocations: 57.59 kB / 450.1 MB, free: 4.148 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.353e-05/0.003068, allocations: 15.27 kB / 450.1 MB, free: 4.125 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.003084, allocations: 15.56 kB / 450.2 MB, free: 4.109 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.003122, allocations: 0 / 450.2 MB, free: 4.109 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.003141, allocations: 34.5 kB / 450.2 MB, free: 4.066 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 4.91e-07/0.003142, allocations: 1.609 kB / 450.2 MB, free: 4.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.194e-05/0.003224, allocations: 29.7 kB / 450.2 MB, free: 4.031 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.003254, allocations: 56.03 kB / 450.3 MB, free: 3.965 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.492e-05/0.003278, allocations: 91.55 kB / 450.4 MB, free: 3.867 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.003287, allocations: 25.7 kB / 450.4 MB, free: 3.836 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.981e-05/0.003307, allocations: 80.14 kB / 450.5 MB, free: 3.754 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.003334, allocations: 2.062 kB / 450.5 MB, free: 3.754 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.003357, allocations: 22.25 kB / 450.5 MB, free: 3.727 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.003435, allocations: 316.2 kB / 450.8 MB, free: 3.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-06/0.003441, allocations: 0 / 450.8 MB, free: 3.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-06/0.003446, allocations: 0 / 450.8 MB, free: 3.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.199e-05/0.003468, allocations: 13.42 kB / 450.8 MB, free: 3.391 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.00347, allocations: 2.281 kB / 450.8 MB, free: 3.391 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.012e-05/0.00351, allocations: 29.7 kB / 450.8 MB, free: 3.355 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.003524, allocations: 11.98 kB / 450.9 MB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.003529, allocations: 0.625 kB / 450.9 MB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.003537, allocations: 3.188 kB / 450.9 MB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.003594, allocations: 0 / 450.9 MB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.003596, allocations: 0 / 450.9 MB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.584e-06/0.003604, allocations: 4 kB / 450.9 MB, free: 3.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.003613, allocations: 0 / 450.9 MB, free: 3.34 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 4.875e-05/0.003662, allocations: 109.8 kB / 451 MB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-06/0.003668, allocations: 8.547 kB / 451 MB, free: 3.215 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.253e-05/0.00374, allocations: 45.53 kB / 451 MB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.003742, allocations: 1.219 kB / 451 MB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.003743, allocations: 0 / 451 MB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.003746, allocations: 0 / 451 MB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.588e-05/0.003792, allocations: 67.14 kB / 451.1 MB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.003793, allocations: 0.7969 kB / 451.1 MB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-05/0.003805, allocations: 8.578 kB / 451.1 MB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-06/0.00381, allocations: 3.938 kB / 451.1 MB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.003811, allocations: 0.6562 kB / 451.1 MB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-06/0.003815, allocations: 4.625 kB / 451.1 MB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.003816, allocations: 0.9844 kB / 451.1 MB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.003817, allocations: 0.5625 kB / 451.1 MB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.476e-05/0.003862, allocations: 61.53 kB / 451.2 MB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-06/0.003869, allocations: 4.656 kB / 451.2 MB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.098e-06/0.003873, allocations: 0 / 451.2 MB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-06/0.003882, allocations: 0.9062 kB / 451.2 MB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.003886, allocations: 1.125 kB / 451.2 MB, free: 2.984 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.541e-06/0.003891, allocations: 6.516 kB / 451.2 MB, free: 2.977 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003891, allocations: 0 / 451.2 MB, free: 2.977 MB / 426.7 MB Notification: Performance of remove unused functions: time 9.675e-05/0.003988, allocations: 5.094 kB / 451.2 MB, free: 2.973 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 9.752e-05/0.004085, allocations: 77.33 kB / 451.3 MB, free: 2.887 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.319e-05/0.004139, allocations: 12.84 kB / 451.3 MB, free: 2.871 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.004141, allocations: 1 kB / 451.3 MB, free: 2.871 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.565e-06/0.004149, allocations: 12.8 kB / 451.3 MB, free: 2.855 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.666e-05/0.004196, allocations: 9.25 kB / 451.3 MB, free: 2.848 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001409/0.004336, allocations: 77.86 kB / 451.4 MB, free: 2.746 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.562e-05/0.004362, allocations: 55.34 kB / 451.4 MB, free: 2.672 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.519e-05/0.004387, allocations: 5.875 kB / 451.4 MB, free: 2.668 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.004417, allocations: 48.89 kB / 451.5 MB, free: 2.621 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.004417, allocations: 0 / 451.5 MB, free: 2.621 MB / 426.7 MB Notification: Performance of Templates: time 0.001731/0.006148, allocations: 317.2 kB / 451.8 MB, free: 2.328 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.662765541113913]