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.001787/0.001787, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002315/0.002315, allocations: 212.3 kB / 22.25 MB, free: 5.262 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.773 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.86/0.86, allocations: 134 MB / 446.4 MB, free: 9.945 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.001998/0.001998, allocations: 63.73 kB / 0.6185 GB, free: 6.852 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1671, allocations: 85.92 MB / 0.7024 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001698/0.1688, allocations: 0.582 MB / 0.703 GB, free: 456 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003912/0.1692, allocations: 104.1 kB / 0.7031 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.1692, allocations: 0 / 0.7031 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.1693, allocations: 3.938 kB / 0.7031 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.1693, allocations: 0 / 0.7031 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.1696, allocations: 47.88 kB / 0.7031 GB, free: 300 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.1697, allocations: 63.94 kB / 0.7032 GB, free: 236 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.1698, allocations: 7.984 kB / 0.7032 GB, free: 228 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.1698, allocations: 27.91 kB / 0.7032 GB, free: 200 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.585e-05/0.1699, allocations: 23.97 kB / 0.7032 GB, free: 176 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1699, allocations: 0 / 0.7032 GB, free: 176 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.17, allocations: 51.94 kB / 0.7033 GB, free: 124 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.829e-05/0.1701, allocations: 15.98 kB / 0.7033 GB, free: 108 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.1701, allocations: 27.91 kB / 0.7033 GB, free: 80 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.1703, allocations: 72.05 kB / 0.7034 GB, free: 8 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1703, allocations: 0 / 0.7034 GB, free: 8 kB / 0.5137 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1703, allocations: 0 / 0.7034 GB, free: 8 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.1703, allocations: 4 kB / 0.7034 GB, free: 4 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.000654/0.171, allocations: 294.3 kB / 0.7037 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.171, allocations: 19.91 kB / 0.7037 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.516e-05/0.1711, allocations: 42.73 kB / 0.7038 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.1712, allocations: 8.938 kB / 0.7038 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.1713, allocations: 110.4 kB / 0.7039 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005846/0.1719, allocations: 0.5299 MB / 0.7044 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.1719, allocations: 8.375 kB / 0.7044 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.1723, allocations: 77.95 kB / 0.7045 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1723, allocations: 0 / 0.7045 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1723, allocations: 0 / 0.7045 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1723, allocations: 4 kB / 0.7045 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005126/0.1728, allocations: 131.8 kB / 0.7046 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.1731, allocations: 144.7 kB / 0.7047 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.1736, allocations: 94.45 kB / 0.7048 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.1738, allocations: 33.17 kB / 0.7049 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.1738, allocations: 4 kB / 0.7049 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.1739, allocations: 46.42 kB / 0.7049 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.1739, allocations: 0 / 0.7049 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0007425/0.1746, allocations: 137.6 kB / 0.705 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.1747, allocations: 59.34 kB / 0.7051 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.1747, allocations: 93.84 kB / 0.7052 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.1748, allocations: 33.7 kB / 0.7052 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.27e-05/0.1748, allocations: 80.14 kB / 0.7053 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.341e-05/0.1749, allocations: 31.7 kB / 0.7053 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.82e-05/0.175, allocations: 29.69 kB / 0.7053 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.1752, allocations: 318.8 kB / 0.7057 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.1754, allocations: 31.91 kB / 0.7057 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.1756, allocations: 35.81 kB / 0.7057 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.176, allocations: 68.81 kB / 0.7058 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.176, allocations: 4 kB / 0.7058 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005215/0.1765, allocations: 125.5 kB / 0.7059 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1765, allocations: 7.938 kB / 0.7059 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1765, allocations: 4 kB / 0.7059 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1765, allocations: 0 / 0.7059 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.1767, allocations: 19.98 kB / 0.7059 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1768, allocations: 0 / 0.7059 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.209e-05/0.1768, allocations: 15.92 kB / 0.706 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.1769, allocations: 4 kB / 0.706 GB, free: 13.08 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.0001271/0.177, allocations: 121.8 kB / 0.7061 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.177, allocations: 11.89 kB / 0.7061 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.1771, allocations: 11.84 kB / 0.7061 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1771, allocations: 0 / 0.7061 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1771, allocations: 0 / 0.7061 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1771, allocations: 0 / 0.7061 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.1773, allocations: 148.7 kB / 0.7062 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1773, allocations: 0 / 0.7062 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.1775, allocations: 35.91 kB / 0.7063 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1775, allocations: 3.938 kB / 0.7063 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1776, allocations: 0 / 0.7063 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1776, allocations: 4 kB / 0.7063 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1776, allocations: 0 / 0.7063 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005294/0.1781, allocations: 149 kB / 0.7064 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.1781, allocations: 11.88 kB / 0.7064 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.1781, allocations: 0 / 0.7064 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.1782, allocations: 11.98 kB / 0.7064 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.1783, allocations: 7.984 kB / 0.7064 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1783, allocations: 7.922 kB / 0.7065 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.1784, allocations: 79.28 kB / 0.7065 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1784, allocations: 0 / 0.7065 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000387/0.1787, allocations: 24 kB / 0.7066 GB, free: 12.39 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.001051/0.1798, allocations: 0.6903 MB / 0.7072 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004723/0.1803, allocations: 94.7 kB / 0.7073 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1803, allocations: 0 / 0.7073 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.1805, allocations: 43.91 kB / 0.7074 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.1807, allocations: 4 kB / 0.7074 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007468/0.1815, allocations: 194.5 kB / 0.7076 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.665e-05/0.1816, allocations: 79.19 kB / 0.7076 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002682/0.1818, allocations: 35.97 kB / 0.7077 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.863e-05/0.1819, allocations: 23.42 kB / 0.7077 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.1819, allocations: 0 / 0.7077 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.2165, allocations: 2.517 MB / 0.7101 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.07, allocations: 9.562 kB / 0.7102 GB, free: 8.77 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.63988164998591] Failed to read output from testmodel.py, exit status != 0: 11.173204993829131 11.203366271 11.027691368 Calling exit ...