Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 99.55 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.001335/0.001335, 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.803/1.803, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.716/1.716, allocations: 251.9 MB / 0.51 GB, free: 4.832 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.0005695/0.0005696, allocations: 27.28 kB / 0.6241 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6357/0.6363, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0007699/0.6371, allocations: 317.3 kB / 0.7283 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.6375, allocations: 105.2 kB / 0.7284 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.919e-05/0.6375, allocations: 8 kB / 0.7284 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.6376, allocations: 0 / 0.7284 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.6376, allocations: 0 / 0.7284 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.6379, allocations: 23.97 kB / 0.7284 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.638, allocations: 47.94 kB / 0.7285 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.638, allocations: 0 / 0.7285 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.177e-05/0.6381, allocations: 19.98 kB / 0.7285 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.045e-05/0.6382, allocations: 27.95 kB / 0.7285 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.6382, allocations: 0 / 0.7285 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.6383, allocations: 47.83 kB / 0.7285 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.6384, allocations: 23.91 kB / 0.7286 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.6384, allocations: 37.7 kB / 0.7286 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.344e-05/0.6385, allocations: 43.92 kB / 0.7286 GB, free: 10.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.6385, allocations: 0 / 0.7286 GB, free: 10.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6385, allocations: 0 / 0.7286 GB, free: 10.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.6385, allocations: 0 / 0.7286 GB, free: 10.73 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000485/0.639, allocations: 357.3 kB / 0.729 GB, free: 10.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.6391, allocations: 12.03 kB / 0.729 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.6391, allocations: 4 kB / 0.729 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.876e-05/0.6392, allocations: 167 kB / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.6395, allocations: 289 kB / 0.7294 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.6395, allocations: 0 / 0.7294 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.6398, allocations: 77.64 kB / 0.7295 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.6398, allocations: 0 / 0.7295 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.6398, allocations: 3.938 kB / 0.7295 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.6398, allocations: 4 kB / 0.7295 GB, free: 9.684 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.6402, allocations: 135.8 kB / 0.7297 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.6404, allocations: 181.5 kB / 0.7298 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.6407, allocations: 98.47 kB / 0.7299 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.6407, allocations: 0 / 0.7299 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.6408, allocations: 38.55 kB / 0.73 GB, free: 9.172 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.6408, allocations: 0 / 0.73 GB, free: 9.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005132/0.6413, allocations: 142.2 kB / 0.7301 GB, free: 9.027 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.6413, allocations: 55.39 kB / 0.7301 GB, free: 8.961 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.11e-05/0.6414, allocations: 93.86 kB / 0.7302 GB, free: 8.859 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.6414, allocations: 33.64 kB / 0.7303 GB, free: 8.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.6414, allocations: 80.33 kB / 0.7303 GB, free: 8.734 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.6415, allocations: 35.45 kB / 0.7304 GB, free: 8.699 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.6415, allocations: 4 kB / 0.7304 GB, free: 8.695 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6416, allocations: 318.8 kB / 0.7307 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.6418, allocations: 31.97 kB / 0.7307 GB, free: 8.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.6419, allocations: 32.03 kB / 0.7307 GB, free: 8.312 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.642, allocations: 35.97 kB / 0.7308 GB, free: 8.277 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.6421, allocations: 7.953 kB / 0.7308 GB, free: 8.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003057/0.6424, allocations: 109.6 kB / 0.7309 GB, free: 8.156 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.6424, allocations: 8 kB / 0.7309 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6424, allocations: 0 / 0.7309 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.6424, allocations: 0 / 0.7309 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.6426, allocations: 31.84 kB / 0.7309 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6426, allocations: 0 / 0.7309 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.432e-05/0.6427, allocations: 7.906 kB / 0.7309 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.6427, allocations: 4 kB / 0.7309 GB, free: 8.105 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001071/0.6428, allocations: 121.8 kB / 0.7311 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.6428, allocations: 7.953 kB / 0.7311 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.6429, allocations: 11.97 kB / 0.7311 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.6429, allocations: 0 / 0.7311 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6429, allocations: 0 / 0.7311 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.6429, allocations: 0 / 0.7311 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.643, allocations: 189.5 kB / 0.7313 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6431, allocations: 0 / 0.7313 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.6432, allocations: 27.94 kB / 0.7313 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6432, allocations: 3.938 kB / 0.7313 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.6432, allocations: 11.98 kB / 0.7313 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6432, allocations: 0 / 0.7313 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6432, allocations: 0 / 0.7313 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/0.6436, allocations: 133 kB / 0.7314 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.6436, allocations: 85.02 kB / 0.7315 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.6436, allocations: 15.92 kB / 0.7315 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.377e-05/0.6437, allocations: 4 kB / 0.7315 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.6438, allocations: 11.97 kB / 0.7315 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.6438, allocations: 12 kB / 0.7315 GB, free: 7.383 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.852e-05/0.6438, allocations: 75.28 kB / 0.7316 GB, free: 7.309 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6438, allocations: 0 / 0.7316 GB, free: 7.309 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002145/0.6441, allocations: 16 kB / 0.7316 GB, free: 7.293 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002114/0.6443, allocations: 127.2 kB / 0.7318 GB, free: 7.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.6446, allocations: 79.88 kB / 0.7318 GB, free: 7.082 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6446, allocations: 4 kB / 0.7318 GB, free: 7.078 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.6448, allocations: 51.91 kB / 0.7319 GB, free: 7.027 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.692e-05/0.6449, allocations: 3.969 kB / 0.7319 GB, free: 7.027 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.6453, allocations: 166.6 kB / 0.732 GB, free: 6.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.6456, allocations: 0.6926 MB / 0.7327 GB, free: 6.121 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001561/0.6458, allocations: 43.81 kB / 0.7328 GB, free: 6.078 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.6458, allocations: 19.42 kB / 0.7328 GB, free: 6.059 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.6458, allocations: 0 / 0.7328 GB, free: 6.059 MB / 0.545 GB Notification: Performance of Templates: time 0.002886/0.6487, allocations: 0.9361 MB / 0.7337 GB, free: 5.125 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) Environment - environmentSimulation: