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.001303/0.001303, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.0014/0.0014, allocations: 215 kB / 20.13 MB, free: 2.949 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.504/1.504, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8689/0.8689, allocations: 133.9 MB / 443.5 MB, free: 13.79 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",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.001878/0.001878, allocations: 72.27 kB / 0.6141 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1758, allocations: 85.86 MB / 0.698 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.002175/0.178, allocations: 0.5675 MB / 0.6985 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000469/0.1784, allocations: 111.4 kB / 0.6987 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.661e-05/0.1784, allocations: 0 / 0.6987 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.133e-05/0.1785, allocations: 5.312 kB / 0.6987 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/0.1785, allocations: 0 / 0.6987 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.1789, allocations: 37.64 kB / 0.6987 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1791, allocations: 63.56 kB / 0.6988 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.396e-05/0.1791, allocations: 13.34 kB / 0.6988 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.532e-05/0.1792, allocations: 21.58 kB / 0.6988 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.673e-05/0.1792, allocations: 20.53 kB / 0.6988 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1793, allocations: 3.312 kB / 0.6988 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.1794, allocations: 47.11 kB / 0.6989 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.1795, allocations: 24.66 kB / 0.6989 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.1795, allocations: 20.75 kB / 0.6989 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.1797, allocations: 75 kB / 0.699 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1797, allocations: 0 / 0.699 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1797, allocations: 0 / 0.699 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1797, allocations: 0 / 0.699 GB, free: 12.97 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.0006314/0.1804, allocations: 376.3 kB / 0.6993 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.1804, allocations: 10.55 kB / 0.6993 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.041e-05/0.1804, allocations: 1.812 kB / 0.6993 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.931e-05/0.1805, allocations: 46.42 kB / 0.6994 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.1805, allocations: 5.906 kB / 0.6994 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.1807, allocations: 173.5 kB / 0.6996 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/0.181, allocations: 275.5 kB / 0.6998 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.181, allocations: 11.58 kB / 0.6998 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.1813, allocations: 85.22 kB / 0.6999 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1813, allocations: 4 kB / 0.6999 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1813, allocations: 5.156 kB / 0.6999 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1813, allocations: 1.125 kB / 0.6999 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.1817, allocations: 128.2 kB / 0.7 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.1819, allocations: 182.7 kB / 0.7002 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.1822, allocations: 87.16 kB / 0.7003 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.1824, allocations: 50.17 kB / 0.7003 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.1824, allocations: 4.312 kB / 0.7004 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.1825, allocations: 48.28 kB / 0.7004 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1825, allocations: 0 / 0.7004 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0006101/0.1831, allocations: 143.2 kB / 0.7005 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.1831, allocations: 52.91 kB / 0.7006 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.1832, allocations: 89.86 kB / 0.7007 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.1832, allocations: 31.3 kB / 0.7007 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.1833, allocations: 84.14 kB / 0.7008 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.1833, allocations: 36.94 kB / 0.7008 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.1834, allocations: 26.3 kB / 0.7008 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1836, allocations: 320.4 kB / 0.7011 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.1837, allocations: 30.58 kB / 0.7012 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.1838, allocations: 38.09 kB / 0.7012 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.1841, allocations: 70.34 kB / 0.7013 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1841, allocations: 4 kB / 0.7013 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003574/0.1845, allocations: 120.3 kB / 0.7014 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1845, allocations: 9.438 kB / 0.7014 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1845, allocations: 0 / 0.7014 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1845, allocations: 1.375 kB / 0.7014 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.1847, allocations: 29.84 kB / 0.7014 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1847, allocations: 0 / 0.7014 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.1848, allocations: 8.062 kB / 0.7014 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.1848, allocations: 6.734 kB / 0.7014 GB, free: 10.62 MB / 0.5137 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.000108/0.1849, allocations: 118.6 kB / 0.7016 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.1849, allocations: 10.64 kB / 0.7016 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.588e-05/0.185, allocations: 11.97 kB / 0.7016 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.185, allocations: 1.375 kB / 0.7016 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.185, allocations: 5.359 kB / 0.7016 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.185, allocations: 0 / 0.7016 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.1852, allocations: 175.4 kB / 0.7018 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1852, allocations: 0 / 0.7018 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.1853, allocations: 29.73 kB / 0.7018 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1853, allocations: 1.375 kB / 0.7018 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1853, allocations: 9.359 kB / 0.7018 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1853, allocations: 0 / 0.7018 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1853, allocations: 1.375 kB / 0.7018 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.1857, allocations: 141.2 kB / 0.7019 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.1858, allocations: 91.72 kB / 0.702 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.1858, allocations: 0 / 0.702 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.375e-05/0.1859, allocations: 12.12 kB / 0.702 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.1859, allocations: 16.05 kB / 0.702 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.1859, allocations: 6.734 kB / 0.7021 GB, free: 10 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.76e-05/0.186, allocations: 76.66 kB / 0.7021 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.186, allocations: 3.938 kB / 0.7021 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002542/0.1862, allocations: 20.5 kB / 0.7021 GB, free: 9.918 MB / 0.5137 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.0009124/0.1872, allocations: 0.7035 MB / 0.7028 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.1875, allocations: 82.16 kB / 0.7029 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1875, allocations: 0 / 0.7029 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.1877, allocations: 44.09 kB / 0.703 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.1879, allocations: 6.688 kB / 0.703 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.1885, allocations: 208.1 kB / 0.7032 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1888, allocations: 0.6915 MB / 0.7038 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001583/0.189, allocations: 39.39 kB / 0.7039 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.1891, allocations: 20.36 kB / 0.7039 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.1891, allocations: 0 / 0.7039 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.2083, allocations: 2.051 MB / 0.7059 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/8.367, allocations: 25.55 kB / 0.7059 GB, free: 6.391 MB / 0.5137 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.160399868967943] Failed to read output from testmodel.py, exit status != 0: 8.80804543197155 8.503833524 8.321070547 Calling exit ...