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.001707/0.001707, allocations: 113 kB / 18.94 MB, free: 2.934 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.002252/0.002252, allocations: 208.2 kB / 22.25 MB, free: 5.086 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 8.035 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.8939/0.8939, allocations: 134 MB / 446.4 MB, free: 10.74 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.002014/0.002014, allocations: 71.52 kB / 0.6186 GB, free: 7.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1747, allocations: 85.9 MB / 0.7024 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.00282/0.1775, allocations: 1.565 MB / 0.704 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005839/0.1781, allocations: 184.2 kB / 0.7041 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.753e-05/0.1781, allocations: 4 kB / 0.7041 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.898e-05/0.1782, allocations: 7.922 kB / 0.7042 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.6e-05/0.1782, allocations: 7.938 kB / 0.7042 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.1786, allocations: 51.88 kB / 0.7042 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.1787, allocations: 31.92 kB / 0.7042 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.1789, allocations: 12.27 kB / 0.7043 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.081e-05/0.1789, allocations: 15.94 kB / 0.7043 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.18e-05/0.179, allocations: 19.91 kB / 0.7043 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.179, allocations: 4 kB / 0.7043 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.1792, allocations: 51.95 kB / 0.7043 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.1792, allocations: 15.92 kB / 0.7044 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.1792, allocations: 11.92 kB / 0.7044 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1794, allocations: 75.78 kB / 0.7044 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1795, allocations: 0 / 0.7044 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.505e-06/0.1795, allocations: 0 / 0.7044 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.1795, allocations: 0 / 0.7044 GB, free: 15.52 MB / 0.5294 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.0006273/0.1801, allocations: 298 kB / 0.7047 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.1801, allocations: 12.03 kB / 0.7047 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.1802, allocations: 30.75 kB / 0.7048 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.1802, allocations: 4.938 kB / 0.7048 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.1804, allocations: 110.4 kB / 0.7049 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.1804, allocations: 12.38 kB / 0.7049 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.1804, allocations: 384 / 0.7049 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.1807, allocations: 62.22 kB / 0.7049 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1807, allocations: 7.938 kB / 0.705 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1807, allocations: 0 / 0.705 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1807, allocations: 0 / 0.705 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.1809, allocations: 43.95 kB / 0.705 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.1814, allocations: 251.8 kB / 0.7052 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.1818, allocations: 58.53 kB / 0.7053 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.945e-05/0.1819, allocations: 24.91 kB / 0.7053 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.1821, allocations: 16.05 kB / 0.7053 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1821, allocations: 38.55 kB / 0.7054 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1821, allocations: 0 / 0.7054 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004004/0.1825, allocations: 101.5 kB / 0.7055 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.1825, allocations: 51.41 kB / 0.7055 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.966e-05/0.1826, allocations: 105.8 kB / 0.7056 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1826, allocations: 25.7 kB / 0.7056 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.1827, allocations: 96.12 kB / 0.7057 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.1827, allocations: 3.953 kB / 0.7057 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.1828, allocations: 17.72 kB / 0.7058 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1829, allocations: 314.8 kB / 0.7061 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.058e-05/0.183, allocations: 23.97 kB / 0.7061 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.129e-05/0.1831, allocations: 19.98 kB / 0.7061 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.1832, allocations: 44.81 kB / 0.7061 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1832, allocations: 3.938 kB / 0.7061 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002097/0.1835, allocations: 81.88 kB / 0.7062 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1835, allocations: 4 kB / 0.7062 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1835, allocations: 3.984 kB / 0.7062 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1835, allocations: 4 kB / 0.7062 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.1836, allocations: 7.984 kB / 0.7062 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.1836, allocations: 4 kB / 0.7062 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.544e-05/0.1836, allocations: 11.98 kB / 0.7063 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.1836, allocations: 8 kB / 0.7063 GB, free: 13.45 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 8.851e-05/0.1837, allocations: 109.8 kB / 0.7064 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.1837, allocations: 4 kB / 0.7064 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.184, allocations: 89.58 kB / 0.7065 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.184, allocations: 3.984 kB / 0.7065 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.184, allocations: 7.938 kB / 0.7065 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.184, allocations: 0 / 0.7065 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.1842, allocations: 140.6 kB / 0.7066 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1842, allocations: 0 / 0.7066 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.659e-05/0.1843, allocations: 11.98 kB / 0.7066 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1843, allocations: 0 / 0.7066 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1843, allocations: 4 kB / 0.7066 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1843, allocations: 0 / 0.7066 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1843, allocations: 0 / 0.7066 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.1846, allocations: 183.3 kB / 0.7068 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.1846, allocations: 3.984 kB / 0.7068 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.1846, allocations: 0 / 0.7068 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/0.1847, allocations: 4 kB / 0.7068 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.1847, allocations: 11.98 kB / 0.7068 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1847, allocations: 0 / 0.7068 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.565e-05/0.1848, allocations: 91.27 kB / 0.7069 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1848, allocations: 4 kB / 0.7069 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002464/0.185, allocations: 12 kB / 0.7069 GB, free: 12.71 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.0007369/0.1858, allocations: 0.724 MB / 0.7076 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.186, allocations: 55.89 kB / 0.7077 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.186, allocations: 0 / 0.7077 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.43e-05/0.1861, allocations: 15.98 kB / 0.7077 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.1864, allocations: 8 kB / 0.7077 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.1881, allocations: 1.281 MB / 0.7089 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.1885, allocations: 0.6845 MB / 0.7096 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.26e-05/0.1886, allocations: 7.984 kB / 0.7096 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.1886, allocations: 23.34 kB / 0.7096 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/0.1886, allocations: 0 / 0.7096 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.2182, allocations: 2.05 MB / 0.7116 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.08, allocations: 7.703 kB / 0.7117 GB, free: 7.855 MB / 0.5294 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 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: 14.798566594021395] Failed to read output from testmodel.py, exit status != 0: 11.192836552858353 11.212139119 11.029229566 Calling exit ...