Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009343/0.0009343, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009907/0.0009907, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9327/0.9327, allocations: 177.1 MB / 203.7 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001662/0.001662, allocations: 233.5 kB / 260.5 MB, free: 12.65 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7739/0.7739, allocations: 138.4 MB / 455.5 MB, free: 29.95 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5556 GB, free: 15.81 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.514e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.00103/0.001045, allocations: 0.6004 MB / 0.5562 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002848/0.00133, allocations: 103.6 kB / 0.5563 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.001353, allocations: 4 kB / 0.5563 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.001387, allocations: 0 / 0.5563 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.867e-06/0.001396, allocations: 0 / 0.5563 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.001778, allocations: 43.83 kB / 0.5564 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.001888, allocations: 67.91 kB / 0.5564 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.001923, allocations: 0 / 0.5564 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.305e-05/0.001976, allocations: 35.95 kB / 0.5565 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.951e-05/0.002006, allocations: 15.98 kB / 0.5565 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.002021, allocations: 4 kB / 0.5565 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.002133, allocations: 47.94 kB / 0.5565 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.002164, allocations: 27.89 kB / 0.5566 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.002185, allocations: 27.91 kB / 0.5566 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.002314, allocations: 91.73 kB / 0.5567 GB, free: 14.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.002315, allocations: 0 / 0.5567 GB, free: 14.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.002316, allocations: 0 / 0.5567 GB, free: 14.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.002319, allocations: 0 / 0.5567 GB, free: 14.75 MB / 490.7 MB 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.0003517/0.002671, allocations: 388.3 kB / 0.557 GB, free: 14.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.002708, allocations: 9.938 kB / 0.5571 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.002745, allocations: 21.23 kB / 0.5571 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.551e-05/0.0028, allocations: 120.5 kB / 0.5572 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.003024, allocations: 0.5299 MB / 0.5577 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.003032, allocations: 8.375 kB / 0.5577 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.00317, allocations: 87.66 kB / 0.5578 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.003177, allocations: 192 / 0.5578 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.003185, allocations: 384 / 0.5578 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.003193, allocations: 4.125 kB / 0.5578 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.953e-05/0.003282, allocations: 91.83 kB / 0.5579 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.0034, allocations: 113.2 kB / 0.558 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.381e-05/0.003474, allocations: 75.8 kB / 0.5581 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.003501, allocations: 23.69 kB / 0.5581 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.003524, allocations: 7.984 kB / 0.5581 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.003545, allocations: 37.39 kB / 0.5581 GB, free: 13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 8.62e-07/0.003546, allocations: 0 / 0.5581 GB, free: 13 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001552/0.003701, allocations: 99.3 kB / 0.5582 GB, free: 12.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.003726, allocations: 59.34 kB / 0.5583 GB, free: 12.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.015e-05/0.003766, allocations: 142.2 kB / 0.5584 GB, free: 12.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.003777, allocations: 29.7 kB / 0.5584 GB, free: 12.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.842e-05/0.003805, allocations: 126.9 kB / 0.5586 GB, free: 12.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.003843, allocations: 39.67 kB / 0.5586 GB, free: 12.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.003876, allocations: 35.36 kB / 0.5586 GB, free: 12.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.003985, allocations: 0.4883 MB / 0.5591 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.537e-05/0.00401, allocations: 15.98 kB / 0.5591 GB, free: 11.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.004029, allocations: 15.98 kB / 0.5591 GB, free: 11.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.573e-05/0.004085, allocations: 41.64 kB / 0.5592 GB, free: 11.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.004086, allocations: 0 / 0.5592 GB, free: 11.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.344e-05/0.004169, allocations: 77.61 kB / 0.5593 GB, free: 11.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.00418, allocations: 7.938 kB / 0.5593 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.004183, allocations: 0 / 0.5593 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.004194, allocations: 0 / 0.5593 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.004279, allocations: 27.97 kB / 0.5593 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.004282, allocations: 4 kB / 0.5593 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.004328, allocations: 15.83 kB / 0.5593 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.004341, allocations: 7.984 kB / 0.5593 GB, free: 11.71 MB / 490.7 MB 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 8.112e-05/0.004422, allocations: 160.6 kB / 0.5595 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.00444, allocations: 4 kB / 0.5595 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.004472, allocations: 15.95 kB / 0.5595 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.004475, allocations: 4 kB / 0.5595 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.004477, allocations: 0 / 0.5595 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.00448, allocations: 0 / 0.5595 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.004583, allocations: 117.1 kB / 0.5596 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.004584, allocations: 4 kB / 0.5596 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8e-05/0.004664, allocations: 27.92 kB / 0.5596 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.004667, allocations: 3.984 kB / 0.5596 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.004672, allocations: 0 / 0.5596 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.004673, allocations: 0 / 0.5596 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.004674, allocations: 0 / 0.5596 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.004786, allocations: 128.3 kB / 0.5598 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-06/0.004793, allocations: 7.953 kB / 0.5598 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.004804, allocations: 8 kB / 0.5598 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.439e-05/0.004828, allocations: 4 kB / 0.5598 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.004864, allocations: 19.91 kB / 0.5598 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.00487, allocations: 7.984 kB / 0.5598 GB, free: 11.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.654e-05/0.004897, allocations: 119.2 kB / 0.5599 GB, free: 11.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.004897, allocations: 0 / 0.5599 GB, free: 11.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001435/0.00504, allocations: 23.94 kB / 0.5599 GB, free: 11.02 MB / 490.7 MB 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.0001164/0.005157, allocations: 119.2 kB / 0.5601 GB, free: 10.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.361e-05/0.00525, allocations: 50.39 kB / 0.5601 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.005251, allocations: 3.938 kB / 0.5601 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.65e-05/0.005288, allocations: 47.64 kB / 0.5602 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.223e-05/0.00538, allocations: 19.94 kB / 0.5602 GB, free: 10.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001859/0.005566, allocations: 140.8 kB / 0.5603 GB, free: 10.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.136e-05/0.005597, allocations: 63.34 kB / 0.5604 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.205e-05/0.005639, allocations: 23.75 kB / 0.5604 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.005689, allocations: 78.19 kB / 0.5605 GB, free: 10.42 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/0.005689, allocations: 3.938 kB / 0.5605 GB, free: 10.41 MB / 490.7 MB Notification: Performance of Templates: time 0.002384/0.008073, allocations: 1.246 MB / 0.5617 GB, free: 9.184 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6688828729093075]