Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 113.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001282, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 245.7 MB, free: 4.242 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.152/1.152, allocations: 173.4 MB / 471.3 MB, free: 6.645 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 70.97 kB / 0.649 GB, free: 22.7 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.175, allocations: 89.53 MB / 0.7365 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001716/0.1767, allocations: 0.5718 MB / 0.737 GB, free: 3.062 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002448/0.177, allocations: 35.88 kB / 0.7371 GB, free: 3.027 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.349e-05/0.177, allocations: 3.938 kB / 0.7371 GB, free: 3.023 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.177, allocations: 4 kB / 0.7371 GB, free: 3.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-06/0.1771, allocations: 0 / 0.7371 GB, free: 3.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.1773, allocations: 11.98 kB / 0.7371 GB, free: 3.008 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.297e-05/0.1774, allocations: 0 / 0.7371 GB, free: 3.008 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.1774, allocations: 0 / 0.7371 GB, free: 3.008 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.553e-05/0.1775, allocations: 7.938 kB / 0.7371 GB, free: 3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.259e-05/0.1775, allocations: 4 kB / 0.7371 GB, free: 2.996 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.1775, allocations: 0 / 0.7371 GB, free: 2.996 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.623e-05/0.1776, allocations: 15.98 kB / 0.7371 GB, free: 2.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.1776, allocations: 7.922 kB / 0.7371 GB, free: 2.973 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.1777, allocations: 4 kB / 0.7371 GB, free: 2.969 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.147e-05/0.1778, allocations: 23.84 kB / 0.7371 GB, free: 2.945 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1778, allocations: 0 / 0.7371 GB, free: 2.945 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1778, allocations: 0 / 0.7371 GB, free: 2.945 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.1778, allocations: 0 / 0.7371 GB, free: 2.945 MB / 0.545 GB 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.0003379/0.1781, allocations: 311.6 kB / 0.7374 GB, free: 2.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1782, allocations: 8.031 kB / 0.7374 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.1782, allocations: 0.9375 kB / 0.7374 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.1783, allocations: 164.4 kB / 0.7376 GB, free: 2.383 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1783, allocations: 4.375 kB / 0.7376 GB, free: 2.379 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1784, allocations: 4.375 kB / 0.7376 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.168e-05/0.1785, allocations: 26.27 kB / 0.7376 GB, free: 2.344 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1785, allocations: 192 / 0.7376 GB, free: 2.344 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1785, allocations: 3.938 kB / 0.7376 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1785, allocations: 3.984 kB / 0.7376 GB, free: 2.336 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.976e-05/0.1785, allocations: 7.938 kB / 0.7376 GB, free: 2.328 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.1787, allocations: 149.7 kB / 0.7378 GB, free: 2.133 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.619e-05/0.1787, allocations: 22.61 kB / 0.7378 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.1788, allocations: 4.859 kB / 0.7378 GB, free: 2.094 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.1788, allocations: 0 / 0.7378 GB, free: 2.094 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.1788, allocations: 35.03 kB / 0.7378 GB, free: 2.051 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1788, allocations: 0 / 0.7378 GB, free: 2.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001319/0.179, allocations: 45.56 kB / 0.7379 GB, free: 2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.179, allocations: 51.41 kB / 0.7379 GB, free: 1.938 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.471e-05/0.1791, allocations: 89.98 kB / 0.738 GB, free: 1.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1791, allocations: 29.7 kB / 0.7381 GB, free: 1.805 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.1791, allocations: 84.14 kB / 0.7381 GB, free: 1.719 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.1792, allocations: 3.953 kB / 0.7381 GB, free: 1.715 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.1792, allocations: 9.719 kB / 0.7381 GB, free: 1.699 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1793, allocations: 310.8 kB / 0.7384 GB, free: 1.387 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.1794, allocations: 8 kB / 0.7384 GB, free: 1.379 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-06/0.1794, allocations: 0 / 0.7384 GB, free: 1.379 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.942e-05/0.1794, allocations: 12.92 kB / 0.7385 GB, free: 1.363 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1794, allocations: 0 / 0.7385 GB, free: 1.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.485e-05/0.1795, allocations: 37.62 kB / 0.7385 GB, free: 1.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1795, allocations: 11.94 kB / 0.7385 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1795, allocations: 0 / 0.7385 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1795, allocations: 7.875 kB / 0.7385 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.187e-05/0.1796, allocations: 0 / 0.7385 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1796, allocations: 3.984 kB / 0.7385 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.1796, allocations: 8 kB / 0.7385 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.1796, allocations: 0 / 0.7385 GB, free: 1.289 MB / 0.545 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 7.21e-05/0.1797, allocations: 109.9 kB / 0.7386 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.1797, allocations: 3.984 kB / 0.7386 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.1799, allocations: 52.64 kB / 0.7387 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1799, allocations: 0 / 0.7387 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1799, allocations: 0 / 0.7387 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.1799, allocations: 0 / 0.7387 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.18, allocations: 149.7 kB / 0.7388 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.18, allocations: 4 kB / 0.7388 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.579e-05/0.18, allocations: 0 / 0.7388 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.18, allocations: 0 / 0.7388 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.18, allocations: 3.938 kB / 0.7388 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.18, allocations: 0 / 0.7388 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1801, allocations: 4 kB / 0.7388 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.879e-05/0.1801, allocations: 57.12 kB / 0.7389 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.1802, allocations: 81.14 kB / 0.739 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.1802, allocations: 7.938 kB / 0.739 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.242e-05/0.1802, allocations: 4 kB / 0.739 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.1802, allocations: 0 / 0.739 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1802, allocations: 0 / 0.739 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.368e-05/0.1803, allocations: 79.22 kB / 0.7391 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1803, allocations: 0 / 0.7391 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001942/0.1805, allocations: 4 kB / 0.7391 GB, free: 0.6367 MB / 0.545 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.00016/0.1806, allocations: 115.2 kB / 0.7392 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.147e-05/0.1807, allocations: 4 kB / 0.7392 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1807, allocations: 0 / 0.7392 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.893e-06/0.1807, allocations: 0 / 0.7392 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.1809, allocations: 4 kB / 0.7392 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002201/0.1811, allocations: 102.8 kB / 0.7393 GB, free: 380 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1814, allocations: 0.6728 MB / 0.7399 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.1815, allocations: 15.56 kB / 0.74 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1815, allocations: 0 / 0.74 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.002039/0.1835, allocations: 460.5 kB / 0.7404 GB, free: 15.21 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.01245935400948] Failed to read output from testmodel.py, exit status != 0: 0.18979201884940267 0.20342691299999996 0.02310908999999994 Calling exit ...