Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001011/0.001011, allocations: 109.7 kB / 16.38 MB, free: 6.008 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.0009945/0.0009945, allocations: 190.8 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 292.3 MB / 0.5496 GB, free: 17.42 MB / 462.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.001388/0.001388, allocations: 75.89 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1951, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001697/0.1969, allocations: 0.5859 MB / 0.7854 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000351/0.1972, allocations: 103.6 kB / 0.7855 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.1973, allocations: 0 / 0.7855 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.1973, allocations: 3.984 kB / 0.7855 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.552e-06/0.1973, allocations: 0 / 0.7855 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.1977, allocations: 39.91 kB / 0.7855 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.1978, allocations: 63.92 kB / 0.7856 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.1979, allocations: 0 / 0.7856 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.1979, allocations: 27.98 kB / 0.7856 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.1979, allocations: 35.83 kB / 0.7856 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.198, allocations: 0 / 0.7856 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1981, allocations: 47.95 kB / 0.7857 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.1981, allocations: 19.97 kB / 0.7857 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.1982, allocations: 23.91 kB / 0.7857 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.1983, allocations: 63.84 kB / 0.7858 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1983, allocations: 3.938 kB / 0.7858 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1983, allocations: 4 kB / 0.7858 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.1983, allocations: 0 / 0.7858 GB, free: 2.191 MB / 0.6544 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.0004981/0.1988, allocations: 375.5 kB / 0.7862 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1989, allocations: 12.03 kB / 0.7862 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.1989, allocations: 8.844 kB / 0.7862 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.213e-05/0.199, allocations: 164.3 kB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002405/0.1993, allocations: 285.6 kB / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1993, allocations: 8.375 kB / 0.7866 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.1995, allocations: 74.2 kB / 0.7867 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1995, allocations: 3.938 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1996, allocations: 4 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1996, allocations: 4 kB / 0.7867 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.1999, allocations: 139.7 kB / 0.7868 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.2001, allocations: 177.6 kB / 0.787 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.2003, allocations: 98.58 kB / 0.7871 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.2005, allocations: 40.83 kB / 0.7871 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.2005, allocations: 4 kB / 0.7871 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2005, allocations: 34.55 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.2006, allocations: 4 kB / 0.7872 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0004893/0.201, allocations: 157.3 kB / 0.7873 GB, free: 408 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.2011, allocations: 55.41 kB / 0.7874 GB, free: 340 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.656e-05/0.2011, allocations: 89.86 kB / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.2011, allocations: 25.7 kB / 0.7875 GB, free: 208 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.886e-05/0.2012, allocations: 80.36 kB / 0.7876 GB, free: 124 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.2012, allocations: 31.55 kB / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.2013, allocations: 33.64 kB / 0.7876 GB, free: 52 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3248/0.526, allocations: 319.7 kB / 0.7879 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.5263, allocations: 28.11 kB / 0.788 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.5264, allocations: 33.53 kB / 0.788 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.5267, allocations: 78.44 kB / 0.7881 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5267, allocations: 0 / 0.7881 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003122/0.527, allocations: 113.2 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.527, allocations: 3.469 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.527, allocations: 9.094 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.5271, allocations: 3 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.5272, allocations: 24.05 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.5272, allocations: 3 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.5273, allocations: 8.922 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.5273, allocations: 5.688 kB / 0.7882 GB, free: 48.46 MB / 0.6544 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 5.563e-05/0.5274, allocations: 116.4 kB / 0.7883 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.5274, allocations: 8.625 kB / 0.7883 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.5274, allocations: 15.56 kB / 0.7884 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.5274, allocations: 1.938 kB / 0.7884 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5274, allocations: 3.938 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.5275, allocations: 83.78 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.5275, allocations: 0 / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.5275, allocations: 2.594 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.5276, allocations: 15.14 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003353/0.5279, allocations: 207 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002995/0.5283, allocations: 298.3 kB / 0.7889 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001249/0.5284, allocations: 41.38 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.23e-05/0.5284, allocations: 75.28 kB / 0.7891 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of Backend: time 4.91e-07/0.5284, allocations: 0 / 0.7891 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005096/0.5289, allocations: 152.7 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002473/0.5292, allocations: 0.5684 MB / 0.7898 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.003107/0.5323, allocations: 1.37 MB / 0.7911 GB, free: 47.21 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)