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.001328/0.001328, allocations: 115 kB / 17.08 MB, free: 5.988 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.001364/0.001364, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.426/1.426, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.131/1.131, allocations: 173.4 MB / 471.3 MB, free: 6.602 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.001898/0.001898, allocations: 71.33 kB / 0.649 GB, free: 22.89 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1665, allocations: 89.52 MB / 0.7365 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001776/0.1683, allocations: 0.5835 MB / 0.737 GB, free: 3.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004003/0.1688, allocations: 104 kB / 0.7371 GB, free: 2.918 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.1688, allocations: 4 kB / 0.7371 GB, free: 2.914 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.1688, allocations: 0 / 0.7371 GB, free: 2.914 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.153e-06/0.1689, allocations: 0 / 0.7371 GB, free: 2.914 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1693, allocations: 35.89 kB / 0.7372 GB, free: 2.879 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1694, allocations: 67.92 kB / 0.7372 GB, free: 2.812 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.1694, allocations: 4 kB / 0.7372 GB, free: 2.809 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.1695, allocations: 31.97 kB / 0.7373 GB, free: 2.777 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.1695, allocations: 19.97 kB / 0.7373 GB, free: 2.758 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.1696, allocations: 4 kB / 0.7373 GB, free: 2.754 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.1697, allocations: 51.89 kB / 0.7373 GB, free: 2.703 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.195e-05/0.1698, allocations: 23.91 kB / 0.7374 GB, free: 2.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.1698, allocations: 23.91 kB / 0.7374 GB, free: 2.656 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.17, allocations: 71.78 kB / 0.7374 GB, free: 2.586 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.17, allocations: 0 / 0.7374 GB, free: 2.586 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.17, allocations: 0 / 0.7374 GB, free: 2.586 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.17, allocations: 0 / 0.7374 GB, free: 2.586 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005736/0.1706, allocations: 383.3 kB / 0.7378 GB, free: 2.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1706, allocations: 11.97 kB / 0.7378 GB, free: 2.148 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.1707, allocations: 4.938 kB / 0.7378 GB, free: 2.145 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1708, allocations: 164.4 kB / 0.738 GB, free: 1.945 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002965/0.1711, allocations: 281.6 kB / 0.7383 GB, free: 1.609 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.1711, allocations: 4.375 kB / 0.7383 GB, free: 1.605 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.1714, allocations: 82.14 kB / 0.7383 GB, free: 1.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1714, allocations: 7.875 kB / 0.7383 GB, free: 1.512 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1714, allocations: 0 / 0.7383 GB, free: 1.512 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1714, allocations: 4 kB / 0.7383 GB, free: 1.508 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003727/0.1718, allocations: 139.8 kB / 0.7385 GB, free: 1.371 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.172, allocations: 173.6 kB / 0.7386 GB, free: 1.152 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.1723, allocations: 94.52 kB / 0.7387 GB, free: 1.051 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.1725, allocations: 40.84 kB / 0.7388 GB, free: 1.008 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1725, allocations: 3.984 kB / 0.7388 GB, free: 1.004 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1726, allocations: 46.48 kB / 0.7388 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.1726, allocations: 0 / 0.7388 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005558/0.1731, allocations: 149.8 kB / 0.739 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.1732, allocations: 51.41 kB / 0.739 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.126e-05/0.1732, allocations: 93.84 kB / 0.7391 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1733, allocations: 25.7 kB / 0.7391 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.1733, allocations: 84.14 kB / 0.7392 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.802e-05/0.1734, allocations: 39.64 kB / 0.7392 GB, free: 488 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.1734, allocations: 33.69 kB / 0.7393 GB, free: 448 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1736, allocations: 314.8 kB / 0.7396 GB, free: 124 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.1737, allocations: 31.97 kB / 0.7396 GB, free: 92 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.1739, allocations: 31.98 kB / 0.7396 GB, free: 60 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.1742, allocations: 76.69 kB / 0.7397 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1742, allocations: 0 / 0.7397 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003485/0.1745, allocations: 117.6 kB / 0.7398 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1746, allocations: 7.938 kB / 0.7398 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1746, allocations: 4 kB / 0.7398 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1746, allocations: 0 / 0.7398 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1747, allocations: 23.98 kB / 0.7399 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1748, allocations: 0 / 0.7399 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.1748, allocations: 11.98 kB / 0.7399 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.1749, allocations: 4 kB / 0.7399 GB, free: 15.81 MB / 0.5606 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 8.9e-05/0.1749, allocations: 117.8 kB / 0.74 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.175, allocations: 11.88 kB / 0.74 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.175, allocations: 15.91 kB / 0.74 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.175, allocations: 11.92 kB / 0.74 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1751, allocations: 4 kB / 0.74 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1751, allocations: 0 / 0.74 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.1752, allocations: 177.6 kB / 0.7402 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1752, allocations: 4 kB / 0.7402 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.1754, allocations: 23.97 kB / 0.7402 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.1754, allocations: 3.938 kB / 0.7402 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1754, allocations: 4 kB / 0.7402 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1754, allocations: 0 / 0.7402 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1754, allocations: 0 / 0.7402 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.1758, allocations: 149 kB / 0.7404 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.1758, allocations: 85.05 kB / 0.7405 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.1759, allocations: 3.938 kB / 0.7405 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.781e-05/0.1759, allocations: 7.938 kB / 0.7405 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.176, allocations: 15.97 kB / 0.7405 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.176, allocations: 4 kB / 0.7405 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.423e-05/0.1761, allocations: 75.28 kB / 0.7406 GB, free: 15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1761, allocations: 4 kB / 0.7406 GB, free: 15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002257/0.1763, allocations: 20 kB / 0.7406 GB, free: 14.98 MB / 0.5606 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.0002488/0.1765, allocations: 115.2 kB / 0.7407 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003809/0.1769, allocations: 88.75 kB / 0.7408 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1769, allocations: 0 / 0.7408 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.1771, allocations: 55.89 kB / 0.7408 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.1773, allocations: 4.375 kB / 0.7408 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.1777, allocations: 186.6 kB / 0.741 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.178, allocations: 0.6845 MB / 0.7417 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.1781, allocations: 23.42 kB / 0.7417 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1781, allocations: 0 / 0.7417 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.003185/0.1813, allocations: 1.319 MB / 0.743 GB, free: 12.45 MB / 0.5606 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: 7.8543535568751395] Failed to read output from testmodel.py, exit status != 0: 0.18740949197672307 0.201204656 0.028697048000000003 Calling exit ...