Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 1.149/1.149, allocations: 128.8 MB / 143.8 MB, free: 2.297 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 185.8 kB / 173.9 MB, free: 6.102 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.4 MB / 409.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 76.14 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004275, allocations: 10.91 kB / 0.5605 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1326, allocations: 76.77 MB / 0.6354 GB, free: 30.52 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.0005676/0.1332, allocations: 318.2 kB / 0.6357 GB, free: 30.21 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002839/0.1335, allocations: 91.8 kB / 0.6358 GB, free: 30.12 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.58e-05/0.1336, allocations: 3.938 kB / 0.6358 GB, free: 30.12 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.1336, allocations: 7.938 kB / 0.6358 GB, free: 30.11 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.939e-06/0.1336, allocations: 0 / 0.6358 GB, free: 30.11 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.1339, allocations: 31.95 kB / 0.6359 GB, free: 30.08 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.134, allocations: 59.92 kB / 0.6359 GB, free: 30.02 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.134, allocations: 4 kB / 0.6359 GB, free: 30.02 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.962e-05/0.1341, allocations: 19.98 kB / 0.6359 GB, free: 30 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.072e-05/0.1341, allocations: 23.95 kB / 0.636 GB, free: 29.97 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1341, allocations: 4 kB / 0.636 GB, free: 29.97 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.1342, allocations: 39.97 kB / 0.636 GB, free: 29.93 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.788e-05/0.1343, allocations: 23.91 kB / 0.636 GB, free: 29.91 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.1343, allocations: 33.7 kB / 0.6361 GB, free: 29.87 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.174e-05/0.1344, allocations: 35.94 kB / 0.6361 GB, free: 29.83 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1344, allocations: 0 / 0.6361 GB, free: 29.83 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1344, allocations: 0 / 0.6361 GB, free: 29.83 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.1344, allocations: 4 kB / 0.6361 GB, free: 29.83 MB / 442.7 MB 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.0003675/0.1348, allocations: 351.7 kB / 0.6364 GB, free: 29.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.1348, allocations: 8.031 kB / 0.6364 GB, free: 29.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.1349, allocations: 15.84 kB / 0.6365 GB, free: 29.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.989e-05/0.1349, allocations: 171 kB / 0.6366 GB, free: 29.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.1351, allocations: 285 kB / 0.6369 GB, free: 28.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.1351, allocations: 4 kB / 0.6369 GB, free: 28.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.1354, allocations: 85.56 kB / 0.637 GB, free: 28.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1354, allocations: 0 / 0.637 GB, free: 28.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1354, allocations: 0 / 0.637 GB, free: 28.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1354, allocations: 3.984 kB / 0.637 GB, free: 28.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.1357, allocations: 139.7 kB / 0.6371 GB, free: 28.63 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.1359, allocations: 169.7 kB / 0.6373 GB, free: 28.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.1362, allocations: 102.5 kB / 0.6374 GB, free: 28.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.1363, allocations: 44.83 kB / 0.6374 GB, free: 28.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.1363, allocations: 7.984 kB / 0.6374 GB, free: 28.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.1364, allocations: 30.56 kB / 0.6374 GB, free: 28.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.1364, allocations: 4 kB / 0.6375 GB, free: 28.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005076/0.1369, allocations: 145.8 kB / 0.6376 GB, free: 28.06 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.1369, allocations: 55.34 kB / 0.6376 GB, free: 28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.131e-05/0.1369, allocations: 93.86 kB / 0.6377 GB, free: 27.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.137, allocations: 29.7 kB / 0.6378 GB, free: 27.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.258e-05/0.137, allocations: 84.33 kB / 0.6378 GB, free: 27.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.137, allocations: 35.45 kB / 0.6379 GB, free: 27.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-06/0.137, allocations: 0 / 0.6379 GB, free: 27.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.1371, allocations: 318.8 kB / 0.6382 GB, free: 27.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1372, allocations: 31.97 kB / 0.6382 GB, free: 27.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.1374, allocations: 35.97 kB / 0.6382 GB, free: 27.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1375, allocations: 31.92 kB / 0.6383 GB, free: 27.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1375, allocations: 4 kB / 0.6383 GB, free: 27.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003023/0.1378, allocations: 109.5 kB / 0.6384 GB, free: 27.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1378, allocations: 7.984 kB / 0.6384 GB, free: 27.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.1378, allocations: 4 kB / 0.6384 GB, free: 27.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1379, allocations: 0 / 0.6384 GB, free: 27.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.138, allocations: 23.92 kB / 0.6384 GB, free: 27.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.138, allocations: 0 / 0.6384 GB, free: 27.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.047e-05/0.1381, allocations: 11.94 kB / 0.6384 GB, free: 27.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1381, allocations: 7.984 kB / 0.6384 GB, free: 27.14 MB / 442.7 MB 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 6.553e-05/0.1382, allocations: 121.8 kB / 0.6386 GB, free: 27.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.1382, allocations: 7.984 kB / 0.6386 GB, free: 27.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.1383, allocations: 7.969 kB / 0.6386 GB, free: 27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1383, allocations: 0 / 0.6386 GB, free: 27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1383, allocations: 0 / 0.6386 GB, free: 27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1383, allocations: 0 / 0.6386 GB, free: 27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.05e-05/0.1384, allocations: 193.4 kB / 0.6388 GB, free: 26.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1384, allocations: 0 / 0.6388 GB, free: 26.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.1385, allocations: 27.91 kB / 0.6388 GB, free: 26.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1385, allocations: 8 kB / 0.6388 GB, free: 26.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1385, allocations: 0 / 0.6388 GB, free: 26.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1385, allocations: 0 / 0.6388 GB, free: 26.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1385, allocations: 3.938 kB / 0.6388 GB, free: 26.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.1388, allocations: 141 kB / 0.6389 GB, free: 26.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.1389, allocations: 88.95 kB / 0.639 GB, free: 26.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1389, allocations: 0 / 0.639 GB, free: 26.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.838e-05/0.139, allocations: 8 kB / 0.639 GB, free: 26.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.139, allocations: 15.97 kB / 0.639 GB, free: 26.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.139, allocations: 8 kB / 0.639 GB, free: 26.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.056e-05/0.139, allocations: 79.22 kB / 0.6391 GB, free: 26.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.139, allocations: 0 / 0.6391 GB, free: 26.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.1392, allocations: 27.98 kB / 0.6391 GB, free: 26.33 MB / 442.7 MB 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.0001402/0.1394, allocations: 119 kB / 0.6393 GB, free: 26.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003021/0.1397, allocations: 84.8 kB / 0.6393 GB, free: 26.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1397, allocations: 4 kB / 0.6393 GB, free: 26.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.1399, allocations: 51.91 kB / 0.6394 GB, free: 26.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.14, allocations: 6.531 kB / 0.6394 GB, free: 26.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.1403, allocations: 164.5 kB / 0.6396 GB, free: 25.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.1404, allocations: 0.6848 MB / 0.6402 GB, free: 25.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.1406, allocations: 39.94 kB / 0.6403 GB, free: 25.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.1406, allocations: 19.42 kB / 0.6403 GB, free: 25.1 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1406, allocations: 4 kB / 0.6403 GB, free: 25.1 MB / 442.7 MB Notification: Performance of Templates: time 0.002398/0.143, allocations: 0.9701 MB / 0.6412 GB, free: 24.13 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)