Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.Binomial.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.982/4.982, allocations: 0.5623 GB / 0.5769 GB, free: 3.344 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002394/0.002394, allocations: 360.1 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.114/4.114, allocations: 410.7 MB / 1.112 GB, free: 6.074 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001777/0.001777, allocations: 180.4 kB / 1.225 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000506/0.0005062, allocations: 16 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.588/0.5885, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001488/0.5901, allocations: 1.245 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004043/0.5905, allocations: 170.7 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.5906, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.5906, allocations: 1.625 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.5906, allocations: 3.938 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.5909, allocations: 35.91 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.752e-05/0.591, allocations: 39.89 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.466e-05/0.5911, allocations: 5.094 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.734e-05/0.5911, allocations: 16.64 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.755e-05/0.5911, allocations: 11.92 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.5912, allocations: 4.906 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.5913, allocations: 43.95 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.73e-06/0.5913, allocations: 4.969 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.5913, allocations: 33.64 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.468e-05/0.5914, allocations: 43.91 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.835e-06/0.5915, allocations: 2.75 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.191e-06/0.5915, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.5915, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 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.0003859/0.5919, allocations: 349.4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.5919, allocations: 17.78 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.592, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.629e-05/0.5921, allocations: 171 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.5921, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.5921, allocations: 9.812 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.5923, allocations: 67.89 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.862e-06/0.5924, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5924, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.463e-06/0.5924, allocations: 4 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.5926, allocations: 60.05 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.593, allocations: 280.7 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.5934, allocations: 64.27 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.5935, allocations: 34.92 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/0.5937, allocations: 170.6 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.5937, allocations: 35.16 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.208e-06/0.5937, allocations: 1.469 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0004662/0.5942, allocations: 117.6 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.5943, allocations: 55.36 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.5943, allocations: 106.9 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.5944, allocations: 37.64 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.5944, allocations: 81.42 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.5944, allocations: 11.84 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-06/0.5944, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.102e-05/0.5945, allocations: 319.5 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.5946, allocations: 29.52 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.94e-05/0.5947, allocations: 24.88 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.5949, allocations: 22.02 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.343e-06/0.5949, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002674/0.5952, allocations: 88.94 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.5952, allocations: 4 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.014e-06/0.5952, allocations: 4.312 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5952, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.5953, allocations: 18.16 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.689e-06/0.5954, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.792e-05/0.5955, allocations: 14.41 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.5955, allocations: 7.984 kB / 1.464 GB, free: 280.3 MB / 0.8542 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 6.341e-05/0.5955, allocations: 109.8 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.5956, allocations: 8.844 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.5959, allocations: 99.39 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-06/0.5959, allocations: 1.719 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.657e-06/0.5959, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.186e-06/0.596, allocations: 3.984 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.5961, allocations: 166.7 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5961, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.5963, allocations: 17.2 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.506e-06/0.5963, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.933e-06/0.5963, allocations: 0.8438 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.315e-06/0.5963, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.5963, allocations: 4.438 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.5966, allocations: 192.8 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.477e-05/0.5967, allocations: 85 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.5967, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.5968, allocations: 8 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.5969, allocations: 10.52 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.543e-06/0.5969, allocations: 4 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.5969, allocations: 84.52 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.94e-07/0.597, allocations: 0 / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003342/0.5973, allocations: 24 kB / 1.465 GB, free: 279.4 MB / 0.8542 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.000164/0.5975, allocations: 109.2 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.5978, allocations: 58.36 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5978, allocations: 3.938 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.5979, allocations: 36.88 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.5983, allocations: 12.48 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.5986, allocations: 124 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.5987, allocations: 0.6809 MB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.275e-05/0.5988, allocations: 7.984 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.5988, allocations: 12.59 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.474e-06/0.5989, allocations: 3.938 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.003494/0.6024, allocations: 0.8489 MB / 1.467 GB, free: 277.5 MB / 0.8542 GB