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.001631/0.001631, allocations: 110.5 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.001795/0.001795, allocations: 191.7 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.432/1.432, 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.166/1.166, 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.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.001988/0.001988, allocations: 69.78 kB / 0.649 GB, free: 22.83 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1568, allocations: 89.53 MB / 0.7364 GB, free: 3.641 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002679/0.1595, allocations: 1.522 MB / 0.7379 GB, free: 2.109 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004489/0.1599, allocations: 191.3 kB / 0.7381 GB, free: 1.922 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.16, allocations: 0 / 0.7381 GB, free: 1.922 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.16, allocations: 3.938 kB / 0.7381 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.243e-05/0.1601, allocations: 3.984 kB / 0.7381 GB, free: 1.914 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.1604, allocations: 55.83 kB / 0.7381 GB, free: 1.859 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.1605, allocations: 31.91 kB / 0.7382 GB, free: 1.828 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.039e-05/0.1605, allocations: 19.88 kB / 0.7382 GB, free: 1.809 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.065e-05/0.1606, allocations: 15.98 kB / 0.7382 GB, free: 1.793 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.1606, allocations: 23.91 kB / 0.7382 GB, free: 1.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1606, allocations: 4 kB / 0.7382 GB, free: 1.766 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1608, allocations: 43.95 kB / 0.7383 GB, free: 1.723 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.1608, allocations: 11.94 kB / 0.7383 GB, free: 1.711 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.1608, allocations: 19.92 kB / 0.7383 GB, free: 1.691 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.161, allocations: 55.84 kB / 0.7384 GB, free: 1.637 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.161, allocations: 4 kB / 0.7384 GB, free: 1.633 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.161, allocations: 3.938 kB / 0.7384 GB, free: 1.629 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.161, allocations: 0 / 0.7384 GB, free: 1.629 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005061/0.1615, allocations: 359.2 kB / 0.7387 GB, free: 1.227 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.1616, allocations: 12.03 kB / 0.7387 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.1616, allocations: 4.891 kB / 0.7387 GB, free: 1.211 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.1618, allocations: 176.3 kB / 0.7389 GB, free: 1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1618, allocations: 384 / 0.7389 GB, free: 1 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.1618, allocations: 8.375 kB / 0.7389 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.162, allocations: 62.17 kB / 0.739 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.162, allocations: 192 / 0.739 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1621, allocations: 3.938 kB / 0.739 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1621, allocations: 0 / 0.739 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.1623, allocations: 43.95 kB / 0.739 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.1627, allocations: 284.8 kB / 0.7393 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.163, allocations: 58.48 kB / 0.7393 GB, free: 496 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1631, allocations: 28.89 kB / 0.7394 GB, free: 464 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/0.1634, allocations: 166.2 kB / 0.7395 GB, free: 260 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1634, allocations: 34.56 kB / 0.7396 GB, free: 216 kB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.1634, allocations: 0 / 0.7396 GB, free: 216 kB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003918/0.1638, allocations: 97.58 kB / 0.7397 GB, free: 112 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.1639, allocations: 55.34 kB / 0.7397 GB, free: 44 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.164, allocations: 113.8 kB / 0.7398 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.164, allocations: 29.7 kB / 0.7398 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.1641, allocations: 88.2 kB / 0.7399 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.1641, allocations: 7.953 kB / 0.7399 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.1641, allocations: 17.7 kB / 0.74 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1643, allocations: 318.8 kB / 0.7403 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.671e-05/0.1644, allocations: 23.91 kB / 0.7403 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/0.1645, allocations: 19.98 kB / 0.7403 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.1647, allocations: 53.08 kB / 0.7403 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1647, allocations: 0 / 0.7403 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002469/0.1649, allocations: 77.59 kB / 0.7404 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1649, allocations: 5.875 kB / 0.7404 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.165, allocations: 0 / 0.7404 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.165, allocations: 0 / 0.7404 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.1651, allocations: 11.98 kB / 0.7404 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1651, allocations: 4 kB / 0.7404 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.34e-05/0.1651, allocations: 15.94 kB / 0.7405 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.1652, allocations: 0 / 0.7405 GB, free: 15.23 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: 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 8.513e-05/0.1652, allocations: 121.7 kB / 0.7406 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.1653, allocations: 4 kB / 0.7406 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.1656, allocations: 81.55 kB / 0.7407 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1656, allocations: 7.938 kB / 0.7407 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1656, allocations: 3.938 kB / 0.7407 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1656, allocations: 4 kB / 0.7407 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.1658, allocations: 161.6 kB / 0.7408 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1658, allocations: 7.984 kB / 0.7408 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.249e-05/0.1659, allocations: 4 kB / 0.7408 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.1659, allocations: 4 kB / 0.7408 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1659, allocations: 3.984 kB / 0.7408 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1659, allocations: 0 / 0.7408 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1659, allocations: 0 / 0.7408 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.1662, allocations: 179.4 kB / 0.741 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.1663, allocations: 77.11 kB / 0.7411 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1663, allocations: 7.984 kB / 0.7411 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.1664, allocations: 0 / 0.7411 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.1665, allocations: 11.98 kB / 0.7411 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1665, allocations: 0 / 0.7411 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.028e-05/0.1665, allocations: 87.28 kB / 0.7412 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1665, allocations: 3.938 kB / 0.7412 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002507/0.1668, allocations: 19.98 kB / 0.7412 GB, free: 14.34 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: 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.0001845/0.167, allocations: 119.1 kB / 0.7413 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.1672, allocations: 47.95 kB / 0.7414 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1673, allocations: 0 / 0.7414 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1674, allocations: 23.98 kB / 0.7414 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.1676, allocations: 11.88 kB / 0.7414 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.168, allocations: 147.2 kB / 0.7415 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1683, allocations: 0.6807 MB / 0.7422 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.1684, allocations: 11.44 kB / 0.7422 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.1684, allocations: 0 / 0.7422 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of Templates: time 0.002677/0.171, allocations: 0.9894 MB / 0.7432 GB, free: 12.25 MB / 0.5606 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.959475830895826] Failed to read output from testmodel.py, exit status != 0: 0.17742508999072015 0.19118546999999994 0.027554997 Calling exit ...