Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001261/0.001261, allocations: 108.2 kB / 16.45 MB, free: 6.488 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.001311/0.001311, allocations: 216.2 kB / 19.43 MB, free: 3.66 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.8141/0.8141, 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.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.001903/0.001903, allocations: 70.22 kB / 0.6134 GB, free: 8.727 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1799, allocations: 85.85 MB / 0.6973 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.00277/0.1827, allocations: 1.553 MB / 0.6988 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004615/0.1831, allocations: 180.3 kB / 0.699 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.1832, allocations: 4 kB / 0.699 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.1832, allocations: 3.938 kB / 0.699 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.1832, allocations: 7.922 kB / 0.699 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.1836, allocations: 51.89 kB / 0.699 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.645e-05/0.1836, allocations: 35.91 kB / 0.6991 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.1837, allocations: 11.98 kB / 0.6991 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.047e-05/0.1837, allocations: 19.88 kB / 0.6991 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.095e-05/0.1838, allocations: 15.92 kB / 0.6991 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1838, allocations: 4 kB / 0.6991 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1839, allocations: 51.94 kB / 0.6992 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.1839, allocations: 11.92 kB / 0.6992 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.184, allocations: 11.94 kB / 0.6992 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1841, allocations: 72.06 kB / 0.6992 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1841, allocations: 0 / 0.6992 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1841, allocations: 4 kB / 0.6992 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1841, allocations: 0 / 0.6992 GB, free: 0.918 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005072/0.1846, allocations: 359.2 kB / 0.6996 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1847, allocations: 13.09 kB / 0.6996 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.1847, allocations: 34.75 kB / 0.6996 GB, free: 472 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.1847, allocations: 4.938 kB / 0.6996 GB, free: 468 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1849, allocations: 164.3 kB / 0.6998 GB, free: 264 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.1849, allocations: 4.375 kB / 0.6998 GB, free: 260 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.1849, allocations: 8.375 kB / 0.6998 GB, free: 252 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.1851, allocations: 66.2 kB / 0.6999 GB, free: 180 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1851, allocations: 3.938 kB / 0.6999 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1851, allocations: 4 kB / 0.6999 GB, free: 172 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1851, allocations: 0 / 0.6999 GB, free: 172 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.1853, allocations: 43.95 kB / 0.6999 GB, free: 128 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.1857, allocations: 292.7 kB / 0.7002 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.1861, allocations: 50.53 kB / 0.7002 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1862, allocations: 28.89 kB / 0.7003 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.1864, allocations: 170.2 kB / 0.7004 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.1864, allocations: 38.55 kB / 0.7005 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.1864, allocations: 0 / 0.7005 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004058/0.1868, allocations: 101.5 kB / 0.7006 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.1869, allocations: 51.41 kB / 0.7006 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/0.187, allocations: 109.8 kB / 0.7007 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.187, allocations: 25.7 kB / 0.7008 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.1871, allocations: 88.14 kB / 0.7008 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.1871, allocations: 7.953 kB / 0.7008 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.1871, allocations: 13.72 kB / 0.7009 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1872, allocations: 322.8 kB / 0.7012 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-05/0.1873, allocations: 19.98 kB / 0.7012 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-05/0.1874, allocations: 19.97 kB / 0.7012 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.1876, allocations: 48.77 kB / 0.7012 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1876, allocations: 3.938 kB / 0.7013 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002259/0.1878, allocations: 81.59 kB / 0.7013 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1879, allocations: 4 kB / 0.7013 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1879, allocations: 3.938 kB / 0.7013 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1879, allocations: 4 kB / 0.7013 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.885e-05/0.188, allocations: 7.984 kB / 0.7013 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.188, allocations: 4 kB / 0.7014 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.188, allocations: 8 kB / 0.7014 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.188, allocations: 0 / 0.7014 GB, free: 14.48 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: 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 9.864e-05/0.1881, allocations: 117.8 kB / 0.7015 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.1882, allocations: 4 kB / 0.7015 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.1884, allocations: 85.48 kB / 0.7016 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1884, allocations: 0 / 0.7016 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1884, allocations: 0 / 0.7016 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1884, allocations: 4 kB / 0.7016 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.1886, allocations: 177.6 kB / 0.7017 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1886, allocations: 0 / 0.7017 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.781e-05/0.1887, allocations: 11.98 kB / 0.7017 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1887, allocations: 0 / 0.7017 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1887, allocations: 0 / 0.7017 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1887, allocations: 0 / 0.7017 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1887, allocations: 0 / 0.7017 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.189, allocations: 187.3 kB / 0.7019 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.1891, allocations: 81.53 kB / 0.702 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1891, allocations: 0 / 0.702 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.1892, allocations: 11.98 kB / 0.702 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.1892, allocations: 4 kB / 0.702 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1892, allocations: 3.984 kB / 0.702 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.1893, allocations: 83.28 kB / 0.7021 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1893, allocations: 0 / 0.7021 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002484/0.1895, allocations: 24 kB / 0.7021 GB, free: 13.59 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: 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.0007122/0.1902, allocations: 0.7278 MB / 0.7028 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.1905, allocations: 51.89 kB / 0.7029 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1905, allocations: 0 / 0.7029 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.1906, allocations: 27.97 kB / 0.7029 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1909, allocations: 2.297 kB / 0.7029 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.1925, allocations: 1.286 MB / 0.7042 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.1928, allocations: 0.6883 MB / 0.7048 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.131e-05/0.1928, allocations: 7.984 kB / 0.7048 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.1929, allocations: 11.44 kB / 0.7049 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1929, allocations: 0 / 0.7049 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.2229, allocations: 1.918 MB / 0.7067 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.073, allocations: 1.328 kB / 0.7067 GB, free: 8.824 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 IDEAS_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.815583835996222] Failed to read output from testmodel.py, exit status != 0: 8.142031697992934 8.167112179 7.978583711 Calling exit ...