Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 107.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002534/0.002534, allocations: 287.1 kB / 303 MB, free: 9.496 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.23/1.23, allocations: 180.9 MB / 0.5261 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002739/0.002739, allocations: 102.4 kB / 0.7248 GB, free: 39.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1763, allocations: 94.16 MB / 0.8167 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.003126/0.1794, allocations: 1.537 MB / 0.8182 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005649/0.18, allocations: 192.2 kB / 0.8184 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.18, allocations: 4 kB / 0.8184 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.1801, allocations: 3.938 kB / 0.8184 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.308e-05/0.1801, allocations: 3.938 kB / 0.8184 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.1804, allocations: 55.81 kB / 0.8185 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.079e-05/0.1805, allocations: 27.92 kB / 0.8185 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.1806, allocations: 11.98 kB / 0.8185 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.248e-05/0.1806, allocations: 19.92 kB / 0.8185 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.1807, allocations: 23.91 kB / 0.8186 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1807, allocations: 8 kB / 0.8186 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1808, allocations: 47.95 kB / 0.8186 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.1808, allocations: 4 kB / 0.8186 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.1808, allocations: 11.94 kB / 0.8186 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.181, allocations: 75.98 kB / 0.8187 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.181, allocations: 4 kB / 0.8187 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.181, allocations: 0 / 0.8187 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.181, allocations: 0 / 0.8187 GB, free: 3.387 MB / 0.5606 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.0005018/0.1815, allocations: 359.3 kB / 0.819 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1815, allocations: 8.031 kB / 0.819 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.1816, allocations: 34.75 kB / 0.8191 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.1816, allocations: 8.891 kB / 0.8191 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1817, allocations: 168.3 kB / 0.8192 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.1818, allocations: 4.375 kB / 0.8193 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.1818, allocations: 384 / 0.8193 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.182, allocations: 62.23 kB / 0.8193 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.182, allocations: 3.938 kB / 0.8193 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.182, allocations: 0 / 0.8193 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.182, allocations: 4 kB / 0.8193 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.1822, allocations: 43.95 kB / 0.8194 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.1826, allocations: 288.7 kB / 0.8196 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.1829, allocations: 58.59 kB / 0.8197 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.891e-05/0.183, allocations: 24.84 kB / 0.8197 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002312/0.1832, allocations: 170.2 kB / 0.8199 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.1833, allocations: 30.56 kB / 0.8199 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1833, allocations: 0 / 0.8199 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003819/0.1836, allocations: 109.5 kB / 0.82 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.1837, allocations: 51.41 kB / 0.8201 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.933e-05/0.1838, allocations: 109.8 kB / 0.8202 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1838, allocations: 25.7 kB / 0.8202 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.1839, allocations: 93.94 kB / 0.8203 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.1839, allocations: 3.953 kB / 0.8203 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.1839, allocations: 21.7 kB / 0.8203 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1841, allocations: 318.7 kB / 0.8206 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.891e-05/0.1842, allocations: 27.97 kB / 0.8206 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.605e-05/0.1843, allocations: 19.98 kB / 0.8207 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.1844, allocations: 48.75 kB / 0.8207 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1844, allocations: 0 / 0.8207 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002126/0.1846, allocations: 73.66 kB / 0.8208 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1846, allocations: 10.66 kB / 0.8208 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-06/0.1847, allocations: 0 / 0.8208 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1847, allocations: 4 kB / 0.8208 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.1847, allocations: 15.98 kB / 0.8208 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1848, allocations: 0 / 0.8208 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/0.1848, allocations: 11.94 kB / 0.8208 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1848, allocations: 0 / 0.8208 GB, free: 0.9492 MB / 0.5606 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.368e-05/0.1849, allocations: 113.8 kB / 0.8209 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.1849, allocations: 4 kB / 0.8209 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.1852, allocations: 89.48 kB / 0.821 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1852, allocations: 0 / 0.821 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1852, allocations: 0 / 0.821 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1852, allocations: 0 / 0.821 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.1854, allocations: 173.6 kB / 0.8212 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1854, allocations: 0 / 0.8212 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.292e-05/0.1855, allocations: 11.94 kB / 0.8212 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.1855, allocations: 7.984 kB / 0.8212 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1855, allocations: 0 / 0.8212 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1855, allocations: 0 / 0.8212 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1855, allocations: 0 / 0.8212 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.1857, allocations: 175.3 kB / 0.8214 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.1858, allocations: 81.53 kB / 0.8214 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1858, allocations: 3.984 kB / 0.8214 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.1859, allocations: 8 kB / 0.8214 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.1859, allocations: 11.98 kB / 0.8215 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1859, allocations: 0 / 0.8215 GB, free: 180 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.109e-05/0.186, allocations: 87.58 kB / 0.8215 GB, free: 92 kB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.186, allocations: 0 / 0.8215 GB, free: 92 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000237/0.1862, allocations: 19.94 kB / 0.8216 GB, free: 72 kB / 0.5606 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.000692/0.1869, allocations: 0.7241 MB / 0.8223 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.1871, allocations: 51.89 kB / 0.8223 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1871, allocations: 0 / 0.8223 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.442e-05/0.1872, allocations: 23.97 kB / 0.8223 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.1875, allocations: 12.17 kB / 0.8224 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.1891, allocations: 1.292 MB / 0.8236 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.1895, allocations: 0.6768 MB / 0.8243 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.64e-05/0.1895, allocations: 11.98 kB / 0.8243 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.1895, allocations: 19.38 kB / 0.8243 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1895, allocations: 0 / 0.8243 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.2134, allocations: 1.95 MB / 0.8262 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.327, allocations: 3.703 kB / 0.8262 GB, free: 11.27 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.578029815107584] Failed to read output from testmodel.py, exit status != 0: 8.397392184007913 8.421170087 8.235704202 Calling exit ...