Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7278/0.7278, allocations: 128.7 MB / 144.5 MB, free: 1.352 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.001382/0.001382, allocations: 188 kB / 174.2 MB, free: 5.922 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.523/1.523, allocations: 205 MB / 408.9 MB, free: 9.699 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.001042/0.001042, allocations: 113.9 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 60.59 kB / 0.558 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1305, allocations: 75.46 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002248/0.1328, allocations: 1.601 MB / 0.6332 GB, free: 31.43 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004187/0.1333, allocations: 175.5 kB / 0.6334 GB, free: 31.25 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.1333, allocations: 0 / 0.6334 GB, free: 31.25 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.694e-05/0.1334, allocations: 7.922 kB / 0.6334 GB, free: 31.25 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.221e-05/0.1334, allocations: 0 / 0.6334 GB, free: 31.25 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1336, allocations: 43.89 kB / 0.6334 GB, free: 31.2 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.192e-05/0.1337, allocations: 31.92 kB / 0.6335 GB, free: 31.17 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.793e-05/0.1338, allocations: 12 kB / 0.6335 GB, free: 31.16 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.473e-05/0.1338, allocations: 15.92 kB / 0.6335 GB, free: 31.14 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.634e-05/0.1339, allocations: 23.91 kB / 0.6335 GB, free: 31.12 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1339, allocations: 0 / 0.6335 GB, free: 31.12 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.27e-05/0.134, allocations: 47.97 kB / 0.6336 GB, free: 31.07 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.134, allocations: 7.922 kB / 0.6336 GB, free: 31.07 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.134, allocations: 15.92 kB / 0.6336 GB, free: 31.05 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.1342, allocations: 55.84 kB / 0.6336 GB, free: 31 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1342, allocations: 11.94 kB / 0.6337 GB, free: 30.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1342, allocations: 4 kB / 0.6337 GB, free: 30.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1342, allocations: 0 / 0.6337 GB, free: 30.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003885/0.1346, allocations: 351.7 kB / 0.634 GB, free: 30.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.1346, allocations: 12.03 kB / 0.634 GB, free: 30.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.1347, allocations: 0.9375 kB / 0.634 GB, free: 30.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.968e-05/0.1347, allocations: 172.2 kB / 0.6342 GB, free: 30.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1348, allocations: 384 / 0.6342 GB, free: 30.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.1348, allocations: 12.38 kB / 0.6342 GB, free: 30.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.135, allocations: 66.16 kB / 0.6343 GB, free: 30.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.135, allocations: 192 / 0.6343 GB, free: 30.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.135, allocations: 7.922 kB / 0.6343 GB, free: 30.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.135, allocations: 4 kB / 0.6343 GB, free: 30.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.1352, allocations: 43.95 kB / 0.6343 GB, free: 30.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.1355, allocations: 276.8 kB / 0.6346 GB, free: 29.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.1358, allocations: 58.48 kB / 0.6346 GB, free: 29.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.617e-05/0.1359, allocations: 28.89 kB / 0.6347 GB, free: 29.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.136, allocations: 166.3 kB / 0.6348 GB, free: 29.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.302e-05/0.136, allocations: 34.56 kB / 0.6348 GB, free: 29.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1361, allocations: 0 / 0.6348 GB, free: 29.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003328/0.1364, allocations: 97.53 kB / 0.6349 GB, free: 29.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.1364, allocations: 59.34 kB / 0.635 GB, free: 29.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.877e-05/0.1365, allocations: 110.1 kB / 0.6351 GB, free: 29.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.1365, allocations: 25.7 kB / 0.6351 GB, free: 29.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.1365, allocations: 88.78 kB / 0.6352 GB, free: 29.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.1365, allocations: 11.84 kB / 0.6352 GB, free: 29.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.1366, allocations: 21.7 kB / 0.6352 GB, free: 29.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.905e-05/0.1366, allocations: 314.8 kB / 0.6355 GB, free: 28.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/0.1367, allocations: 19.98 kB / 0.6356 GB, free: 28.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.382e-05/0.1368, allocations: 19.97 kB / 0.6356 GB, free: 28.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.1369, allocations: 52.81 kB / 0.6356 GB, free: 28.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.137, allocations: 0 / 0.6356 GB, free: 28.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000202/0.1372, allocations: 73.66 kB / 0.6357 GB, free: 28.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.1372, allocations: 7.938 kB / 0.6357 GB, free: 28.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1372, allocations: 0 / 0.6357 GB, free: 28.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1372, allocations: 0 / 0.6357 GB, free: 28.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.464e-05/0.1373, allocations: 11.98 kB / 0.6357 GB, free: 28.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1373, allocations: 4.062 kB / 0.6357 GB, free: 28.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.1374, allocations: 15.89 kB / 0.6357 GB, free: 28.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1374, allocations: 4 kB / 0.6357 GB, free: 28.59 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.591e-05/0.1374, allocations: 117.7 kB / 0.6359 GB, free: 28.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.1374, allocations: 4 kB / 0.6359 GB, free: 28.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.1377, allocations: 85.48 kB / 0.6359 GB, free: 28.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1377, allocations: 0 / 0.6359 GB, free: 28.37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1377, allocations: 8 kB / 0.6359 GB, free: 28.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1377, allocations: 0 / 0.6359 GB, free: 28.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.1378, allocations: 166 kB / 0.6361 GB, free: 28.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1378, allocations: 3.938 kB / 0.6361 GB, free: 28.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.574e-05/0.1379, allocations: 11.98 kB / 0.6361 GB, free: 28.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1379, allocations: 0 / 0.6361 GB, free: 28.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1379, allocations: 0 / 0.6361 GB, free: 28.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1379, allocations: 0 / 0.6361 GB, free: 28.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1379, allocations: 3.984 kB / 0.6361 GB, free: 28.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.1383, allocations: 0.7473 MB / 0.6369 GB, free: 27.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.1383, allocations: 77.11 kB / 0.6369 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.1383, allocations: 3.984 kB / 0.6369 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.1384, allocations: 4 kB / 0.6369 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.1385, allocations: 15.92 kB / 0.6369 GB, free: 27.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1385, allocations: 4 kB / 0.637 GB, free: 27.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.671e-05/0.1385, allocations: 91.27 kB / 0.637 GB, free: 27.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1385, allocations: 0 / 0.637 GB, free: 27.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003201/0.1388, allocations: 16 kB / 0.6371 GB, free: 27.1 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001334/0.139, allocations: 111.2 kB / 0.6372 GB, free: 26.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1392, allocations: 47.89 kB / 0.6372 GB, free: 26.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1392, allocations: 4 kB / 0.6372 GB, free: 26.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.1393, allocations: 23.98 kB / 0.6372 GB, free: 26.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1396, allocations: 7.984 kB / 0.6372 GB, free: 26.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.1398, allocations: 229.9 kB / 0.6375 GB, free: 26.63 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.985e-05/0.1399, allocations: 0.6848 MB / 0.6381 GB, free: 25.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.862e-05/0.14, allocations: 4 kB / 0.6381 GB, free: 25.92 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.14, allocations: 11.44 kB / 0.6381 GB, free: 25.91 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.14, allocations: 0 / 0.6381 GB, free: 25.91 MB / 442.7 MB Notification: Performance of Templates: time 0.002621/0.1426, allocations: 0.9217 MB / 0.639 GB, free: 24.99 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)