Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001187/0.001187, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 190.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.31 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.345, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001865/0.3469, allocations: 0.5822 MB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003735/0.3473, allocations: 111.6 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.3473, allocations: 0 / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.3474, allocations: 0 / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.195e-06/0.3474, allocations: 3.938 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.3477, allocations: 39.88 kB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.3479, allocations: 67.92 kB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.3479, allocations: 4 kB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.348, allocations: 19.98 kB / 1.069 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.305e-05/0.348, allocations: 19.97 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.348, allocations: 7.984 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.3482, allocations: 47.97 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.792e-05/0.3482, allocations: 19.97 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.3482, allocations: 23.84 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.3484, allocations: 71.84 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3484, allocations: 3.984 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3484, allocations: 0 / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3484, allocations: 0 / 1.069 GB, free: 9.41 MB / 0.8262 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.000498/0.3489, allocations: 367.6 kB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.349, allocations: 8.031 kB / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.349, allocations: 12.84 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.618e-05/0.3491, allocations: 172.6 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.3493, allocations: 277.6 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.3494, allocations: 4.375 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.3496, allocations: 86.06 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3496, allocations: 3.938 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3497, allocations: 4 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3497, allocations: 4 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.35, allocations: 131.8 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.3502, allocations: 173.7 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.3505, allocations: 94.52 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.3507, allocations: 52.7 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.3507, allocations: 3.984 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.3507, allocations: 30.56 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.3507, allocations: 0 / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0005312/0.3513, allocations: 157.7 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.3513, allocations: 55.41 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.97e-05/0.3513, allocations: 89.86 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.3514, allocations: 29.7 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.753e-05/0.3514, allocations: 80.14 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.3515, allocations: 35.55 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.3515, allocations: 25.7 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.3516, allocations: 314.8 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.3517, allocations: 39.91 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.3519, allocations: 38.14 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.3522, allocations: 73.41 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3522, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003197/0.3525, allocations: 117.5 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3525, allocations: 7.938 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3525, allocations: 0 / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3525, allocations: 0 / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.3527, allocations: 27.92 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3527, allocations: 3.984 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.192e-05/0.3528, allocations: 19.92 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.3528, allocations: 4 kB / 1.072 GB, free: 6.633 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.702e-05/0.3529, allocations: 117.8 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.3529, allocations: 7.844 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.3529, allocations: 7.969 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.353, allocations: 4 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.353, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.353, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.3531, allocations: 189.6 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3531, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.3533, allocations: 31.91 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.3533, allocations: 7.922 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.3533, allocations: 4 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3533, allocations: 0 / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3533, allocations: 0 / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.3537, allocations: 137.1 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.3537, allocations: 89.02 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.3537, allocations: 3.938 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.3538, allocations: 7.984 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.3539, allocations: 11.98 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.3539, allocations: 7.938 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.479e-05/0.3539, allocations: 75.28 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3539, allocations: 3.938 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000251/0.3542, allocations: 23.98 kB / 1.072 GB, free: 5.816 MB / 0.8262 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 (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.0001941/0.3544, allocations: 125.5 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.3547, allocations: 95.94 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3548, allocations: 0 / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.3549, allocations: 51.91 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.3551, allocations: 4 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.3555, allocations: 172.8 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.3557, allocations: 0.6807 MB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001761/0.3559, allocations: 47.59 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.3559, allocations: 19.42 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.356, allocations: 0 / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.003373/0.3593, allocations: 1.013 MB / 1.074 GB, free: 3.559 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)