Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.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.001358/0.001358, allocations: 119.7 kB / 17.13 MB, free: 5.758 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.001289/0.001289, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.437/1.437, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.077/1.077, allocations: 175.8 MB / 479.1 MB, free: 3.672 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.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 70.8 kB / 0.6664 GB, free: 10.9 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1767, allocations: 94.55 MB / 0.7587 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001692/0.1784, allocations: 0.5737 MB / 0.7593 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003916/0.1788, allocations: 116 kB / 0.7594 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.1788, allocations: 0 / 0.7594 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.1789, allocations: 3.938 kB / 0.7594 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-06/0.1789, allocations: 0 / 0.7594 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.1792, allocations: 35.89 kB / 0.7594 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1793, allocations: 71.92 kB / 0.7595 GB, free: 284 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.1794, allocations: 4 kB / 0.7595 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.697e-05/0.1794, allocations: 23.97 kB / 0.7595 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.48e-05/0.1795, allocations: 19.97 kB / 0.7595 GB, free: 236 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1795, allocations: 4 kB / 0.7596 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1796, allocations: 51.95 kB / 0.7596 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.13e-05/0.1797, allocations: 23.91 kB / 0.7596 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.1797, allocations: 19.91 kB / 0.7596 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.1798, allocations: 71.78 kB / 0.7597 GB, free: 64 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1798, allocations: 0 / 0.7597 GB, free: 64 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1798, allocations: 0 / 0.7597 GB, free: 64 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.1799, allocations: 4 kB / 0.7597 GB, free: 60 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005567/0.1804, allocations: 383.3 kB / 0.7601 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1804, allocations: 12.03 kB / 0.7601 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1805, allocations: 4.938 kB / 0.7601 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1806, allocations: 160.4 kB / 0.7602 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/0.1809, allocations: 289.5 kB / 0.7605 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.1809, allocations: 384 / 0.7605 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.1811, allocations: 86.12 kB / 0.7606 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1812, allocations: 7.938 kB / 0.7606 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1812, allocations: 4 kB / 0.7606 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1812, allocations: 0 / 0.7606 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.1815, allocations: 131.8 kB / 0.7607 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.1817, allocations: 173.6 kB / 0.7609 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.182, allocations: 98.45 kB / 0.761 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.1822, allocations: 32.84 kB / 0.761 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.1822, allocations: 15.97 kB / 0.7611 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1822, allocations: 30.56 kB / 0.7611 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1822, allocations: 0 / 0.7611 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0005589/0.1828, allocations: 149.8 kB / 0.7612 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.1828, allocations: 55.34 kB / 0.7613 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.819e-05/0.1829, allocations: 93.86 kB / 0.7614 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1829, allocations: 25.7 kB / 0.7614 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.1829, allocations: 80.14 kB / 0.7615 GB, free: 14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.183, allocations: 51.56 kB / 0.7615 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.1831, allocations: 29.7 kB / 0.7615 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1832, allocations: 310.8 kB / 0.7618 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.1833, allocations: 35.97 kB / 0.7619 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.1835, allocations: 32.41 kB / 0.7619 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.1838, allocations: 80.91 kB / 0.762 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1838, allocations: 0 / 0.762 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003477/0.1841, allocations: 113.6 kB / 0.7621 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1841, allocations: 11.94 kB / 0.7621 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1841, allocations: 0 / 0.7621 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1841, allocations: 0 / 0.7621 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.1843, allocations: 27.92 kB / 0.7621 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1843, allocations: 0 / 0.7621 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.146e-05/0.1844, allocations: 7.984 kB / 0.7621 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.1844, allocations: 4 kB / 0.7621 GB, free: 13.29 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.403e-05/0.1845, allocations: 117.8 kB / 0.7623 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.1845, allocations: 11.89 kB / 0.7623 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.1845, allocations: 11.97 kB / 0.7623 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1845, allocations: 7.938 kB / 0.7623 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1845, allocations: 0 / 0.7623 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1845, allocations: 0 / 0.7623 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.1847, allocations: 173.6 kB / 0.7624 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.1847, allocations: 4 kB / 0.7625 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.1848, allocations: 31.91 kB / 0.7625 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1848, allocations: 3.938 kB / 0.7625 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1848, allocations: 8 kB / 0.7625 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1848, allocations: 0 / 0.7625 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1848, allocations: 4 kB / 0.7625 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.1852, allocations: 133.1 kB / 0.7626 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.1853, allocations: 85 kB / 0.7627 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1853, allocations: 11.94 kB / 0.7627 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.313e-05/0.1853, allocations: 7.984 kB / 0.7627 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.1854, allocations: 11.92 kB / 0.7627 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.1854, allocations: 8 kB / 0.7627 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.188e-05/0.1855, allocations: 79.28 kB / 0.7628 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1855, allocations: 0 / 0.7628 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002209/0.1857, allocations: 19.98 kB / 0.7628 GB, free: 12.46 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000191/0.1859, allocations: 119.1 kB / 0.763 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.1862, allocations: 87.86 kB / 0.763 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1862, allocations: 0 / 0.763 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.1864, allocations: 47.91 kB / 0.7631 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.1865, allocations: 8 kB / 0.7631 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.1869, allocations: 186.6 kB / 0.7633 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.1873, allocations: 0.6846 MB / 0.7639 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.1873, allocations: 19.42 kB / 0.764 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1873, allocations: 0 / 0.764 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.002995/0.1903, allocations: 1.329 MB / 0.7653 GB, free: 9.926 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.088643844006583] Failed to read output from testmodel.py, exit status != 0: 0.19727906095795333 0.21019726799999994 0.02765797 Calling exit ...