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.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.001187/0.001187, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001379/0.001379, allocations: 173 kB / 23.49 MB, free: 1.062 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.9618/0.9618, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.005547/0.005547, allocations: 234.8 kB / 260.5 MB, free: 12.87 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.7855/0.7855, allocations: 138.4 MB / 455.4 MB, free: 1.539 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.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 1.362e-06/1.362e-06, allocations: 0 / 0.555 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.002e-05, allocations: 4.984 kB / 0.555 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.001905/0.001925, allocations: 1.605 MB / 0.5566 GB, free: 15.24 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003631/0.002288, allocations: 172.3 kB / 0.5568 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.922e-05/0.002327, allocations: 0 / 0.5568 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.002353, allocations: 3.938 kB / 0.5568 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.257e-05/0.002396, allocations: 7.938 kB / 0.5568 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.002708, allocations: 51.8 kB / 0.5568 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.861e-05/0.002787, allocations: 39.86 kB / 0.5569 GB, free: 14.97 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.823e-05/0.002875, allocations: 8 kB / 0.5569 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.667e-05/0.002912, allocations: 23.97 kB / 0.5569 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.494e-05/0.002947, allocations: 11.97 kB / 0.5569 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.002961, allocations: 11.94 kB / 0.5569 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.003062, allocations: 51.94 kB / 0.557 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.003073, allocations: 4 kB / 0.557 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.003093, allocations: 11.98 kB / 0.557 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.003242, allocations: 71.72 kB / 0.5571 GB, free: 14.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003244, allocations: 0 / 0.5571 GB, free: 14.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003245, allocations: 0 / 0.5571 GB, free: 14.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.003249, allocations: 0 / 0.5571 GB, free: 14.78 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000388/0.003637, allocations: 380.5 kB / 0.5574 GB, free: 14.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.003672, allocations: 8.75 kB / 0.5574 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.003714, allocations: 12.89 kB / 0.5574 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.295e-05/0.003797, allocations: 112.6 kB / 0.5575 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.003817, allocations: 384 / 0.5575 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.003827, allocations: 4.375 kB / 0.5575 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.00395, allocations: 66.88 kB / 0.5576 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.003957, allocations: 192 / 0.5576 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.003968, allocations: 8.359 kB / 0.5576 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.003975, allocations: 384 / 0.5576 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.875e-05/0.004014, allocations: 15.88 kB / 0.5576 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.004305, allocations: 271.7 kB / 0.5579 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.004465, allocations: 51.05 kB / 0.5579 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.556e-05/0.004491, allocations: 19.69 kB / 0.558 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.004607, allocations: 15.98 kB / 0.558 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.004627, allocations: 41.31 kB / 0.558 GB, free: 13.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.004628, allocations: 4 kB / 0.558 GB, free: 13.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.00016/0.004788, allocations: 49.86 kB / 0.5581 GB, free: 13.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.004812, allocations: 51.41 kB / 0.5581 GB, free: 13.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.993e-05/0.004882, allocations: 165.9 kB / 0.5583 GB, free: 13.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.004891, allocations: 25.7 kB / 0.5583 GB, free: 13.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.004936, allocations: 134.8 kB / 0.5584 GB, free: 13.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.00495, allocations: 11.95 kB / 0.5584 GB, free: 13.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.004976, allocations: 19.38 kB / 0.5585 GB, free: 13.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.005075, allocations: 0.4922 MB / 0.5589 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.00509, allocations: 4 kB / 0.5589 GB, free: 12.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.208e-05/0.005103, allocations: 4 kB / 0.5589 GB, free: 12.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.396e-05/0.005136, allocations: 23.67 kB / 0.559 GB, free: 12.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005138, allocations: 0 / 0.559 GB, free: 12.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.706e-05/0.005195, allocations: 45.62 kB / 0.559 GB, free: 12.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.005206, allocations: 4 kB / 0.559 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.00521, allocations: 4 kB / 0.559 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.005223, allocations: 0 / 0.559 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.159e-05/0.005264, allocations: 15.94 kB / 0.559 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.005268, allocations: 0 / 0.559 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.005288, allocations: 7.984 kB / 0.559 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.005292, allocations: 3.938 kB / 0.559 GB, free: 12.52 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: 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 5.818e-05/0.005351, allocations: 152.6 kB / 0.5592 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.005366, allocations: 12.14 kB / 0.5592 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.755e-05/0.005454, allocations: 57.36 kB / 0.5593 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005456, allocations: 4 kB / 0.5593 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.00546, allocations: 4 kB / 0.5593 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.005463, allocations: 0 / 0.5593 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.06e-05/0.005553, allocations: 120.6 kB / 0.5594 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005554, allocations: 0 / 0.5594 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.005583, allocations: 4 kB / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.005587, allocations: 4 kB / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.005595, allocations: 7.922 kB / 0.5594 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.005597, allocations: 3.938 kB / 0.5594 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005597, allocations: 0 / 0.5594 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.523e-05/0.005693, allocations: 195.9 kB / 0.5596 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.0057, allocations: 7.891 kB / 0.5596 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.005711, allocations: 3.938 kB / 0.5596 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.249e-05/0.005744, allocations: 4 kB / 0.5596 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.005787, allocations: 7.984 kB / 0.5596 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.005791, allocations: 4 kB / 0.5596 GB, free: 11.87 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.298e-05/0.005824, allocations: 127.2 kB / 0.5597 GB, free: 11.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005824, allocations: 0 / 0.5597 GB, free: 11.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001621/0.005986, allocations: 16 kB / 0.5598 GB, free: 11.73 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: 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.0001303/0.006117, allocations: 123 kB / 0.5599 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.817e-05/0.006195, allocations: 27.83 kB / 0.5599 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.006197, allocations: 4 kB / 0.5599 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.3e-05/0.00622, allocations: 15.69 kB / 0.5599 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.006383, allocations: 4 kB / 0.5599 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.006621, allocations: 129.3 kB / 0.56 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.002e-05/0.006651, allocations: 59.3 kB / 0.5601 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.107e-05/0.006672, allocations: 8 kB / 0.5601 GB, free: 11.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.006697, allocations: 20.48 kB / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.006698, allocations: 0 / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of Templates: time 0.002471/0.009169, allocations: 1.015 MB / 0.5611 GB, free: 10.28 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7294854619540274]