Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.0008272/0.0008272, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001278/0.002105, 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.0006911/0.0006911, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009154/0.001606, 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 0.937/0.937, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1003/1.037, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.8139/0.8139, allocations: 154.6 MB / 398.8 MB, free: 380 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.3678/1.182, allocations: 49.04 MB / 447.8 MB, free: 6.602 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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 449.2 MB, free: 5.277 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.267e-05, allocations: 6.578 kB / 449.2 MB, free: 5.273 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002714/0.002737, allocations: 1.558 MB / 450.7 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001879/0.002925, allocations: 83.75 kB / 450.8 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.002954, allocations: 2.344 kB / 450.8 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.921e-05/0.003003, allocations: 0 / 450.8 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.993e-05/0.003033, allocations: 10.11 kB / 450.8 MB, free: 3.656 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.003192, allocations: 15.97 kB / 450.8 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.07e-05/0.003273, allocations: 26.02 kB / 450.9 MB, free: 3.621 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006092/0.009365, allocations: 7.984 kB / 450.9 MB, free: 3.613 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.124e-05/0.009426, allocations: 17.41 kB / 450.9 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.009461, allocations: 5.969 kB / 450.9 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.009477, allocations: 4.766 kB / 450.9 MB, free: 3.59 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.943e-05/0.009567, allocations: 23.91 kB / 450.9 MB, free: 3.566 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.009597, allocations: 6.375 kB / 450.9 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.34e-05/0.009611, allocations: 5.641 kB / 450.9 MB, free: 3.559 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.562e-05/0.009706, allocations: 21.94 kB / 450.9 MB, free: 3.539 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.009715, allocations: 0.6875 kB / 451 MB, free: 3.539 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.009716, allocations: 0 / 451 MB, free: 3.539 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.009727, allocations: 1.062 kB / 451 MB, free: 3.539 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003169/0.01004, allocations: 247.5 kB / 451.2 MB, free: 3.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.01007, allocations: 8.938 kB / 451.2 MB, free: 3.262 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.0101, allocations: 4.938 kB / 451.2 MB, free: 3.258 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.033e-05/0.01018, allocations: 113.7 kB / 451.3 MB, free: 3.121 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.01019, allocations: 1 kB / 451.3 MB, free: 3.121 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-06/0.0102, allocations: 2.031 kB / 451.3 MB, free: 3.121 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.0103, allocations: 57.78 kB / 451.4 MB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.01031, allocations: 0.7344 kB / 451.4 MB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-06/0.01031, allocations: 384 / 451.4 MB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.01032, allocations: 1.031 kB / 451.4 MB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.095e-05/0.01034, allocations: 8.625 kB / 451.4 MB, free: 3.047 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.01053, allocations: 155 kB / 451.5 MB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.445e-05/0.01059, allocations: 65.86 kB / 451.6 MB, free: 2.805 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.01061, allocations: 13.55 kB / 451.6 MB, free: 2.789 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.01064, allocations: 5.062 kB / 451.6 MB, free: 2.785 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.01066, allocations: 37.88 kB / 451.7 MB, free: 2.742 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.01066, allocations: 0 / 451.7 MB, free: 2.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001072/0.01077, allocations: 38.73 kB / 451.7 MB, free: 2.699 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.0108, allocations: 55.34 kB / 451.8 MB, free: 2.633 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.561e-05/0.01087, allocations: 110.7 kB / 451.9 MB, free: 2.512 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.01088, allocations: 25.7 kB / 451.9 MB, free: 2.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/0.01091, allocations: 84.08 kB / 452 MB, free: 2.395 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.01092, allocations: 11.95 kB / 452 MB, free: 2.383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.01095, allocations: 14.61 kB / 452 MB, free: 2.363 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002487/0.0112, allocations: 318.8 kB / 452.3 MB, free: 2.043 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.01121, allocations: 4.703 kB / 452.3 MB, free: 2.039 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.01122, allocations: 0 / 452.3 MB, free: 2.039 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.678e-05/0.01124, allocations: 20.69 kB / 452.3 MB, free: 2.016 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01125, allocations: 0 / 452.3 MB, free: 2.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.351e-05/0.0113, allocations: 38.39 kB / 452.4 MB, free: 1.973 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.01131, allocations: 8 kB / 452.4 MB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.01131, allocations: 0.5 kB / 452.4 MB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.01132, allocations: 0.6875 kB / 452.4 MB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-05/0.01139, allocations: 11.92 kB / 452.4 MB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.01139, allocations: 1.281 kB / 452.4 MB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.01141, allocations: 8.516 kB / 452.4 MB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.01142, allocations: 0 / 452.4 MB, free: 1.945 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 (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 5.229e-05/0.01147, allocations: 113.3 kB / 452.5 MB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.01149, allocations: 0.625 kB / 452.5 MB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.088e-05/0.01156, allocations: 46.25 kB / 452.6 MB, free: 1.773 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01156, allocations: 9.234 kB / 452.6 MB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.01157, allocations: 5.656 kB / 452.6 MB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.01157, allocations: 0 / 452.6 MB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.01167, allocations: 61.91 kB / 452.6 MB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01167, allocations: 0 / 452.6 MB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.01171, allocations: 11.98 kB / 452.6 MB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-06/0.01171, allocations: 5.453 kB / 452.6 MB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01171, allocations: 0.8906 kB / 452.6 MB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-06/0.01172, allocations: 1 kB / 452.6 MB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.01172, allocations: 0 / 452.6 MB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.01172, allocations: 3.938 kB / 452.6 MB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.0119, allocations: 188.5 kB / 452.8 MB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.01191, allocations: 0 / 452.8 MB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.936e-05/0.01196, allocations: 0 / 452.8 MB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.01198, allocations: 8.641 kB / 452.8 MB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.01199, allocations: 0 / 452.8 MB, free: 1.457 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.899e-05/0.012, allocations: 21.95 kB / 452.9 MB, free: 1.434 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.012, allocations: 0 / 452.9 MB, free: 1.434 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003218/0.01522, allocations: 8 kB / 452.9 MB, free: 1.426 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 (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 Backend phase and start with SimCode phase: time 0.0001061/0.01533, allocations: 78.12 kB / 452.9 MB, free: 1.344 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.333e-05/0.01539, allocations: 19 kB / 453 MB, free: 1.324 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.0154, allocations: 0 / 453 MB, free: 1.324 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.01542, allocations: 9.578 kB / 453 MB, free: 1.312 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.0156, allocations: 36.41 kB / 453 MB, free: 1.273 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.01597, allocations: 125.8 kB / 453.1 MB, free: 1.125 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.284e-05/0.016, allocations: 55.36 kB / 453.2 MB, free: 1.051 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.505e-05/0.01602, allocations: 1.5 kB / 453.2 MB, free: 1.051 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.01607, allocations: 55.36 kB / 453.2 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01607, allocations: 0 / 453.2 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of Templates: time 0.005368/0.02144, allocations: 0.5574 MB / 453.8 MB, free: 480 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.503815500997007]