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.001043/0.001043, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001346/0.001346, allocations: 181 kB / 23.36 MB, free: 1.133 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.027/1.027, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.001699/0.001699, allocations: 241.6 kB / 260.5 MB, free: 12.7 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.7198/0.7198, allocations: 138.4 MB / 402.2 MB, free: 0.5664 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.773e-06/1.773e-06, allocations: 0 / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.07e-05, allocations: 3.609 kB / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002514/0.002535, allocations: 1.598 MB / 463.9 MB, free: 15.87 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003751/0.00291, allocations: 188.9 kB / 464.1 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.002946, allocations: 1.312 kB / 464.1 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.002971, allocations: 5.141 kB / 464.1 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.498e-05/0.003016, allocations: 3.078 kB / 464.1 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.003322, allocations: 61.22 kB / 464.2 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.742e-05/0.003389, allocations: 33.59 kB / 464.2 MB, free: 15.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.134e-05/0.00346, allocations: 12.02 kB / 464.2 MB, free: 15.7 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.071e-05/0.003501, allocations: 25.14 kB / 464.2 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.109e-05/0.003542, allocations: 15.55 kB / 464.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.003561, allocations: 4.656 kB / 464.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.003671, allocations: 52.69 kB / 464.3 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.003686, allocations: 8.891 kB / 464.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.756e-05/0.003704, allocations: 16.72 kB / 464.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.003824, allocations: 62.86 kB / 464.4 MB, free: 15.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003826, allocations: 1.125 kB / 464.4 MB, free: 15.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.003827, allocations: 0.75 kB / 464.4 MB, free: 15.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.985e-06/0.00383, allocations: 0 / 464.4 MB, free: 15.63 MB / 426.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.0002855/0.004116, allocations: 251.7 kB / 464.6 MB, free: 15.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.004145, allocations: 10.25 kB / 464.7 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.004168, allocations: 4.828 kB / 464.7 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.293e-05/0.004241, allocations: 115.9 kB / 464.8 MB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.004258, allocations: 7.469 kB / 464.8 MB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.004268, allocations: 3.5 kB / 464.8 MB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.004374, allocations: 67.98 kB / 464.8 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.00438, allocations: 1.156 kB / 464.8 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.004386, allocations: 384 / 464.8 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.004392, allocations: 2.672 kB / 464.9 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.47e-05/0.004416, allocations: 13.03 kB / 464.9 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.004635, allocations: 166.9 kB / 465 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.004762, allocations: 33.47 kB / 465.1 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.004779, allocations: 9.781 kB / 465.1 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.004901, allocations: 25.3 kB / 465.1 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.004922, allocations: 32.66 kB / 465.1 MB, free: 14.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.004923, allocations: 2.594 kB / 465.1 MB, free: 14.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001024/0.005026, allocations: 49.75 kB / 465.2 MB, free: 14.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.005052, allocations: 57.98 kB / 465.2 MB, free: 14.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.253e-05/0.005104, allocations: 108 kB / 465.3 MB, free: 14.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.005114, allocations: 25.7 kB / 465.4 MB, free: 14.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.005146, allocations: 91.22 kB / 465.5 MB, free: 14.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.00516, allocations: 5.906 kB / 465.5 MB, free: 14.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.005188, allocations: 20.66 kB / 465.5 MB, free: 14.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.052e-05/0.005258, allocations: 318.7 kB / 465.8 MB, free: 14.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-06/0.005268, allocations: 5.953 kB / 465.8 MB, free: 14.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-06/0.005277, allocations: 5.734 kB / 465.8 MB, free: 14.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.697e-05/0.005304, allocations: 18.06 kB / 465.8 MB, free: 14.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005306, allocations: 0.75 kB / 465.8 MB, free: 14.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.619e-05/0.005352, allocations: 42.53 kB / 465.9 MB, free: 14.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.005362, allocations: 6.891 kB / 465.9 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.005368, allocations: 7.922 kB / 465.9 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.005378, allocations: 1.594 kB / 465.9 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.828e-05/0.005417, allocations: 9.734 kB / 465.9 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.005419, allocations: 0 / 465.9 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.005442, allocations: 9.453 kB / 465.9 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.005446, allocations: 1.344 kB / 465.9 MB, free: 14.24 MB / 426.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.15e-05/0.005498, allocations: 109.1 kB / 466 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.005511, allocations: 4.062 kB / 466 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.147e-05/0.005583, allocations: 58 kB / 466.1 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005584, allocations: 0 / 466.1 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.005586, allocations: 0.7031 kB / 466.1 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.005589, allocations: 2.594 kB / 466.1 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.128e-05/0.00567, allocations: 71.03 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005671, allocations: 1.031 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.005695, allocations: 8.25 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.005696, allocations: 0.5312 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.005703, allocations: 9.734 kB / 466.2 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005704, allocations: 1.25 kB / 466.2 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.005707, allocations: 6.375 kB / 466.2 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.884e-05/0.005776, allocations: 136.4 kB / 466.3 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.005781, allocations: 4.078 kB / 466.3 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-06/0.005789, allocations: 0.9375 kB / 466.3 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.058e-05/0.00582, allocations: 3.844 kB / 466.3 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.005857, allocations: 13.41 kB / 466.3 MB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.00586, allocations: 0.5156 kB / 466.3 MB, free: 13.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.254e-05/0.005872, allocations: 10.88 kB / 466.3 MB, free: 13.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005872, allocations: 0.7812 kB / 466.3 MB, free: 13.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001355/0.006008, allocations: 14.58 kB / 466.3 MB, free: 13.84 MB / 426.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.0001182/0.006126, allocations: 110.1 kB / 466.5 MB, free: 13.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.322e-05/0.006179, allocations: 17.27 kB / 466.5 MB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.006181, allocations: 1.781 kB / 466.5 MB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.095e-05/0.006202, allocations: 16.47 kB / 466.5 MB, free: 13.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/0.006311, allocations: 9.5 kB / 466.5 MB, free: 13.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001995/0.006511, allocations: 117.6 kB / 466.6 MB, free: 13.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.036e-05/0.006541, allocations: 57.06 kB / 466.7 MB, free: 13.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.956e-05/0.00656, allocations: 5.719 kB / 466.7 MB, free: 13.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.006602, allocations: 58.12 kB / 466.7 MB, free: 13.51 MB / 426.7 MB Notification: Performance of SimCode: time 5.72e-07/0.006603, allocations: 0 / 466.7 MB, free: 13.51 MB / 426.7 MB Notification: Performance of Templates: time 0.002506/0.009108, allocations: 1.059 MB / 467.8 MB, free: 13.06 MB / 426.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.626058619003743]