Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009825/0.0009826, allocations: 98.97 kB / 16.02 MB, free: 80 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.001284/0.001284, allocations: 179.1 kB / 16.92 MB, free: 6.922 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.344/1.344, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.702/0.702, allocations: 115.5 MB / 407.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003208, allocations: 12 kB / 496 MB, free: 6.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1599, allocations: 77.53 MB / 0.5601 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.0006365/0.1606, allocations: 307.8 kB / 0.5603 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004073/0.161, allocations: 114.2 kB / 0.5605 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.386e-05/0.1611, allocations: 0 / 0.5605 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.1611, allocations: 0 / 0.5605 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.849e-06/0.1611, allocations: 0 / 0.5605 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.1614, allocations: 35.95 kB / 0.5605 GB, free: 8.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.1615, allocations: 59.94 kB / 0.5605 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.1616, allocations: 0 / 0.5605 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.916e-05/0.1616, allocations: 27.97 kB / 0.5606 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.1617, allocations: 19.97 kB / 0.5606 GB, free: 8.352 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1617, allocations: 4 kB / 0.5606 GB, free: 8.348 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1618, allocations: 51.94 kB / 0.5606 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.1619, allocations: 19.92 kB / 0.5607 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.1619, allocations: 45.62 kB / 0.5607 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.1621, allocations: 71.81 kB / 0.5608 GB, free: 8.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1621, allocations: 4 kB / 0.5608 GB, free: 8.152 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1621, allocations: 0 / 0.5608 GB, free: 8.152 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1621, allocations: 0 / 0.5608 GB, free: 8.152 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000468/0.1626, allocations: 355.5 kB / 0.5611 GB, free: 7.754 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1626, allocations: 12.03 kB / 0.5611 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/0.1627, allocations: 38.75 kB / 0.5612 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.1627, allocations: 16.78 kB / 0.5612 GB, free: 7.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.041e-05/0.1628, allocations: 168.6 kB / 0.5613 GB, free: 7.477 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002457/0.1631, allocations: 273.6 kB / 0.5616 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.1631, allocations: 12.38 kB / 0.5616 GB, free: 7.137 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.1633, allocations: 81.94 kB / 0.5617 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.1633, allocations: 0 / 0.5617 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1634, allocations: 4 kB / 0.5617 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1634, allocations: 4 kB / 0.5617 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.1637, allocations: 131.8 kB / 0.5618 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.1639, allocations: 173.7 kB / 0.562 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.1642, allocations: 94.52 kB / 0.5621 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.1644, allocations: 48.83 kB / 0.5621 GB, free: 6.543 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1644, allocations: 336 / 0.5621 GB, free: 6.543 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1644, allocations: 34.5 kB / 0.5622 GB, free: 6.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.1644, allocations: 3.938 kB / 0.5622 GB, free: 6.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005532/0.165, allocations: 157.3 kB / 0.5623 GB, free: 6.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.1651, allocations: 51.41 kB / 0.5624 GB, free: 6.277 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.776e-05/0.1651, allocations: 89.86 kB / 0.5625 GB, free: 6.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.1651, allocations: 33.7 kB / 0.5625 GB, free: 6.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.1652, allocations: 84.08 kB / 0.5626 GB, free: 6.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.254e-05/0.1653, allocations: 35.53 kB / 0.5626 GB, free: 6.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.1653, allocations: 17.72 kB / 0.5626 GB, free: 5.996 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1654, allocations: 314.8 kB / 0.5629 GB, free: 5.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1655, allocations: 31.97 kB / 0.5629 GB, free: 5.648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.1657, allocations: 39.91 kB / 0.563 GB, free: 5.609 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.166, allocations: 72.75 kB / 0.5631 GB, free: 5.535 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.166, allocations: 4 kB / 0.5631 GB, free: 5.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003351/0.1663, allocations: 113.5 kB / 0.5632 GB, free: 5.414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1663, allocations: 7.938 kB / 0.5632 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1664, allocations: 0 / 0.5632 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1664, allocations: 7.922 kB / 0.5632 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.1665, allocations: 27.97 kB / 0.5632 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1665, allocations: 0 / 0.5632 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.1666, allocations: 11.94 kB / 0.5632 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1666, allocations: 4 kB / 0.5632 GB, free: 5.355 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: 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 0.0001029/0.1667, allocations: 129.8 kB / 0.5633 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.1668, allocations: 7.844 kB / 0.5634 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.1668, allocations: 7.969 kB / 0.5634 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1668, allocations: 4 kB / 0.5634 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1668, allocations: 0 / 0.5634 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1668, allocations: 0 / 0.5634 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.167, allocations: 177.6 kB / 0.5635 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.167, allocations: 0 / 0.5635 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.1671, allocations: 23.98 kB / 0.5636 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1671, allocations: 3.938 kB / 0.5636 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1671, allocations: 7.984 kB / 0.5636 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1671, allocations: 4 kB / 0.5636 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1671, allocations: 0 / 0.5636 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.1675, allocations: 148.1 kB / 0.5637 GB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.1675, allocations: 84.98 kB / 0.5638 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.1676, allocations: 7.984 kB / 0.5638 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.909e-05/0.1676, allocations: 4 kB / 0.5638 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.1677, allocations: 15.98 kB / 0.5638 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1677, allocations: 3.984 kB / 0.5638 GB, free: 4.645 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.746e-05/0.1677, allocations: 75.28 kB / 0.5639 GB, free: 4.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1678, allocations: 4 kB / 0.5639 GB, free: 4.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.168, allocations: 20 kB / 0.5639 GB, free: 4.547 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: 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 (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.0006894/0.1687, allocations: 0.6982 MB / 0.5646 GB, free: 3.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003514/0.169, allocations: 83.94 kB / 0.5647 GB, free: 3.738 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1691, allocations: 3.938 kB / 0.5647 GB, free: 3.734 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.1692, allocations: 51.89 kB / 0.5647 GB, free: 3.684 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.1694, allocations: 4 kB / 0.5647 GB, free: 3.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.1698, allocations: 212.2 kB / 0.5649 GB, free: 3.434 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.1701, allocations: 0.6887 MB / 0.5656 GB, free: 2.719 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.1702, allocations: 35.97 kB / 0.5657 GB, free: 2.684 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.1703, allocations: 19.42 kB / 0.5657 GB, free: 2.664 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1703, allocations: 0 / 0.5657 GB, free: 2.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07399/0.2443, allocations: 1.786 MB / 0.5674 GB, free: 1.012 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003312/0.2446, allocations: 195.4 kB / 0.5676 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/2.489, allocations: 0 / 0.5676 GB, free: 0.7617 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)