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.00101/0.00101, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001129/0.001129, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.9775/0.9775, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.0026/0.0026, allocations: 248 kB / 261.3 MB, free: 12.67 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.8097/0.8097, allocations: 138.5 MB / 456.3 MB, free: 1.387 MB / 362.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.222e-06/1.222e-06, allocations: 0 / 0.5564 GB, free: 152 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.265e-05, allocations: 2.312 kB / 0.5564 GB, free: 148 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001314/0.001336, allocations: 0.604 MB / 0.557 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002435/0.00158, allocations: 99.61 kB / 0.5571 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.805e-05/0.001598, allocations: 0 / 0.5571 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.415e-05/0.001632, allocations: 0 / 0.5571 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.001638, allocations: 4 kB / 0.5571 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.001905, allocations: 43.81 kB / 0.5572 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.251e-05/0.001998, allocations: 63.92 kB / 0.5572 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.428e-05/0.002032, allocations: 0 / 0.5572 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.063e-05/0.002072, allocations: 35.89 kB / 0.5573 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.625e-05/0.002109, allocations: 27.95 kB / 0.5573 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.002122, allocations: 0 / 0.5573 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.379e-05/0.002216, allocations: 51.88 kB / 0.5573 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.002244, allocations: 23.97 kB / 0.5574 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.778e-05/0.002262, allocations: 15.98 kB / 0.5574 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.002376, allocations: 91.73 kB / 0.5575 GB, free: 15.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002378, allocations: 0 / 0.5575 GB, free: 15.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002379, allocations: 0 / 0.5575 GB, free: 15.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.002383, allocations: 0 / 0.5575 GB, free: 15.09 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.0003224/0.002705, allocations: 400.6 kB / 0.5578 GB, free: 14.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.002735, allocations: 8.75 kB / 0.5579 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.002769, allocations: 16.94 kB / 0.5579 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.732e-05/0.002827, allocations: 116.5 kB / 0.558 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/0.003044, allocations: 0.5338 MB / 0.5585 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.003054, allocations: 4.375 kB / 0.5585 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.003187, allocations: 82.84 kB / 0.5586 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.003193, allocations: 192 / 0.5586 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.003202, allocations: 4.375 kB / 0.5586 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.003209, allocations: 8.109 kB / 0.5586 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.775e-05/0.003296, allocations: 87.83 kB / 0.5587 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.755e-05/0.003394, allocations: 109.2 kB / 0.5588 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.464e-05/0.003469, allocations: 70.97 kB / 0.5589 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/0.003496, allocations: 23.67 kB / 0.5589 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.00351, allocations: 8 kB / 0.5589 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.00353, allocations: 37.39 kB / 0.5589 GB, free: 13.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 6.11e-07/0.003531, allocations: 0 / 0.5589 GB, free: 13.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001527/0.003683, allocations: 94.2 kB / 0.559 GB, free: 13.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.003713, allocations: 63.34 kB / 0.5591 GB, free: 13.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.786e-05/0.003751, allocations: 142.2 kB / 0.5592 GB, free: 13.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.003761, allocations: 29.69 kB / 0.5592 GB, free: 12.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.003787, allocations: 130.9 kB / 0.5594 GB, free: 12.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.003821, allocations: 31.7 kB / 0.5594 GB, free: 12.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.003854, allocations: 39.34 kB / 0.5594 GB, free: 12.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.003952, allocations: 0.4922 MB / 0.5599 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.003974, allocations: 11.98 kB / 0.5599 GB, free: 12.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.557e-05/0.003999, allocations: 20.03 kB / 0.5599 GB, free: 12.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.294e-05/0.004052, allocations: 39.61 kB / 0.56 GB, free: 12.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.004054, allocations: 4 kB / 0.56 GB, free: 12.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.759e-05/0.004141, allocations: 85.55 kB / 0.5601 GB, free: 12.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.004151, allocations: 4 kB / 0.5601 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.004155, allocations: 0 / 0.5601 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.882e-06/0.004162, allocations: 0 / 0.5601 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.795e-05/0.00424, allocations: 27.98 kB / 0.5601 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.004243, allocations: 3.984 kB / 0.5601 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.905e-05/0.004272, allocations: 15.86 kB / 0.5601 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.004279, allocations: 4 kB / 0.5601 GB, free: 12.05 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 5.718e-05/0.004336, allocations: 156.6 kB / 0.5603 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.004347, allocations: 8 kB / 0.5603 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.783e-05/0.004365, allocations: 11.95 kB / 0.5603 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.004367, allocations: 4 kB / 0.5603 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.004368, allocations: 0 / 0.5603 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.004371, allocations: 0 / 0.5603 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.82e-05/0.004439, allocations: 125.1 kB / 0.5604 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.00444, allocations: 7.938 kB / 0.5604 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.004494, allocations: 27.97 kB / 0.5604 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.004495, allocations: 0 / 0.5604 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.0045, allocations: 0 / 0.5604 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.0045, allocations: 0 / 0.5604 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.004502, allocations: 3.984 kB / 0.5604 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.004604, allocations: 116.4 kB / 0.5606 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-06/0.004611, allocations: 11.95 kB / 0.5606 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.004621, allocations: 3.984 kB / 0.5606 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.347e-05/0.004645, allocations: 8 kB / 0.5606 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.004679, allocations: 19.91 kB / 0.5606 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.004682, allocations: 0 / 0.5606 GB, free: 11.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.665e-05/0.004709, allocations: 123.1 kB / 0.5607 GB, free: 11.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004709, allocations: 0 / 0.5607 GB, free: 11.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001399/0.004849, allocations: 27.94 kB / 0.5607 GB, free: 11.36 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.0001121/0.004961, allocations: 111.2 kB / 0.5608 GB, free: 11.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.241e-05/0.005053, allocations: 63.56 kB / 0.5609 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.005055, allocations: 0 / 0.5609 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.00509, allocations: 40.33 kB / 0.5609 GB, free: 11.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.473e-05/0.005185, allocations: 19.92 kB / 0.561 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.00537, allocations: 156.7 kB / 0.5611 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.774e-05/0.005398, allocations: 63.34 kB / 0.5612 GB, free: 10.85 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.304e-05/0.005441, allocations: 23.91 kB / 0.5612 GB, free: 10.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.005488, allocations: 78.2 kB / 0.5613 GB, free: 10.75 MB / 490.7 MB Notification: Performance of SimCode: time 3.61e-07/0.005488, allocations: 0 / 0.5613 GB, free: 10.75 MB / 490.7 MB Notification: Performance of Templates: time 0.002375/0.007863, allocations: 1.257 MB / 0.5625 GB, free: 9.504 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.614514322951436]