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.0007861/0.0007861, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007388/0.0007388, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8306/0.8306, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.001508/0.001508, allocations: 234.2 kB / 260.2 MB, free: 13.02 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.6634/0.6634, allocations: 138.4 MB / 455.1 MB, free: 30 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.733e-06/1.733e-06, allocations: 0 / 0.6476 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.089e-05, allocations: 5.234 kB / 0.6476 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001266/0.001297, allocations: 0.5964 MB / 0.6482 GB, free: 0.707 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003256/0.001622, allocations: 104.3 kB / 0.6483 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.001644, allocations: 0 / 0.6483 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.001673, allocations: 0 / 0.6483 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.863e-06/0.00168, allocations: 0 / 0.6483 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.002054, allocations: 39.89 kB / 0.6483 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.00217, allocations: 63.92 kB / 0.6484 GB, free: 0.5039 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.002211, allocations: 0 / 0.6484 GB, free: 0.5039 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.743e-05/0.002258, allocations: 35.95 kB / 0.6484 GB, free: 480 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.847e-05/0.002297, allocations: 23.89 kB / 0.6484 GB, free: 456 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.002318, allocations: 8 kB / 0.6484 GB, free: 448 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.002437, allocations: 55.88 kB / 0.6485 GB, free: 392 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.00247, allocations: 15.98 kB / 0.6485 GB, free: 376 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.002493, allocations: 19.97 kB / 0.6485 GB, free: 356 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.002653, allocations: 87.73 kB / 0.6486 GB, free: 268 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002656, allocations: 0 / 0.6486 GB, free: 268 kB / 0.5573 GB Notification: Performance of FrontEnd: time 2.204e-06/0.002658, allocations: 4 kB / 0.6486 GB, free: 264 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.002662, allocations: 0 / 0.6486 GB, free: 264 kB / 0.5573 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.2597/0.2624, allocations: 289.3 kB / 0.6489 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2624, allocations: 10.03 kB / 0.6489 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.2625, allocations: 11.78 kB / 0.6489 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.088e-05/0.2625, allocations: 111.5 kB / 0.649 GB, free: 57.01 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.2627, allocations: 0.5266 MB / 0.6495 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.2627, allocations: 5.188 kB / 0.6495 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.2629, allocations: 79.36 kB / 0.6496 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2629, allocations: 3.781 kB / 0.6496 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.2629, allocations: 2 kB / 0.6496 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2629, allocations: 7.453 kB / 0.6496 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.2631, allocations: 124.7 kB / 0.6497 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.2632, allocations: 117.8 kB / 0.6498 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.2634, allocations: 92.92 kB / 0.6499 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.79e-05/0.2635, allocations: 39.95 kB / 0.65 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.2635, allocations: 4.156 kB / 0.65 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.2635, allocations: 34.81 kB / 0.65 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.2635, allocations: 2.406 kB / 0.65 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0003348/0.2639, allocations: 148.8 kB / 0.6501 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.2639, allocations: 53.06 kB / 0.6502 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.605e-05/0.2639, allocations: 94.97 kB / 0.6503 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.2639, allocations: 27.98 kB / 0.6503 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-06/0.2639, allocations: 87.28 kB / 0.6504 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.264, allocations: 34.78 kB / 0.6504 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.264, allocations: 30.2 kB / 0.6505 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.114e-05/0.264, allocations: 318.3 kB / 0.6508 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.774e-05/0.2641, allocations: 28.78 kB / 0.6508 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.2642, allocations: 35.59 kB / 0.6508 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.2643, allocations: 76.69 kB / 0.6509 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2643, allocations: 0.6562 kB / 0.6509 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001848/0.2645, allocations: 117.7 kB / 0.651 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2645, allocations: 5.438 kB / 0.651 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2645, allocations: 0.875 kB / 0.651 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2645, allocations: 0.75 kB / 0.651 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.2646, allocations: 28.41 kB / 0.651 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2647, allocations: 3.938 kB / 0.651 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.2647, allocations: 13.3 kB / 0.6511 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.2647, allocations: 6.438 kB / 0.6511 GB, free: 55.46 MB / 0.5573 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 4.527e-05/0.2647, allocations: 116.1 kB / 0.6512 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.2648, allocations: 10.86 kB / 0.6512 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.2648, allocations: 13.66 kB / 0.6512 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2648, allocations: 3.031 kB / 0.6512 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2648, allocations: 0 / 0.6512 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.2648, allocations: 7.688 kB / 0.6512 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.506e-05/0.2649, allocations: 120.5 kB / 0.6513 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2649, allocations: 0 / 0.6513 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.183e-05/0.2649, allocations: 27.3 kB / 0.6514 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2649, allocations: 1.438 kB / 0.6514 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.2649, allocations: 4.828 kB / 0.6514 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2649, allocations: 1.516 kB / 0.6514 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2649, allocations: 0.5 kB / 0.6514 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.2651, allocations: 151.9 kB / 0.6515 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.2652, allocations: 7.812 kB / 0.6515 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.2652, allocations: 3.438 kB / 0.6515 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.67e-05/0.2652, allocations: 6.656 kB / 0.6515 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.2652, allocations: 17.16 kB / 0.6515 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.2653, allocations: 6.266 kB / 0.6515 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.418e-06/0.2653, allocations: 79.94 kB / 0.6516 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2653, allocations: 0 / 0.6516 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001587/0.2654, allocations: 24.14 kB / 0.6516 GB, free: 55.06 MB / 0.5573 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.0001584/0.2656, allocations: 120.8 kB / 0.6518 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.2658, allocations: 85.39 kB / 0.6518 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2658, allocations: 1.75 kB / 0.6518 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.646e-05/0.2659, allocations: 45.98 kB / 0.6519 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.266, allocations: 7.391 kB / 0.6519 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.2663, allocations: 186 kB / 0.6521 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.904e-05/0.2663, allocations: 70.14 kB / 0.6521 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.2663, allocations: 23.52 kB / 0.6522 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.2663, allocations: 0 / 0.6522 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of Templates: time 0.002393/0.2687, allocations: 1.347 MB / 0.6535 GB, free: 54.71 MB / 0.5573 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.236476083286107] Failed to read output from testmodel.py, exit status != 0: 0.27405236940830946 0.280953114 0.27682325 Calling exit ...