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.0008713/0.0008713, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009084/0.0009084, allocations: 177 kB / 23.5 MB, free: 1.055 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.07/1.07, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.7741/0.7741, allocations: 154.6 MB / 414.9 MB, free: 0.6797 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. " [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.793e-06/1.793e-06, allocations: 0.875 kB / 0.5204 GB, free: 2.465 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.182e-05, allocations: 5.484 kB / 0.5204 GB, free: 2.461 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001083/0.001105, allocations: 0.5929 MB / 0.521 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001772/0.001282, allocations: 25.17 kB / 0.521 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.0013, allocations: 0 / 0.521 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.001316, allocations: 1.781 kB / 0.521 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.122e-06/0.001322, allocations: 0 / 0.521 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.001605, allocations: 12.41 kB / 0.521 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.84e-05/0.001653, allocations: 4 kB / 0.521 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.001691, allocations: 1.719 kB / 0.521 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.738e-05/0.001718, allocations: 7.938 kB / 0.521 GB, free: 1.84 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.988e-05/0.001738, allocations: 3.984 kB / 0.521 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.001753, allocations: 0 / 0.521 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.223e-05/0.001815, allocations: 17.53 kB / 0.5211 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.795e-06/0.001823, allocations: 0 / 0.5211 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.412e-05/0.001837, allocations: 4 kB / 0.5211 GB, free: 1.816 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.409e-05/0.001921, allocations: 15.92 kB / 0.5211 GB, free: 1.801 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.001923, allocations: 0 / 0.5211 GB, free: 1.801 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.001923, allocations: 0.75 kB / 0.5211 GB, free: 1.801 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.001928, allocations: 0 / 0.5211 GB, free: 1.801 MB / 490.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.0002473/0.002175, allocations: 337.8 kB / 0.5214 GB, free: 1.434 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.002211, allocations: 12.03 kB / 0.5214 GB, free: 1.422 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.002248, allocations: 0.9375 kB / 0.5214 GB, free: 1.422 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.56e-05/0.002303, allocations: 104.6 kB / 0.5215 GB, free: 1.293 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.002314, allocations: 1.719 kB / 0.5215 GB, free: 1.293 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.002324, allocations: 8.359 kB / 0.5215 GB, free: 1.285 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.792e-05/0.002402, allocations: 30.27 kB / 0.5215 GB, free: 1.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.002408, allocations: 1.062 kB / 0.5215 GB, free: 1.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.002416, allocations: 384 / 0.5215 GB, free: 1.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.002422, allocations: 3.406 kB / 0.5216 GB, free: 1.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.559e-05/0.002438, allocations: 7.938 kB / 0.5216 GB, free: 1.242 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.272e-05/0.00253, allocations: 104.6 kB / 0.5217 GB, free: 1.105 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.842e-05/0.002569, allocations: 31.03 kB / 0.5217 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.002586, allocations: 11.67 kB / 0.5217 GB, free: 1.047 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.002616, allocations: 0 / 0.5217 GB, free: 1.047 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.002636, allocations: 41.45 kB / 0.5217 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.002637, allocations: 0 / 0.5217 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001114/0.002748, allocations: 34.77 kB / 0.5218 GB, free: 0.957 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.002776, allocations: 51.41 kB / 0.5218 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.95e-05/0.002815, allocations: 150.9 kB / 0.522 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.002824, allocations: 25.7 kB / 0.522 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.002852, allocations: 127.5 kB / 0.5221 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.002878, allocations: 5.453 kB / 0.5221 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.0029, allocations: 19.36 kB / 0.5221 GB, free: 0.543 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.00301, allocations: 0.4922 MB / 0.5226 GB, free: 40 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-06/0.003019, allocations: 0 / 0.5226 GB, free: 40 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-06/0.003025, allocations: 4.938 kB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.844e-05/0.003053, allocations: 11.69 kB / 0.5226 GB, free: 20 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.003055, allocations: 1.406 kB / 0.5226 GB, free: 20 kB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.878e-05/0.003104, allocations: 37.64 kB / 0.5227 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.003115, allocations: 4 kB / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.00312, allocations: 5.141 kB / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.00313, allocations: 0 / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.642e-05/0.003187, allocations: 4 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.003192, allocations: 0.8125 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.866e-06/0.003201, allocations: 3.938 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.003211, allocations: 2.906 kB / 0.5227 GB, free: 15.96 MB / 0.4948 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 (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.346e-05/0.003275, allocations: 160.6 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-06/0.003278, allocations: 352 / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.917e-05/0.003347, allocations: 40.28 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.003349, allocations: 2.75 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.003351, allocations: 0 / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.003354, allocations: 4 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.295e-05/0.003407, allocations: 112.5 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.003408, allocations: 0 / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-06/0.003418, allocations: 7.938 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.003419, allocations: 3.984 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.003425, allocations: 0 / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.003426, allocations: 0.6562 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.003426, allocations: 0 / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.913e-05/0.003475, allocations: 73.58 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-06/0.003479, allocations: 0 / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.003488, allocations: 4.672 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.388e-06/0.003492, allocations: 0 / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.003506, allocations: 5.688 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.003508, allocations: 3.938 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.981e-05/0.003538, allocations: 119.2 kB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.003538, allocations: 0 / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001192/0.003657, allocations: 7.938 kB / 0.5232 GB, free: 15.36 MB / 0.4948 GB 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.86e-05/0.003756, allocations: 101.6 kB / 0.5233 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.53e-05/0.003821, allocations: 19.62 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.003823, allocations: 0 / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.454e-06/0.00383, allocations: 14.23 kB / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.08e-05/0.003921, allocations: 4 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001766/0.004098, allocations: 79.95 kB / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.003e-05/0.004128, allocations: 59.34 kB / 0.5235 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.921e-05/0.004147, allocations: 4.969 kB / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.004165, allocations: 9.5 kB / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/0.004166, allocations: 0 / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.001621/0.005788, allocations: 298.6 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB " [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.796888211974874]