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.001335/0.001335, allocations: 85.27 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.001618/0.001618, allocations: 165 kB / 23.27 MB, free: 1.219 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 1.017/1.017, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.001544/0.001544, allocations: 249.7 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.7205/0.7205, allocations: 138.4 MB / 455.5 MB, free: 30.04 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.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.172e-06/1.172e-06, allocations: 0 / 0.5556 GB, free: 15.9 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.357e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002289/0.002312, allocations: 1.595 MB / 0.5571 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003786/0.002691, allocations: 172.3 kB / 0.5573 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/0.002731, allocations: 0 / 0.5573 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.002759, allocations: 7.922 kB / 0.5573 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.058e-05/0.00281, allocations: 11.88 kB / 0.5573 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.003123, allocations: 51.81 kB / 0.5574 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.64e-05/0.003189, allocations: 39.91 kB / 0.5574 GB, free: 14 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.951e-05/0.003269, allocations: 11.98 kB / 0.5574 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.126e-05/0.00331, allocations: 19.92 kB / 0.5574 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.003346, allocations: 15.97 kB / 0.5575 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.003359, allocations: 4 kB / 0.5575 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.003475, allocations: 51.94 kB / 0.5575 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.003487, allocations: 7.984 kB / 0.5575 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.003507, allocations: 7.938 kB / 0.5575 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.00364, allocations: 75.77 kB / 0.5576 GB, free: 13.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003643, allocations: 4 kB / 0.5576 GB, free: 13.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.003644, allocations: 3.938 kB / 0.5576 GB, free: 13.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.003647, allocations: 0 / 0.5576 GB, free: 13.8 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.0003332/0.00398, allocations: 372.5 kB / 0.558 GB, free: 13.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.004017, allocations: 13.92 kB / 0.558 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.004045, allocations: 8.938 kB / 0.558 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.43e-05/0.00412, allocations: 116.5 kB / 0.5581 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.004134, allocations: 384 / 0.5581 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.004145, allocations: 8.375 kB / 0.5581 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.004261, allocations: 62.92 kB / 0.5582 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.004268, allocations: 4.188 kB / 0.5582 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.004276, allocations: 4.375 kB / 0.5582 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.004281, allocations: 384 / 0.5582 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.094e-05/0.004312, allocations: 19.86 kB / 0.5582 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.004571, allocations: 248.4 kB / 0.5584 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.004716, allocations: 39.05 kB / 0.5585 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.004737, allocations: 19.67 kB / 0.5585 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.004843, allocations: 19.97 kB / 0.5585 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.004865, allocations: 41.39 kB / 0.5585 GB, free: 12.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.004866, allocations: 0 / 0.5585 GB, free: 12.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001352/0.005001, allocations: 49.62 kB / 0.5586 GB, free: 12.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.005025, allocations: 51.41 kB / 0.5586 GB, free: 12.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.935e-05/0.005095, allocations: 165.9 kB / 0.5588 GB, free: 12.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.005104, allocations: 25.7 kB / 0.5588 GB, free: 12.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.005151, allocations: 134.8 kB / 0.5589 GB, free: 12.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.005165, allocations: 3.953 kB / 0.5589 GB, free: 12.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.005201, allocations: 35.34 kB / 0.559 GB, free: 12.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.005316, allocations: 496.1 kB / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.00533, allocations: 8 kB / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.137e-05/0.005341, allocations: 0 / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.324e-05/0.005375, allocations: 19.67 kB / 0.5595 GB, free: 11.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005376, allocations: 0 / 0.5595 GB, free: 11.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.14e-05/0.005448, allocations: 45.69 kB / 0.5595 GB, free: 11.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.00546, allocations: 7.938 kB / 0.5595 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.005464, allocations: 0 / 0.5595 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.005475, allocations: 0 / 0.5595 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.825e-05/0.005523, allocations: 11.94 kB / 0.5595 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.005527, allocations: 3.984 kB / 0.5595 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.00555, allocations: 8 kB / 0.5596 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.005554, allocations: 0 / 0.5596 GB, free: 11.6 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 6.43e-05/0.005618, allocations: 152.6 kB / 0.5597 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.005638, allocations: 4 kB / 0.5597 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.656e-05/0.005724, allocations: 65.25 kB / 0.5598 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.005726, allocations: 0 / 0.5598 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.005727, allocations: 0 / 0.5598 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.00573, allocations: 0 / 0.5598 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.005844, allocations: 101.2 kB / 0.5599 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005845, allocations: 256 / 0.5599 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.135e-05/0.005876, allocations: 16 kB / 0.5599 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.005878, allocations: 0 / 0.5599 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-06/0.005882, allocations: 0 / 0.5599 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.005884, allocations: 3.938 kB / 0.5599 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.005887, allocations: 11.92 kB / 0.5599 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.882e-05/0.005985, allocations: 188.3 kB / 0.5601 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-06/0.005992, allocations: 3.938 kB / 0.5601 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.006001, allocations: 4 kB / 0.5601 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.719e-05/0.006048, allocations: 0 / 0.5601 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.006084, allocations: 19.95 kB / 0.5601 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.006087, allocations: 7.938 kB / 0.5601 GB, free: 10.97 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.214e-05/0.00613, allocations: 127.2 kB / 0.5602 GB, free: 10.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00613, allocations: 0 / 0.5602 GB, free: 10.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.006352, allocations: 15.95 kB / 0.5602 GB, free: 10.83 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.0001335/0.006486, allocations: 123.2 kB / 0.5604 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.759e-05/0.006553, allocations: 27.61 kB / 0.5604 GB, free: 10.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.006555, allocations: 4 kB / 0.5604 GB, free: 10.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.207e-05/0.006577, allocations: 11.69 kB / 0.5604 GB, free: 10.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.006781, allocations: 11.08 kB / 0.5604 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002227/0.007003, allocations: 137.2 kB / 0.5605 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.264e-05/0.007036, allocations: 55.36 kB / 0.5606 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.598e-05/0.007062, allocations: 7.953 kB / 0.5606 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.007113, allocations: 78.19 kB / 0.5607 GB, free: 10.32 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007114, allocations: 0 / 0.5607 GB, free: 10.32 MB / 490.7 MB Notification: Performance of Templates: time 0.002821/0.009935, allocations: 1.116 MB / 0.5618 GB, free: 9.219 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.6880237301811576]