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.7591/0.7591, allocations: 128.6 MB / 143.8 MB, free: 2.207 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.001004/0.001004, allocations: 181.3 kB / 173.7 MB, free: 6.262 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.597/1.597, allocations: 205 MB / 408.3 MB, free: 10.71 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.0008277/0.0008282, allocations: 89.94 kB / 485.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003183, allocations: 13.75 kB / 0.5587 GB, free: 98.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1397, allocations: 76.14 MB / 0.6331 GB, free: 32.94 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002321/0.1421, allocations: 1.598 MB / 0.6346 GB, free: 31.32 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004388/0.1425, allocations: 179.5 kB / 0.6348 GB, free: 31.14 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.1426, allocations: 0 / 0.6348 GB, free: 31.14 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.1426, allocations: 0 / 0.6348 GB, free: 31.14 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.073e-05/0.1427, allocations: 3.938 kB / 0.6348 GB, free: 31.14 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.1429, allocations: 43.95 kB / 0.6348 GB, free: 31.1 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.521e-05/0.143, allocations: 27.92 kB / 0.6349 GB, free: 31.07 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.822e-05/0.1431, allocations: 19.98 kB / 0.6349 GB, free: 31.05 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.565e-05/0.1431, allocations: 11.94 kB / 0.6349 GB, free: 31.04 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.549e-05/0.1432, allocations: 19.91 kB / 0.6349 GB, free: 31.02 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1432, allocations: 4 kB / 0.6349 GB, free: 31.02 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1433, allocations: 43.95 kB / 0.635 GB, free: 30.97 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.1433, allocations: 8 kB / 0.635 GB, free: 30.96 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.1433, allocations: 23.84 kB / 0.635 GB, free: 30.94 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.1435, allocations: 55.84 kB / 0.635 GB, free: 30.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1435, allocations: 0 / 0.635 GB, free: 30.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1435, allocations: 7.938 kB / 0.635 GB, free: 30.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1435, allocations: 0 / 0.635 GB, free: 30.88 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.0004063/0.1439, allocations: 355.7 kB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.144, allocations: 8.031 kB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.144, allocations: 4.938 kB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.145e-05/0.1441, allocations: 164.4 kB / 0.6356 GB, free: 30.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.1441, allocations: 8.375 kB / 0.6356 GB, free: 30.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.1441, allocations: 384 / 0.6356 GB, free: 30.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.1443, allocations: 78.14 kB / 0.6356 GB, free: 30.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1443, allocations: 192 / 0.6356 GB, free: 30.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1443, allocations: 3.938 kB / 0.6356 GB, free: 30.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1443, allocations: 0 / 0.6356 GB, free: 30.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.1445, allocations: 47.89 kB / 0.6357 GB, free: 30.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.1448, allocations: 276.8 kB / 0.6359 GB, free: 29.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.1451, allocations: 62.53 kB / 0.636 GB, free: 29.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.1452, allocations: 29.48 kB / 0.636 GB, free: 29.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.1454, allocations: 166.2 kB / 0.6362 GB, free: 29.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.1454, allocations: 38.5 kB / 0.6362 GB, free: 29.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1455, allocations: 4 kB / 0.6362 GB, free: 29.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.000363/0.1458, allocations: 93.55 kB / 0.6363 GB, free: 29.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.1459, allocations: 55.39 kB / 0.6364 GB, free: 29.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.453e-05/0.1459, allocations: 109.9 kB / 0.6365 GB, free: 29.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.1459, allocations: 25.7 kB / 0.6365 GB, free: 29.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.146, allocations: 88.12 kB / 0.6366 GB, free: 29.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.146, allocations: 11.84 kB / 0.6366 GB, free: 29.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.146, allocations: 17.72 kB / 0.6366 GB, free: 29.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.953e-05/0.1461, allocations: 322.8 kB / 0.6369 GB, free: 28.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.787e-05/0.1462, allocations: 15.98 kB / 0.6369 GB, free: 28.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.976e-05/0.1463, allocations: 27.91 kB / 0.637 GB, free: 28.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.1464, allocations: 44.83 kB / 0.637 GB, free: 28.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1464, allocations: 4 kB / 0.637 GB, free: 28.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001711/0.1466, allocations: 69.64 kB / 0.6371 GB, free: 28.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1466, allocations: 8 kB / 0.6371 GB, free: 28.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1466, allocations: 0 / 0.6371 GB, free: 28.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1467, allocations: 0 / 0.6371 GB, free: 28.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.1467, allocations: 11.98 kB / 0.6371 GB, free: 28.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1467, allocations: 0 / 0.6371 GB, free: 28.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/0.1468, allocations: 11.91 kB / 0.6371 GB, free: 28.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.1468, allocations: 4 kB / 0.6371 GB, free: 28.49 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 6.123e-05/0.1469, allocations: 121.7 kB / 0.6372 GB, free: 28.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.1469, allocations: 0 / 0.6372 GB, free: 28.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.1471, allocations: 85.88 kB / 0.6373 GB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1471, allocations: 3.938 kB / 0.6373 GB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1472, allocations: 0 / 0.6373 GB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1472, allocations: 48 / 0.6373 GB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.1473, allocations: 173.6 kB / 0.6375 GB, free: 28.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1473, allocations: 0 / 0.6375 GB, free: 28.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/0.1474, allocations: 11.98 kB / 0.6375 GB, free: 28.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1474, allocations: 0 / 0.6375 GB, free: 28.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1474, allocations: 8 kB / 0.6375 GB, free: 28.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1474, allocations: 0 / 0.6375 GB, free: 28.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1474, allocations: 0 / 0.6375 GB, free: 28.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.1476, allocations: 183.4 kB / 0.6377 GB, free: 27.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.1476, allocations: 81.02 kB / 0.6378 GB, free: 27.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.1476, allocations: 0 / 0.6378 GB, free: 27.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.1477, allocations: 7.984 kB / 0.6378 GB, free: 27.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.1478, allocations: 11.98 kB / 0.6378 GB, free: 27.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1478, allocations: 3.938 kB / 0.6378 GB, free: 27.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.591e-05/0.1478, allocations: 87.28 kB / 0.6379 GB, free: 27.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1478, allocations: 0 / 0.6379 GB, free: 27.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002186/0.148, allocations: 20 kB / 0.6379 GB, free: 27.61 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.0001549/0.1482, allocations: 111.2 kB / 0.638 GB, free: 27.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.1484, allocations: 47.89 kB / 0.638 GB, free: 27.44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1484, allocations: 0 / 0.638 GB, free: 27.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.993e-05/0.1485, allocations: 27.97 kB / 0.6381 GB, free: 27.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.1488, allocations: 7.938 kB / 0.6381 GB, free: 27.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.1491, allocations: 131.2 kB / 0.6382 GB, free: 27.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.1492, allocations: 0.6809 MB / 0.6389 GB, free: 26.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.557e-05/0.1492, allocations: 0 / 0.6389 GB, free: 26.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.1493, allocations: 11.44 kB / 0.6389 GB, free: 26.53 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1493, allocations: 4 kB / 0.6389 GB, free: 26.53 MB / 442.7 MB Notification: Performance of Templates: time 0.002799/0.1521, allocations: 0.8883 MB / 0.6397 GB, free: 25.64 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)