Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 100.5 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001493, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.813/1.813, allocations: 251.9 MB / 0.51 GB, free: 4.855 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005671/0.0005671, allocations: 12 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7001/0.7007, allocations: 106.3 MB / 0.728 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002135/0.7029, allocations: 1.239 MB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000585/0.7035, allocations: 168.4 kB / 0.7293 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.7036, allocations: 0 / 0.7293 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.7036, allocations: 0 / 0.7293 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.7037, allocations: 3.984 kB / 0.7293 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.7042, allocations: 39.84 kB / 0.7294 GB, free: 9.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.7043, allocations: 19.97 kB / 0.7294 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.7044, allocations: 19.97 kB / 0.7294 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.91e-05/0.7045, allocations: 11.94 kB / 0.7294 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.7045, allocations: 11.98 kB / 0.7294 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.7046, allocations: 4 kB / 0.7294 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.7047, allocations: 35.89 kB / 0.7295 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.7047, allocations: 11.98 kB / 0.7295 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.7048, allocations: 25.7 kB / 0.7295 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.7049, allocations: 43.92 kB / 0.7296 GB, free: 9.742 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.7049, allocations: 0 / 0.7296 GB, free: 9.742 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.959e-06/0.7049, allocations: 0 / 0.7296 GB, free: 9.742 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.852e-06/0.705, allocations: 7.938 kB / 0.7296 GB, free: 9.734 MB / 0.545 GB 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.0006311/0.7056, allocations: 349.3 kB / 0.7299 GB, free: 9.348 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.7057, allocations: 8.031 kB / 0.7299 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.7057, allocations: 3.906 kB / 0.7299 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.7059, allocations: 182.9 kB / 0.7301 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.7059, allocations: 0 / 0.7301 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.706, allocations: 8 kB / 0.7301 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.7062, allocations: 77.59 kB / 0.7302 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.7063, allocations: 0 / 0.7302 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.7063, allocations: 0 / 0.7302 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.7063, allocations: 4 kB / 0.7302 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.7065, allocations: 55.95 kB / 0.7302 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.7071, allocations: 280.7 kB / 0.7305 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/0.7075, allocations: 66.53 kB / 0.7306 GB, free: 8.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002953/0.7078, allocations: 166.4 kB / 0.7307 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.7078, allocations: 30.56 kB / 0.7307 GB, free: 8.332 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.7079, allocations: 0 / 0.7307 GB, free: 8.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004936/0.7084, allocations: 121.5 kB / 0.7309 GB, free: 8.207 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.7084, allocations: 51.41 kB / 0.7309 GB, free: 8.145 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.7085, allocations: 117.8 kB / 0.731 GB, free: 8.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.7086, allocations: 29.7 kB / 0.731 GB, free: 7.984 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.7086, allocations: 84.05 kB / 0.7311 GB, free: 7.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.7087, allocations: 8 kB / 0.7311 GB, free: 7.891 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.7087, allocations: 8 kB / 0.7311 GB, free: 7.883 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.7088, allocations: 318.8 kB / 0.7314 GB, free: 7.562 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.7089, allocations: 27.92 kB / 0.7315 GB, free: 7.535 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.701e-05/0.709, allocations: 23.98 kB / 0.7315 GB, free: 7.512 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.749e-05/0.7091, allocations: 27.97 kB / 0.7315 GB, free: 7.484 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7092, allocations: 0 / 0.7315 GB, free: 7.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002424/0.7094, allocations: 89.5 kB / 0.7316 GB, free: 7.391 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.7094, allocations: 10.19 kB / 0.7316 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.7094, allocations: 0 / 0.7316 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.7095, allocations: 0 / 0.7316 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.7096, allocations: 15.98 kB / 0.7316 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.7096, allocations: 0 / 0.7316 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.225e-05/0.7096, allocations: 15.94 kB / 0.7316 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.7097, allocations: 0 / 0.7316 GB, free: 7.352 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.7098, allocations: 113.8 kB / 0.7318 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.7098, allocations: 4 kB / 0.7318 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.7101, allocations: 101.4 kB / 0.7319 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.7101, allocations: 0 / 0.7319 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.7101, allocations: 0 / 0.7319 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.7102, allocations: 4 kB / 0.7319 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.7103, allocations: 169.6 kB / 0.732 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7104, allocations: 0 / 0.732 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-05/0.7105, allocations: 15.98 kB / 0.732 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7105, allocations: 0 / 0.732 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.7105, allocations: 0 / 0.732 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.7105, allocations: 0 / 0.732 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7105, allocations: 3.938 kB / 0.732 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.7108, allocations: 187.5 kB / 0.7322 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.7108, allocations: 81.09 kB / 0.7323 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.7109, allocations: 0 / 0.7323 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.088e-05/0.711, allocations: 12 kB / 0.7323 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.711, allocations: 7.922 kB / 0.7323 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.711, allocations: 12 kB / 0.7323 GB, free: 6.551 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.878e-05/0.7111, allocations: 83.27 kB / 0.7324 GB, free: 6.469 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7111, allocations: 0 / 0.7324 GB, free: 6.469 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002667/0.7114, allocations: 23.91 kB / 0.7324 GB, free: 6.445 MB / 0.545 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002334/0.7116, allocations: 119.6 kB / 0.7325 GB, free: 6.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.7119, allocations: 55.95 kB / 0.7326 GB, free: 6.266 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7119, allocations: 0 / 0.7326 GB, free: 6.266 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.712, allocations: 28.08 kB / 0.7326 GB, free: 6.238 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.7122, allocations: 11.94 kB / 0.7326 GB, free: 6.227 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.7126, allocations: 136.6 kB / 0.7328 GB, free: 6.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.7129, allocations: 0.6809 MB / 0.7334 GB, free: 5.363 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.601e-05/0.7129, allocations: 4 kB / 0.7334 GB, free: 5.359 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.713, allocations: 11.42 kB / 0.7334 GB, free: 5.348 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.713, allocations: 4 kB / 0.7335 GB, free: 5.344 MB / 0.545 GB Notification: Performance of Templates: time 0.003807/0.7168, allocations: 0.8523 MB / 0.7343 GB, free: 4.5 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) Environment - environmentSimulation: