Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 95.56 kB / 15.68 MB, free: 488 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.001718/0.001718, allocations: 176 kB / 16.56 MB, free: 6.387 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.307/1.307, allocations: 223.2 MB / 240.5 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6621/0.6621, allocations: 113.8 MB / 405.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004467/0.0004468, allocations: 8.594 kB / 493 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1503, allocations: 77.15 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.001653/0.152, allocations: 1.229 MB / 0.558 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003877/0.1524, allocations: 172.4 kB / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.1524, allocations: 0 / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.268e-05/0.1525, allocations: 0 / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.802e-05/0.1525, allocations: 4 kB / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.1527, allocations: 35.89 kB / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.449e-05/0.1528, allocations: 23.97 kB / 0.5583 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.894e-05/0.1529, allocations: 15.92 kB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.778e-05/0.1529, allocations: 11.92 kB / 0.5583 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.163e-05/0.153, allocations: 19.92 kB / 0.5583 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.153, allocations: 4 kB / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-05/0.1531, allocations: 31.97 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.1531, allocations: 11.92 kB / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.1531, allocations: 29.7 kB / 0.5584 GB, free: 10 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.427e-05/0.1532, allocations: 39.92 kB / 0.5584 GB, free: 9.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.1532, allocations: 0 / 0.5584 GB, free: 9.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1532, allocations: 0 / 0.5584 GB, free: 9.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.1532, allocations: 0 / 0.5584 GB, free: 9.965 MB / 430.1 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.0004558/0.1537, allocations: 361.2 kB / 0.5588 GB, free: 9.566 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1537, allocations: 12.02 kB / 0.5588 GB, free: 9.555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.1538, allocations: 4 kB / 0.5588 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1539, allocations: 167 kB / 0.5589 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1539, allocations: 0 / 0.5589 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.1539, allocations: 4 kB / 0.5589 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.1541, allocations: 77.58 kB / 0.559 GB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1542, allocations: 7.953 kB / 0.559 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1542, allocations: 4 kB / 0.559 GB, free: 9.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1542, allocations: 0 / 0.559 GB, free: 9.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.1544, allocations: 47.95 kB / 0.5591 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.1548, allocations: 288.6 kB / 0.5593 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.1551, allocations: 62.53 kB / 0.5594 GB, free: 8.801 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/0.1554, allocations: 178.3 kB / 0.5596 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.1554, allocations: 30.56 kB / 0.5596 GB, free: 8.551 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1554, allocations: 0 / 0.5596 GB, free: 8.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003873/0.1558, allocations: 113.6 kB / 0.5597 GB, free: 8.434 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.1558, allocations: 51.41 kB / 0.5598 GB, free: 8.371 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.771e-05/0.1559, allocations: 117.8 kB / 0.5599 GB, free: 8.246 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.1559, allocations: 25.7 kB / 0.5599 GB, free: 8.215 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.156, allocations: 84.14 kB / 0.56 GB, free: 8.129 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.156, allocations: 7.906 kB / 0.56 GB, free: 8.121 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.156, allocations: 0 / 0.56 GB, free: 8.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1561, allocations: 314.8 kB / 0.5603 GB, free: 7.805 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.386e-05/0.1562, allocations: 27.98 kB / 0.5603 GB, free: 7.777 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.1563, allocations: 23.98 kB / 0.5603 GB, free: 7.754 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.1564, allocations: 31.97 kB / 0.5604 GB, free: 7.723 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1564, allocations: 0 / 0.5604 GB, free: 7.723 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002225/0.1566, allocations: 85.55 kB / 0.5605 GB, free: 7.633 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1567, allocations: 5.875 kB / 0.5605 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1567, allocations: 0 / 0.5605 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1567, allocations: 3.938 kB / 0.5605 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.1568, allocations: 23.98 kB / 0.5605 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1568, allocations: 0 / 0.5605 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.997e-05/0.1569, allocations: 11.98 kB / 0.5605 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1569, allocations: 4 kB / 0.5605 GB, free: 7.586 MB / 430.1 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 (rea2Int.y,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.026e-05/0.157, allocations: 109.8 kB / 0.5606 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.157, allocations: 7.859 kB / 0.5606 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.1573, allocations: 97.55 kB / 0.5607 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1573, allocations: 3.938 kB / 0.5607 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1573, allocations: 3.938 kB / 0.5607 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1573, allocations: 0 / 0.5607 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.1575, allocations: 169.6 kB / 0.5609 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1575, allocations: 4 kB / 0.5609 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-05/0.1576, allocations: 12 kB / 0.5609 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1576, allocations: 3.953 kB / 0.5609 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1576, allocations: 3.984 kB / 0.5609 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1576, allocations: 0 / 0.5609 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1576, allocations: 0 / 0.5609 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.1579, allocations: 179.5 kB / 0.5611 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.158, allocations: 81.02 kB / 0.5611 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.158, allocations: 7.938 kB / 0.5612 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.714e-05/0.1581, allocations: 8 kB / 0.5612 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.1582, allocations: 12.41 kB / 0.5612 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1582, allocations: 4 kB / 0.5612 GB, free: 6.789 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1583, allocations: 95.27 kB / 0.5613 GB, free: 6.695 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1583, allocations: 4 kB / 0.5613 GB, free: 6.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1585, allocations: 12 kB / 0.5613 GB, free: 6.68 MB / 430.1 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 (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.0001677/0.1587, allocations: 115.9 kB / 0.5614 GB, free: 6.559 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002907/0.159, allocations: 59.94 kB / 0.5614 GB, free: 6.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.159, allocations: 0 / 0.5614 GB, free: 6.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.94e-05/0.1591, allocations: 27.98 kB / 0.5615 GB, free: 6.473 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.1593, allocations: 4 kB / 0.5615 GB, free: 6.469 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.1596, allocations: 144.5 kB / 0.5616 GB, free: 6.305 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.1598, allocations: 0.6809 MB / 0.5623 GB, free: 5.598 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.787e-05/0.1599, allocations: 4 kB / 0.5623 GB, free: 5.594 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.1599, allocations: 11.42 kB / 0.5623 GB, free: 5.582 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1599, allocations: 0 / 0.5623 GB, free: 5.582 MB / 430.1 MB Notification: Performance of Templates: time 0.002849/0.1628, allocations: 0.8446 MB / 0.5631 GB, free: 4.742 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)