Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 216 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8825/0.8825, allocations: 134 MB / 446.4 MB, free: 10.2 MB / 350.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.28 kB / 0.6186 GB, free: 7.309 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1697, allocations: 85.9 MB / 0.7025 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001702/0.1714, allocations: 0.5879 MB / 0.7031 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003977/0.1718, allocations: 112 kB / 0.7032 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.891e-05/0.1718, allocations: 0 / 0.7032 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.1719, allocations: 0 / 0.7032 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-06/0.1719, allocations: 0 / 0.7032 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.1722, allocations: 47.83 kB / 0.7032 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1723, allocations: 63.92 kB / 0.7033 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.1724, allocations: 4 kB / 0.7033 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.633e-05/0.1724, allocations: 23.98 kB / 0.7033 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.1725, allocations: 27.95 kB / 0.7033 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.1725, allocations: 4 kB / 0.7033 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.1726, allocations: 51.89 kB / 0.7034 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.1727, allocations: 31.89 kB / 0.7034 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.1727, allocations: 19.92 kB / 0.7034 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1729, allocations: 68.06 kB / 0.7035 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1729, allocations: 0 / 0.7035 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1729, allocations: 4 kB / 0.7035 GB, free: 464 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.1729, allocations: 0 / 0.7035 GB, free: 464 kB / 0.5137 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.0005102/0.1734, allocations: 305 kB / 0.7038 GB, free: 128 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1734, allocations: 8.031 kB / 0.7038 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.1735, allocations: 38.75 kB / 0.7038 GB, free: 72 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.1735, allocations: 4.938 kB / 0.7038 GB, free: 68 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.1736, allocations: 114.5 kB / 0.7039 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004421/0.174, allocations: 0.526 MB / 0.7045 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.1741, allocations: 8.312 kB / 0.7045 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.1743, allocations: 89.88 kB / 0.7045 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1743, allocations: 0 / 0.7045 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1743, allocations: 0 / 0.7045 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1743, allocations: 8 kB / 0.7046 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.1747, allocations: 131.8 kB / 0.7047 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.1749, allocations: 148.7 kB / 0.7048 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.1752, allocations: 98.45 kB / 0.7049 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.1753, allocations: 36.83 kB / 0.705 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.1753, allocations: 4 kB / 0.705 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.1754, allocations: 38.5 kB / 0.705 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.1754, allocations: 0 / 0.705 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005226/0.1759, allocations: 148.3 kB / 0.7051 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.1759, allocations: 55.41 kB / 0.7052 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.662e-05/0.176, allocations: 89.86 kB / 0.7053 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.176, allocations: 25.7 kB / 0.7053 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.1761, allocations: 80.14 kB / 0.7054 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.1761, allocations: 39.69 kB / 0.7054 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.1762, allocations: 33.7 kB / 0.7054 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1763, allocations: 314.8 kB / 0.7057 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.1764, allocations: 35.97 kB / 0.7058 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.1766, allocations: 31.97 kB / 0.7058 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.1768, allocations: 79.38 kB / 0.7059 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1768, allocations: 0 / 0.7059 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003348/0.1772, allocations: 113.6 kB / 0.706 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1772, allocations: 7.938 kB / 0.706 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1772, allocations: 7.938 kB / 0.706 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1772, allocations: 0 / 0.706 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.1774, allocations: 27.92 kB / 0.706 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1774, allocations: 0 / 0.706 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.1774, allocations: 11.92 kB / 0.706 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.1774, allocations: 7.938 kB / 0.7061 GB, free: 13.52 MB / 0.5294 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 0.0001174/0.1776, allocations: 117.8 kB / 0.7062 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.1776, allocations: 7.891 kB / 0.7062 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.1776, allocations: 11.91 kB / 0.7062 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1776, allocations: 8 kB / 0.7062 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1776, allocations: 0 / 0.7062 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1776, allocations: 0 / 0.7062 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.1778, allocations: 152.7 kB / 0.7063 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1778, allocations: 0 / 0.7063 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.1779, allocations: 27.91 kB / 0.7064 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1779, allocations: 3.938 kB / 0.7064 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1779, allocations: 8 kB / 0.7064 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1779, allocations: 0 / 0.7064 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1779, allocations: 0 / 0.7064 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.1783, allocations: 145 kB / 0.7065 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.1783, allocations: 11.88 kB / 0.7065 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.1783, allocations: 4 kB / 0.7065 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.787e-05/0.1784, allocations: 7.984 kB / 0.7065 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.1784, allocations: 11.98 kB / 0.7065 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.1784, allocations: 11.97 kB / 0.7066 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.405e-05/0.1785, allocations: 75.28 kB / 0.7066 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1785, allocations: 4 kB / 0.7066 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002266/0.1787, allocations: 20 kB / 0.7067 GB, free: 12.83 MB / 0.5294 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.0007544/0.1794, allocations: 0.6903 MB / 0.7073 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003315/0.1798, allocations: 83.16 kB / 0.7074 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1798, allocations: 4 kB / 0.7074 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.1799, allocations: 47.95 kB / 0.7075 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.1801, allocations: 11.94 kB / 0.7075 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.1806, allocations: 190.5 kB / 0.7076 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.1809, allocations: 0.6961 MB / 0.7083 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.1811, allocations: 31.97 kB / 0.7084 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.1811, allocations: 23.42 kB / 0.7084 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.1811, allocations: 0 / 0.7084 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.2117, allocations: 2.18 MB / 0.7105 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/10.98, allocations: 3.984 kB / 0.7105 GB, free: 8.914 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.574602682841942] Failed to read output from testmodel.py, exit status != 0: 11.081485603004694 11.098874766 10.922877468 Calling exit ...