Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.001313/0.001313, allocations: 118.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.001347/0.001347, allocations: 193.2 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.407/1.407, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.066/1.066, allocations: 175.7 MB / 479.1 MB, free: 3.707 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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 73.45 kB / 0.6664 GB, free: 10.89 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1928, allocations: 94.54 MB / 0.7587 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002937/0.1958, allocations: 1.535 MB / 0.7602 GB, free: 15.56 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0004961/0.1963, allocations: 185.2 kB / 0.7604 GB, free: 15.38 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.1963, allocations: 3.938 kB / 0.7604 GB, free: 15.38 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.1964, allocations: 7.938 kB / 0.7604 GB, free: 15.37 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.067e-05/0.1964, allocations: 4 kB / 0.7604 GB, free: 15.36 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.1967, allocations: 55.81 kB / 0.7604 GB, free: 15.31 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 8.057e-05/0.1968, allocations: 31.92 kB / 0.7605 GB, free: 15.28 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.1969, allocations: 15.92 kB / 0.7605 GB, free: 15.26 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 4.968e-05/0.197, allocations: 19.92 kB / 0.7605 GB, free: 15.24 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.197, allocations: 15.92 kB / 0.7605 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.197, allocations: 4 kB / 0.7605 GB, free: 15.22 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1972, allocations: 47.95 kB / 0.7606 GB, free: 15.18 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.1972, allocations: 15.91 kB / 0.7606 GB, free: 15.16 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.1972, allocations: 11.94 kB / 0.7606 GB, free: 15.15 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.1974, allocations: 63.84 kB / 0.7606 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.1974, allocations: 4 kB / 0.7606 GB, free: 15.08 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1974, allocations: 0 / 0.7606 GB, free: 15.08 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.1974, allocations: 0 / 0.7606 GB, free: 15.08 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005314/0.1979, allocations: 359.2 kB / 0.761 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1979, allocations: 8.031 kB / 0.761 GB, free: 14.67 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.198, allocations: 8.891 kB / 0.761 GB, free: 14.66 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.1981, allocations: 172.3 kB / 0.7612 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.1982, allocations: 384 / 0.7612 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.1982, allocations: 8.375 kB / 0.7612 GB, free: 14.45 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.1984, allocations: 66.16 kB / 0.7612 GB, free: 14.38 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1984, allocations: 192 / 0.7612 GB, free: 14.38 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1984, allocations: 3.938 kB / 0.7612 GB, free: 14.38 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1984, allocations: 4 kB / 0.7612 GB, free: 14.37 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.1986, allocations: 43.95 kB / 0.7613 GB, free: 14.33 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.199, allocations: 280.8 kB / 0.7616 GB, free: 14 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.1994, allocations: 62.47 kB / 0.7616 GB, free: 13.93 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1995, allocations: 24.91 kB / 0.7616 GB, free: 13.91 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.1997, allocations: 166.2 kB / 0.7618 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.1998, allocations: 38.56 kB / 0.7618 GB, free: 13.66 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1998, allocations: 0 / 0.7618 GB, free: 13.66 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.0004086/0.2002, allocations: 93.58 kB / 0.7619 GB, free: 13.56 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.2002, allocations: 51.41 kB / 0.762 GB, free: 13.5 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.2004, allocations: 117.8 kB / 0.7621 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.2004, allocations: 25.7 kB / 0.7621 GB, free: 13.34 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.2005, allocations: 88.12 kB / 0.7622 GB, free: 13.25 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.2005, allocations: 7.953 kB / 0.7622 GB, free: 13.25 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.2005, allocations: 17.72 kB / 0.7622 GB, free: 13.22 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2007, allocations: 322.8 kB / 0.7625 GB, free: 12.9 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.2008, allocations: 15.98 kB / 0.7625 GB, free: 12.88 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.2009, allocations: 23.92 kB / 0.7626 GB, free: 12.86 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.201, allocations: 61.02 kB / 0.7626 GB, free: 12.8 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.201, allocations: 0 / 0.7626 GB, free: 12.8 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002279/0.2013, allocations: 73.59 kB / 0.7627 GB, free: 12.72 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2013, allocations: 7.984 kB / 0.7627 GB, free: 12.71 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2013, allocations: 0 / 0.7627 GB, free: 12.71 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2013, allocations: 0 / 0.7627 GB, free: 12.71 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.2014, allocations: 15.98 kB / 0.7627 GB, free: 12.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2014, allocations: 0 / 0.7627 GB, free: 12.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.146e-05/0.2015, allocations: 11.95 kB / 0.7627 GB, free: 12.68 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.2015, allocations: 0 / 0.7627 GB, free: 12.68 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.169e-05/0.2016, allocations: 121.7 kB / 0.7628 GB, free: 12.55 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.2016, allocations: 0 / 0.7628 GB, free: 12.55 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.2019, allocations: 89.48 kB / 0.7629 GB, free: 12.45 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2019, allocations: 0 / 0.7629 GB, free: 12.45 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2019, allocations: 0 / 0.7629 GB, free: 12.45 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2019, allocations: 4 kB / 0.7629 GB, free: 12.44 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.2021, allocations: 165.6 kB / 0.7631 GB, free: 12.23 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2021, allocations: 0 / 0.7631 GB, free: 12.23 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.922e-05/0.2022, allocations: 19.98 kB / 0.7631 GB, free: 12.21 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2022, allocations: 0 / 0.7631 GB, free: 12.21 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.2022, allocations: 4 kB / 0.7631 GB, free: 12.21 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2022, allocations: 0 / 0.7631 GB, free: 12.21 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2022, allocations: 0 / 0.7631 GB, free: 12.21 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.2025, allocations: 179.4 kB / 0.7633 GB, free: 12.02 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.2025, allocations: 77.11 kB / 0.7634 GB, free: 11.92 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.2025, allocations: 0 / 0.7634 GB, free: 11.92 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.684e-05/0.2026, allocations: 7.984 kB / 0.7634 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.2027, allocations: 8 kB / 0.7634 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.2027, allocations: 0 / 0.7634 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 5.754e-05/0.2027, allocations: 95.2 kB / 0.7635 GB, free: 11.81 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.2027, allocations: 0 / 0.7635 GB, free: 11.81 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002435/0.203, allocations: 16 kB / 0.7635 GB, free: 11.8 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001939/0.2032, allocations: 119.2 kB / 0.7636 GB, free: 11.67 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.2034, allocations: 43.95 kB / 0.7636 GB, free: 11.63 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2034, allocations: 0 / 0.7636 GB, free: 11.63 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.2035, allocations: 27.97 kB / 0.7637 GB, free: 11.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.2038, allocations: 11.92 kB / 0.7637 GB, free: 11.59 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.2042, allocations: 151.2 kB / 0.7638 GB, free: 11.41 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.2045, allocations: 0.6806 MB / 0.7645 GB, free: 10.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.2045, allocations: 15.42 kB / 0.7645 GB, free: 10.69 MB / 0.5763 GB Notification: Performance of SimCode: time 3.3e-07/0.2045, allocations: 0 / 0.7645 GB, free: 10.69 MB / 0.5763 GB Notification: Performance of Templates: time 0.00277/0.2073, allocations: 0.9718 MB / 0.7654 GB, free: 9.719 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.927219327073544] Failed to read output from testmodel.py, exit status != 0: 0.21477882494218647 0.22856309400000002 0.028334288000000003 Calling exit ...