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.001276/0.001276, allocations: 103 kB / 16.45 MB, free: 6.449 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.001331/0.001331, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.874/0.874, allocations: 133.9 MB / 442.8 MB, free: 11.3 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.001858/0.001858, allocations: 67.38 kB / 0.6135 GB, free: 8.727 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1652, allocations: 85.85 MB / 0.6973 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001756/0.167, allocations: 0.5805 MB / 0.6979 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003982/0.1674, allocations: 104 kB / 0.698 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.1674, allocations: 0 / 0.698 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.1674, allocations: 0 / 0.698 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.1674, allocations: 0 / 0.698 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.1678, allocations: 51.81 kB / 0.698 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.1679, allocations: 67.92 kB / 0.6981 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.168, allocations: 0 / 0.6981 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.517e-05/0.168, allocations: 23.98 kB / 0.6981 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.953e-05/0.1681, allocations: 27.95 kB / 0.6981 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.1681, allocations: 0 / 0.6981 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.1682, allocations: 47.95 kB / 0.6982 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.1683, allocations: 19.92 kB / 0.6982 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.223e-05/0.1683, allocations: 27.89 kB / 0.6982 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1685, allocations: 68.06 kB / 0.6983 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1685, allocations: 0 / 0.6983 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1685, allocations: 4 kB / 0.6983 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.1685, allocations: 0 / 0.6983 GB, free: 1.941 MB / 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.0006819/0.1692, allocations: 383.4 kB / 0.6987 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1692, allocations: 9.109 kB / 0.6987 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.611e-05/0.1692, allocations: 38.75 kB / 0.6987 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.1693, allocations: 8.875 kB / 0.6987 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.1694, allocations: 164.3 kB / 0.6989 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002987/0.1697, allocations: 285.6 kB / 0.6991 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.1697, allocations: 8.375 kB / 0.6991 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.17, allocations: 90.58 kB / 0.6992 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.17, allocations: 4 kB / 0.6992 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.17, allocations: 4 kB / 0.6992 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.17, allocations: 3.984 kB / 0.6992 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.1704, allocations: 131.8 kB / 0.6994 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.1706, allocations: 177.6 kB / 0.6995 GB, free: 460 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.171, allocations: 94.45 kB / 0.6996 GB, free: 356 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.1711, allocations: 38.7 kB / 0.6997 GB, free: 316 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.1711, allocations: 7.969 kB / 0.6997 GB, free: 308 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.1712, allocations: 42.5 kB / 0.6997 GB, free: 256 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1712, allocations: 0 / 0.6997 GB, free: 256 kB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0005839/0.1718, allocations: 145.9 kB / 0.6999 GB, free: 104 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.1718, allocations: 51.41 kB / 0.6999 GB, free: 40 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.172, allocations: 89.86 kB / 0.7 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.172, allocations: 29.7 kB / 0.7 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.172, allocations: 84.14 kB / 0.7001 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.1721, allocations: 31.7 kB / 0.7001 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.1721, allocations: 33.69 kB / 0.7002 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1723, allocations: 314.8 kB / 0.7005 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.1725, allocations: 35.91 kB / 0.7005 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.1726, allocations: 35.97 kB / 0.7005 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.1729, allocations: 76.25 kB / 0.7006 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1729, allocations: 0 / 0.7006 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003656/0.1733, allocations: 113.6 kB / 0.7007 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1733, allocations: 7.938 kB / 0.7007 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1733, allocations: 4 kB / 0.7007 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1733, allocations: 0 / 0.7007 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.1735, allocations: 27.92 kB / 0.7007 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1735, allocations: 0 / 0.7007 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/0.1735, allocations: 15.92 kB / 0.7008 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1736, allocations: 4 kB / 0.7008 GB, free: 15.11 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.0001095/0.1737, allocations: 117.8 kB / 0.7009 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.1737, allocations: 7.891 kB / 0.7009 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.1737, allocations: 15.97 kB / 0.7009 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1737, allocations: 0 / 0.7009 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1737, allocations: 3.938 kB / 0.7009 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1737, allocations: 3.938 kB / 0.7009 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.1739, allocations: 181.6 kB / 0.7011 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1739, allocations: 0 / 0.7011 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.174, allocations: 27.91 kB / 0.7011 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1741, allocations: 3.938 kB / 0.7011 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1741, allocations: 4 kB / 0.7011 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1741, allocations: 0 / 0.7011 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1741, allocations: 0 / 0.7011 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.1744, allocations: 145 kB / 0.7013 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.464e-05/0.1745, allocations: 88.98 kB / 0.7013 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.1746, allocations: 0 / 0.7013 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-05/0.1746, allocations: 11.98 kB / 0.7014 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.1747, allocations: 11.98 kB / 0.7014 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.1747, allocations: 7.938 kB / 0.7014 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.1747, allocations: 75.28 kB / 0.7014 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1747, allocations: 4 kB / 0.7014 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002316/0.175, allocations: 23.98 kB / 0.7015 GB, free: 14.29 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.0009554/0.1759, allocations: 0.6904 MB / 0.7021 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004039/0.1763, allocations: 91.31 kB / 0.7022 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1763, allocations: 4 kB / 0.7022 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.1765, allocations: 43.95 kB / 0.7023 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.1766, allocations: 11.94 kB / 0.7023 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.1772, allocations: 198.5 kB / 0.7025 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.1775, allocations: 0.6844 MB / 0.7031 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001464/0.1777, allocations: 39.95 kB / 0.7032 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.799e-05/0.1777, allocations: 23.42 kB / 0.7032 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1777, allocations: 0 / 0.7032 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.2043, allocations: 2.008 MB / 0.7052 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/7.985, allocations: 5.234 kB / 0.7052 GB, free: 10.5 MB / 0.5294 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 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: 11.72097112199117] Failed to read output from testmodel.py, exit status != 0: 8.054718054001569 8.079302724 7.906293123 Calling exit ...