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.001253/0.001253, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001391/0.001391, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.8399/0.8399, allocations: 134 MB / 447.2 MB, free: 9.949 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.001946/0.001946, allocations: 70.56 kB / 0.6193 GB, free: 6.852 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1761, allocations: 85.91 MB / 0.7032 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001809/0.1779, allocations: 0.5836 MB / 0.7038 GB, free: 464 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004446/0.1784, allocations: 100.1 kB / 0.7038 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.661e-05/0.1784, allocations: 0 / 0.7038 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.1784, allocations: 0 / 0.7038 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.1784, allocations: 0 / 0.7038 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.1789, allocations: 43.89 kB / 0.7039 GB, free: 320 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.179, allocations: 63.94 kB / 0.7039 GB, free: 256 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.179, allocations: 3.984 kB / 0.704 GB, free: 252 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.949e-05/0.1791, allocations: 23.98 kB / 0.704 GB, free: 228 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.1791, allocations: 23.97 kB / 0.704 GB, free: 204 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1792, allocations: 7.938 kB / 0.704 GB, free: 196 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.1793, allocations: 55.94 kB / 0.7041 GB, free: 140 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.1794, allocations: 19.97 kB / 0.7041 GB, free: 120 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.1794, allocations: 19.92 kB / 0.7041 GB, free: 100 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.1796, allocations: 72.05 kB / 0.7042 GB, free: 28 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1796, allocations: 0 / 0.7042 GB, free: 28 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1796, allocations: 0 / 0.7042 GB, free: 28 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.1796, allocations: 0 / 0.7042 GB, free: 28 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.0005572/0.1802, allocations: 302.3 kB / 0.7045 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1802, allocations: 11.97 kB / 0.7045 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.462e-05/0.1802, allocations: 192 / 0.7045 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.1803, allocations: 46.75 kB / 0.7045 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.1803, allocations: 4.938 kB / 0.7045 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.508e-05/0.1804, allocations: 110.5 kB / 0.7046 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004306/0.1808, allocations: 0.5299 MB / 0.7051 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.1808, allocations: 4.375 kB / 0.7051 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.1811, allocations: 88.09 kB / 0.7052 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1811, allocations: 8 kB / 0.7052 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1811, allocations: 3.938 kB / 0.7052 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1811, allocations: 0 / 0.7052 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.1815, allocations: 135.8 kB / 0.7054 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.1817, allocations: 152.7 kB / 0.7055 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.182, allocations: 86.53 kB / 0.7056 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1822, allocations: 40.83 kB / 0.7056 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1822, allocations: 0 / 0.7056 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.1822, allocations: 42.5 kB / 0.7057 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.031e-06/0.1822, allocations: 0 / 0.7057 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005711/0.1828, allocations: 145.8 kB / 0.7058 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1828, allocations: 55.41 kB / 0.7059 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.201e-05/0.1829, allocations: 89.86 kB / 0.706 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1829, allocations: 29.7 kB / 0.706 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.183, allocations: 84.14 kB / 0.7061 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.1831, allocations: 35.69 kB / 0.7061 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.1832, allocations: 25.7 kB / 0.7061 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002305/0.1834, allocations: 322.8 kB / 0.7064 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1835, allocations: 27.98 kB / 0.7065 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1837, allocations: 34.7 kB / 0.7065 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.184, allocations: 80.69 kB / 0.7066 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.184, allocations: 0 / 0.7066 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003489/0.1844, allocations: 117.5 kB / 0.7067 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1844, allocations: 4 kB / 0.7067 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.1844, allocations: 4 kB / 0.7067 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1844, allocations: 0 / 0.7067 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.1846, allocations: 27.97 kB / 0.7067 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1846, allocations: 0 / 0.7067 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.1847, allocations: 11.94 kB / 0.7067 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.1847, allocations: 3.984 kB / 0.7067 GB, free: 13.09 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.0001108/0.1848, allocations: 125.7 kB / 0.7068 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.1848, allocations: 7.891 kB / 0.7069 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.1848, allocations: 7.906 kB / 0.7069 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1849, allocations: 8 kB / 0.7069 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.1849, allocations: 3.984 kB / 0.7069 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1849, allocations: 0 / 0.7069 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.185, allocations: 144.7 kB / 0.707 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.185, allocations: 4 kB / 0.707 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.1851, allocations: 27.91 kB / 0.707 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1851, allocations: 0 / 0.707 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1852, allocations: 7.938 kB / 0.707 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1852, allocations: 3.984 kB / 0.7071 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1852, allocations: 0 / 0.7071 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.1856, allocations: 148.2 kB / 0.7072 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.5e-05/0.1856, allocations: 23.8 kB / 0.7072 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.1856, allocations: 0 / 0.7072 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.1856, allocations: 12 kB / 0.7072 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.1857, allocations: 11.97 kB / 0.7072 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.1857, allocations: 4 kB / 0.7072 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.423e-05/0.1858, allocations: 75.28 kB / 0.7073 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1858, allocations: 0 / 0.7073 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002346/0.186, allocations: 23.98 kB / 0.7073 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.0008851/0.1869, allocations: 0.6981 MB / 0.708 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000386/0.1873, allocations: 83.94 kB / 0.7081 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1873, allocations: 0 / 0.7081 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.1874, allocations: 47.89 kB / 0.7081 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.0001442/0.1876, allocations: 4 kB / 0.7081 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005769/0.1881, allocations: 194.6 kB / 0.7083 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.941e-05/0.1882, allocations: 71.2 kB / 0.7084 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001872/0.1884, allocations: 43.89 kB / 0.7084 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.1885, allocations: 19.42 kB / 0.7085 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.1885, allocations: 0 / 0.7085 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.2129, allocations: 2.198 MB / 0.7106 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.4, allocations: 9.812 kB / 0.7106 GB, free: 9.102 MB / 0.5294 GB " [Timeout remaining time 648] (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: 14.960137265035883] Failed to read output from testmodel.py, exit status != 0: 11.553723262040876 11.575519931 11.391342591 Calling exit ...