Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001087/0.001087, 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.001267/0.001267, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.741/2.741, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.81 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3128, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001658/0.3145, allocations: 0.5817 MB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003548/0.3149, allocations: 111.5 kB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.784e-05/0.3149, allocations: 0 / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.315, allocations: 0 / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5e-06/0.315, allocations: 0 / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.3153, allocations: 43.88 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.3154, allocations: 63.94 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.3155, allocations: 4 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.046e-05/0.3155, allocations: 23.97 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.3156, allocations: 23.91 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.3156, allocations: 4 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3157, allocations: 47.95 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.758e-05/0.3158, allocations: 19.97 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.3158, allocations: 23.84 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.3159, allocations: 71.84 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.316, allocations: 3.984 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.332e-06/0.316, allocations: 4 kB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.316, allocations: 0 / 1.069 GB, free: 9.391 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.0004617/0.3164, allocations: 367.6 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.3165, allocations: 8.031 kB / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.3165, allocations: 12.84 kB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.996e-05/0.3166, allocations: 172.5 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/0.3169, allocations: 277.6 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.3169, allocations: 4.375 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.3171, allocations: 86.12 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3172, allocations: 3.938 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3172, allocations: 4 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3172, allocations: 4 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.3175, allocations: 131.8 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.3177, allocations: 169.7 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.318, allocations: 98.45 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.3181, allocations: 44.83 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.3182, allocations: 7.984 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.3182, allocations: 30.56 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.3182, allocations: 4 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0005185/0.3187, allocations: 153.7 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.3188, allocations: 55.34 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.686e-05/0.3188, allocations: 93.86 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.3188, allocations: 25.7 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.135e-05/0.3188, allocations: 84.14 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.3189, allocations: 35.55 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.3189, allocations: 25.7 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.069e-05/0.319, allocations: 314.8 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.3192, allocations: 31.97 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.3193, allocations: 38.14 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.3196, allocations: 77.34 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3196, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003253/0.3199, allocations: 121.5 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.32, allocations: 15.81 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.32, allocations: 0 / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.32, allocations: 4 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.3201, allocations: 19.98 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3201, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.332e-05/0.3202, allocations: 15.92 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.3202, allocations: 4 kB / 1.072 GB, free: 6.617 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.731e-05/0.3203, allocations: 121.8 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.3203, allocations: 7.844 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.3204, allocations: 11.97 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3204, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3204, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3204, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.3205, allocations: 181.6 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3205, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.3207, allocations: 31.91 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.3207, allocations: 3.938 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3207, allocations: 8 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3207, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3207, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.321, allocations: 137.1 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.3211, allocations: 85.02 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3211, allocations: 3.938 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.973e-05/0.3212, allocations: 7.984 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.3212, allocations: 11.98 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.3212, allocations: 8 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.332e-05/0.3213, allocations: 79.22 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3213, allocations: 3.938 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002251/0.3215, allocations: 23.98 kB / 1.072 GB, free: 5.805 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.0001721/0.3217, allocations: 123.7 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.322, allocations: 95.88 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.322, allocations: 4 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.3222, allocations: 47.97 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.3223, allocations: 5.891 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.3227, allocations: 174.4 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.3229, allocations: 0.6807 MB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001456/0.3231, allocations: 47.59 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.3231, allocations: 19.42 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3231, allocations: 0 / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of Templates: time 0.002846/0.326, allocations: 1.012 MB / 1.074 GB, free: 3.547 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)