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.001299/0.001299, allocations: 109.6 kB / 19.59 MB, free: 2.332 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.001395/0.001395, allocations: 193.4 kB / 22.85 MB, free: 5.641 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.389/1.389, allocations: 225.6 MB / 251.5 MB, free: 13.03 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.002558/0.002558, allocations: 285.9 kB / 307 MB, free: 8.363 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.239/1.239, allocations: 180.8 MB / 0.5304 GB, free: 14.52 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: translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004741/0.004741, allocations: 109.5 kB / 0.7311 GB, free: 38.68 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1726, allocations: 94.19 MB / 0.8231 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002942/0.1755, allocations: 1.565 MB / 0.8246 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000491/0.176, allocations: 176.3 kB / 0.8248 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.1761, allocations: 4 kB / 0.8248 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.1761, allocations: 0 / 0.8248 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.637e-05/0.1762, allocations: 3.938 kB / 0.8248 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.1765, allocations: 51.88 kB / 0.8249 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.218e-05/0.1766, allocations: 43.84 kB / 0.8249 GB, free: 52 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.228e-05/0.1767, allocations: 8 kB / 0.8249 GB, free: 44 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.94e-05/0.1767, allocations: 19.92 kB / 0.8249 GB, free: 24 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.1768, allocations: 19.91 kB / 0.8249 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1768, allocations: 4 kB / 0.8249 GB, free: 0 / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.177, allocations: 51.95 kB / 0.825 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.177, allocations: 7.984 kB / 0.825 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.177, allocations: 19.92 kB / 0.825 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.1772, allocations: 71.67 kB / 0.8251 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1772, allocations: 0 / 0.8251 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1772, allocations: 4 kB / 0.8251 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.1772, allocations: 0 / 0.8251 GB, free: 15.85 MB / 0.5762 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.0004999/0.1777, allocations: 282.2 kB / 0.8254 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1777, allocations: 8.031 kB / 0.8254 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.1778, allocations: 8.891 kB / 0.8254 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1779, allocations: 110.5 kB / 0.8255 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1779, allocations: 384 / 0.8255 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1779, allocations: 4.375 kB / 0.8255 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.1782, allocations: 66.22 kB / 0.8256 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1782, allocations: 192 / 0.8256 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1782, allocations: 3.938 kB / 0.8256 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1782, allocations: 7.875 kB / 0.8256 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.1784, allocations: 43.95 kB / 0.8256 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.1788, allocations: 255.8 kB / 0.8258 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.1791, allocations: 70.45 kB / 0.8259 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.1793, allocations: 26.41 kB / 0.8259 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.1794, allocations: 11.98 kB / 0.826 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1794, allocations: 38.5 kB / 0.826 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1794, allocations: 0 / 0.826 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004627/0.1799, allocations: 101.6 kB / 0.8261 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.1799, allocations: 51.41 kB / 0.8261 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.18, allocations: 113.8 kB / 0.8262 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.18, allocations: 25.7 kB / 0.8263 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.1801, allocations: 84.14 kB / 0.8263 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.1801, allocations: 7.891 kB / 0.8264 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.1801, allocations: 21.72 kB / 0.8264 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1803, allocations: 322.8 kB / 0.8267 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/0.1804, allocations: 15.98 kB / 0.8267 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.049e-05/0.1805, allocations: 23.97 kB / 0.8267 GB, free: 14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.1807, allocations: 44.83 kB / 0.8268 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1807, allocations: 0 / 0.8268 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002276/0.1809, allocations: 73.64 kB / 0.8268 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1809, allocations: 10.34 kB / 0.8268 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.1809, allocations: 0 / 0.8268 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1809, allocations: 0 / 0.8268 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.926e-05/0.181, allocations: 19.92 kB / 0.8269 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.181, allocations: 0 / 0.8269 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.01e-05/0.1811, allocations: 7.953 kB / 0.8269 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1811, allocations: 0 / 0.8269 GB, free: 13.84 MB / 0.5762 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.643e-05/0.1812, allocations: 122.4 kB / 0.827 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.1812, allocations: 0 / 0.827 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.1815, allocations: 85.64 kB / 0.8271 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1815, allocations: 0 / 0.8271 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1815, allocations: 0 / 0.8271 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1815, allocations: 0 / 0.8271 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.1816, allocations: 144.6 kB / 0.8272 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1816, allocations: 8 kB / 0.8272 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.767e-05/0.1817, allocations: 11.98 kB / 0.8272 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1817, allocations: 3.938 kB / 0.8272 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1817, allocations: 4 kB / 0.8272 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1817, allocations: 0 / 0.8272 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1817, allocations: 3.938 kB / 0.8272 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.182, allocations: 179.8 kB / 0.8274 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.182, allocations: 7.969 kB / 0.8274 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.182, allocations: 4 kB / 0.8274 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.669e-05/0.1821, allocations: 3.984 kB / 0.8274 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.1822, allocations: 8 kB / 0.8274 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1822, allocations: 3.984 kB / 0.8274 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.994e-05/0.1822, allocations: 87.28 kB / 0.8275 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1822, allocations: 0 / 0.8275 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002435/0.1825, allocations: 12 kB / 0.8275 GB, free: 13.08 MB / 0.5762 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.0001928/0.1827, allocations: 127.2 kB / 0.8277 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.1829, allocations: 43.89 kB / 0.8277 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1829, allocations: 0 / 0.8277 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.183, allocations: 27.97 kB / 0.8277 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.1833, allocations: 7.938 kB / 0.8277 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.1836, allocations: 117.6 kB / 0.8278 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.1839, allocations: 0.6806 MB / 0.8285 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.184, allocations: 4 kB / 0.8285 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.184, allocations: 11.44 kB / 0.8285 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.184, allocations: 0 / 0.8285 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of Templates: time 0.003745/0.1877, allocations: 0.999 MB / 0.8295 GB, free: 11.01 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.059566291980445] Failed to read output from testmodel.py, exit status != 0: 0.19703561800997704 0.20970464599999994 0.029465415000000002 Calling exit ...