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.001343/0.001343, allocations: 106.5 kB / 18.88 MB, free: 2.918 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.00195/0.00195, allocations: 197.3 kB / 22.17 MB, free: 4.637 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.429/1.429, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.08/1.08, allocations: 175.8 MB / 481.9 MB, free: 7.691 MB / 382.1 MB " [Timeout remaining time 178] 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.002031/0.002031, allocations: 68.45 kB / 0.6705 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5692/0.5712, allocations: 94.53 MB / 0.7628 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002703/0.5739, allocations: 1.554 MB / 0.7643 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004678/0.5744, allocations: 188.3 kB / 0.7645 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.5744, allocations: 0.8438 kB / 0.7645 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.5745, allocations: 5.172 kB / 0.7645 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.476e-05/0.5745, allocations: 5.375 kB / 0.7645 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.5749, allocations: 47.69 kB / 0.7646 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.913e-05/0.5749, allocations: 41.55 kB / 0.7646 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.575, allocations: 15.52 kB / 0.7646 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.137e-05/0.5751, allocations: 13.78 kB / 0.7646 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.838e-05/0.5751, allocations: 18.44 kB / 0.7647 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.5751, allocations: 3.594 kB / 0.7647 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.5753, allocations: 55.44 kB / 0.7647 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.5753, allocations: 11.94 kB / 0.7647 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.5753, allocations: 12.94 kB / 0.7647 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.5755, allocations: 61.77 kB / 0.7648 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5755, allocations: 0.8438 kB / 0.7648 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5755, allocations: 2.375 kB / 0.7648 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5755, allocations: 1.25 kB / 0.7648 GB, free: 9.195 MB / 0.5762 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.0004265/0.5759, allocations: 360.3 kB / 0.7651 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.5759, allocations: 9.688 kB / 0.7652 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.576, allocations: 8.172 kB / 0.7652 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.594e-05/0.5761, allocations: 175.5 kB / 0.7653 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.5761, allocations: 5.281 kB / 0.7653 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.5761, allocations: 2.812 kB / 0.7653 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.5763, allocations: 63.12 kB / 0.7654 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5763, allocations: 192 / 0.7654 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.5763, allocations: 4.719 kB / 0.7654 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.5763, allocations: 1.703 kB / 0.7654 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.5765, allocations: 46.59 kB / 0.7655 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.5769, allocations: 280.5 kB / 0.7657 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.5772, allocations: 62.42 kB / 0.7658 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.575e-05/0.5773, allocations: 26.31 kB / 0.7658 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.5775, allocations: 169.1 kB / 0.766 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.5775, allocations: 32.14 kB / 0.766 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.5775, allocations: 0.7188 kB / 0.766 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003774/0.5778, allocations: 97.56 kB / 0.7661 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.5779, allocations: 51.97 kB / 0.7661 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.426e-05/0.5779, allocations: 115.5 kB / 0.7662 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.578, allocations: 25.7 kB / 0.7663 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.578, allocations: 86.88 kB / 0.7664 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.578, allocations: 10.11 kB / 0.7664 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.578, allocations: 19.36 kB / 0.7664 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.854e-05/0.5781, allocations: 317 kB / 0.7667 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.996e-05/0.5782, allocations: 23.89 kB / 0.7667 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-05/0.5783, allocations: 27.38 kB / 0.7667 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.5784, allocations: 45.16 kB / 0.7668 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5784, allocations: 1.094 kB / 0.7668 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002047/0.5786, allocations: 73.81 kB / 0.7668 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.5786, allocations: 6.219 kB / 0.7669 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5787, allocations: 0 / 0.7669 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5787, allocations: 4 kB / 0.7669 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.475e-05/0.5788, allocations: 12.48 kB / 0.7669 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.5788, allocations: 0.5625 kB / 0.7669 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.037e-05/0.5788, allocations: 14.22 kB / 0.7669 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.5788, allocations: 1.688 kB / 0.7669 GB, free: 7.234 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: 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 5.138e-05/0.5789, allocations: 113.6 kB / 0.767 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.5789, allocations: 1.75 kB / 0.767 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.5792, allocations: 94.38 kB / 0.7671 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5792, allocations: 1.734 kB / 0.7671 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5792, allocations: 0.5156 kB / 0.7671 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5792, allocations: 0 / 0.7671 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.5793, allocations: 170.8 kB / 0.7673 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5793, allocations: 0 / 0.7673 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-05/0.5794, allocations: 14.61 kB / 0.7673 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5794, allocations: 1.719 kB / 0.7673 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.5794, allocations: 1.891 kB / 0.7673 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5794, allocations: 4.656 kB / 0.7673 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5794, allocations: 0 / 0.7673 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.5796, allocations: 178.6 kB / 0.7674 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.5796, allocations: 78.91 kB / 0.7675 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.5796, allocations: 0.75 kB / 0.7675 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.382e-05/0.5797, allocations: 7.188 kB / 0.7675 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.5798, allocations: 16.5 kB / 0.7675 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.5798, allocations: 2.875 kB / 0.7675 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.007e-05/0.5798, allocations: 86.67 kB / 0.7676 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5798, allocations: 1.125 kB / 0.7676 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002559/0.5801, allocations: 17.73 kB / 0.7676 GB, free: 6.512 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: 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.0001711/0.5802, allocations: 114.2 kB / 0.7678 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.5805, allocations: 52.81 kB / 0.7678 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5805, allocations: 1.5 kB / 0.7678 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.5806, allocations: 28.06 kB / 0.7678 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.5809, allocations: 10.73 kB / 0.7678 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003039/0.5812, allocations: 149.1 kB / 0.768 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.5813, allocations: 0.6789 MB / 0.7686 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.5813, allocations: 12.58 kB / 0.7687 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.5813, allocations: 4 kB / 0.7687 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of Templates: time 0.002679/0.584, allocations: 0.9827 MB / 0.7696 GB, free: 5.473 MB / 0.5762 GB " [Timeout remaining time 659] 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: 8.537213092902675] Failed to read output from testmodel.py, exit status != 0: 0.5917602588888258 0.6040352840000001 0.025630544 Calling exit ...