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.001942/0.001942, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.002327/0.002327, allocations: 165.3 kB / 22.76 MB, free: 1.648 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.523/1.523, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.25/1.25, allocations: 154.6 MB / 414.2 MB, free: 0.6328 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 178] 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.924e-06/1.924e-06, allocations: 0 / 0.5197 GB, free: 2.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.431e-05, allocations: 6.516 kB / 0.5197 GB, free: 2.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.002334/0.002368, allocations: 0.5887 MB / 0.5203 GB, free: 1.949 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000242/0.00261, allocations: 21.05 kB / 0.5203 GB, free: 1.93 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.189e-05/0.002622, allocations: 0 / 0.5203 GB, free: 1.93 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.248e-05/0.002635, allocations: 2.875 kB / 0.5203 GB, free: 1.93 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.482e-06/0.002641, allocations: 4 kB / 0.5203 GB, free: 1.926 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.002954, allocations: 19.86 kB / 0.5203 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.183e-05/0.002995, allocations: 0 / 0.5203 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.003039, allocations: 0 / 0.5203 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.003074, allocations: 8.531 kB / 0.5203 GB, free: 1.898 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.842e-05/0.003103, allocations: 3.984 kB / 0.5203 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.003118, allocations: 0.5625 kB / 0.5203 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.003225, allocations: 16.53 kB / 0.5203 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.554e-06/0.003232, allocations: 0.5625 kB / 0.5203 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.003256, allocations: 4.859 kB / 0.5203 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.413e-05/0.00335, allocations: 11.92 kB / 0.5203 GB, free: 1.863 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003352, allocations: 4 kB / 0.5203 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003353, allocations: 1.531 kB / 0.5203 GB, free: 1.859 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.003357, allocations: 0 / 0.5203 GB, free: 1.859 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.0003879/0.003745, allocations: 238.4 kB / 0.5206 GB, free: 1.594 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.003799, allocations: 8.031 kB / 0.5206 GB, free: 1.586 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.003846, allocations: 1.875 kB / 0.5206 GB, free: 1.586 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.003968, allocations: 105.8 kB / 0.5207 GB, free: 1.457 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.00398, allocations: 1.781 kB / 0.5207 GB, free: 1.457 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-06/0.003989, allocations: 384 / 0.5207 GB, free: 1.457 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.004103, allocations: 38.19 kB / 0.5207 GB, free: 1.414 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.004112, allocations: 192 / 0.5207 GB, free: 1.414 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.004121, allocations: 1.531 kB / 0.5207 GB, free: 1.414 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.004125, allocations: 384 / 0.5207 GB, free: 1.414 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.415e-05/0.004149, allocations: 3.938 kB / 0.5207 GB, free: 1.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.004324, allocations: 102 kB / 0.5208 GB, free: 1.281 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.742e-05/0.004382, allocations: 14.58 kB / 0.5208 GB, free: 1.258 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.004409, allocations: 10.23 kB / 0.5209 GB, free: 1.246 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.319e-05/0.004452, allocations: 7.922 kB / 0.5209 GB, free: 1.238 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.004493, allocations: 30.56 kB / 0.5209 GB, free: 1.199 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.004494, allocations: 5.344 kB / 0.5209 GB, free: 1.195 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001848/0.004679, allocations: 29.7 kB / 0.5209 GB, free: 1.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.004739, allocations: 56.09 kB / 0.521 GB, free: 1.094 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.026e-05/0.00482, allocations: 89.86 kB / 0.5211 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.004847, allocations: 27.55 kB / 0.5211 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.004903, allocations: 80.14 kB / 0.5212 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.004929, allocations: 4 kB / 0.5212 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.004973, allocations: 9.719 kB / 0.5212 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.005213, allocations: 318.8 kB / 0.5215 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.005226, allocations: 5.906 kB / 0.5215 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.005238, allocations: 3.938 kB / 0.5215 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.793e-05/0.005286, allocations: 16.86 kB / 0.5215 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005288, allocations: 0 / 0.5215 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.819e-05/0.005376, allocations: 35.11 kB / 0.5215 GB, free: 488 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.005396, allocations: 8 kB / 0.5215 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.005402, allocations: 0 / 0.5215 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.005422, allocations: 5.297 kB / 0.5216 GB, free: 476 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.005478, allocations: 0 / 0.5216 GB, free: 476 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.005483, allocations: 4 kB / 0.5216 GB, free: 472 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.005509, allocations: 3.938 kB / 0.5216 GB, free: 468 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.005521, allocations: 0.5312 kB / 0.5216 GB, free: 468 kB / 490.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 0.0001189/0.00564, allocations: 110.3 kB / 0.5217 GB, free: 348 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.005656, allocations: 5.031 kB / 0.5217 GB, free: 344 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.005784, allocations: 41.91 kB / 0.5217 GB, free: 300 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.005786, allocations: 0 / 0.5217 GB, free: 300 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.00579, allocations: 0.5 kB / 0.5217 GB, free: 300 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.005793, allocations: 5.844 kB / 0.5217 GB, free: 296 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.005916, allocations: 97.27 kB / 0.5218 GB, free: 168 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.005917, allocations: 0 / 0.5218 GB, free: 168 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.005942, allocations: 4 kB / 0.5218 GB, free: 164 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.005944, allocations: 0 / 0.5218 GB, free: 164 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.005954, allocations: 6.422 kB / 0.5218 GB, free: 160 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.00596, allocations: 3.984 kB / 0.5218 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005961, allocations: 0 / 0.5218 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.006081, allocations: 69 kB / 0.5219 GB, free: 68 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.006086, allocations: 0 / 0.5219 GB, free: 68 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.006099, allocations: 0 / 0.5219 GB, free: 68 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.597e-05/0.006125, allocations: 7.984 kB / 0.5219 GB, free: 60 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.006141, allocations: 2.406 kB / 0.5219 GB, free: 60 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-06/0.006146, allocations: 0 / 0.5219 GB, free: 60 kB / 490.7 MB Notification: Performance of sorting global known variables: time 7.486e-05/0.006221, allocations: 75.28 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006221, allocations: 0 / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002731/0.006494, allocations: 4 kB / 0.522 GB, free: 15.98 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 0.0001961/0.00669, allocations: 100.2 kB / 0.5221 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.085e-05/0.006771, allocations: 4 kB / 0.5221 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.006773, allocations: 0.9375 kB / 0.5221 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-05/0.006792, allocations: 11.94 kB / 0.5221 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.00699, allocations: 7.016 kB / 0.5221 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.007259, allocations: 82.23 kB / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.179e-05/0.007331, allocations: 51.36 kB / 0.5222 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.473e-05/0.007376, allocations: 8 kB / 0.5222 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.007414, allocations: 11.25 kB / 0.5222 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.007414, allocations: 0 / 0.5222 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of Templates: time 0.003437/0.01085, allocations: 296.3 kB / 0.5225 GB, free: 15.38 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.904832502943464]