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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.001449/0.001449, allocations: 106.1 kB / 16.4 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 195.9 kB / 17.34 MB, free: 5.738 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9719/0.9719, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 64.25 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1467, allocations: 76.19 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.003199/0.15, allocations: 1.514 MB / 0.6331 GB, free: 3.379 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005053/0.1505, allocations: 184.3 kB / 0.6333 GB, free: 3.195 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.1506, allocations: 0 / 0.6333 GB, free: 3.195 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/0.1506, allocations: 3.984 kB / 0.6333 GB, free: 3.191 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.245e-05/0.1507, allocations: 3.938 kB / 0.6333 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.1511, allocations: 47.88 kB / 0.6333 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.1512, allocations: 35.86 kB / 0.6333 GB, free: 3.105 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1513, allocations: 11.98 kB / 0.6334 GB, free: 3.094 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.515e-05/0.1513, allocations: 23.92 kB / 0.6334 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/0.1514, allocations: 19.92 kB / 0.6334 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1514, allocations: 4 kB / 0.6334 GB, free: 3.047 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1515, allocations: 55.89 kB / 0.6334 GB, free: 2.992 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.1515, allocations: 7.984 kB / 0.6335 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.1516, allocations: 19.86 kB / 0.6335 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1517, allocations: 63.78 kB / 0.6335 GB, free: 2.902 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1518, allocations: 4 kB / 0.6335 GB, free: 2.898 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1518, allocations: 4 kB / 0.6335 GB, free: 2.895 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.1518, allocations: 0 / 0.6335 GB, free: 2.895 MB / 478.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.0004846/0.1523, allocations: 354.3 kB / 0.6339 GB, free: 2.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1523, allocations: 8.031 kB / 0.6339 GB, free: 2.492 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.1524, allocations: 38.73 kB / 0.6339 GB, free: 2.445 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.1524, allocations: 4.938 kB / 0.6339 GB, free: 2.441 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1525, allocations: 165.1 kB / 0.6341 GB, free: 2.242 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.1526, allocations: 8.375 kB / 0.6341 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.1526, allocations: 384 / 0.6341 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.1528, allocations: 70.16 kB / 0.6342 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1528, allocations: 3.938 kB / 0.6342 GB, free: 2.156 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1528, allocations: 4 kB / 0.6342 GB, free: 2.152 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1528, allocations: 0 / 0.6342 GB, free: 2.152 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.1531, allocations: 43.95 kB / 0.6342 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.1536, allocations: 280.7 kB / 0.6345 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.154, allocations: 66.53 kB / 0.6345 GB, free: 1.711 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.1541, allocations: 28.78 kB / 0.6346 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.1543, allocations: 170.2 kB / 0.6347 GB, free: 1.477 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1544, allocations: 30.56 kB / 0.6348 GB, free: 1.438 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.1544, allocations: 0 / 0.6348 GB, free: 1.438 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004421/0.1548, allocations: 97.64 kB / 0.6349 GB, free: 1.336 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.1549, allocations: 55.34 kB / 0.6349 GB, free: 1.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.385e-05/0.155, allocations: 105.8 kB / 0.635 GB, free: 1.156 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.155, allocations: 29.7 kB / 0.635 GB, free: 1.121 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.1551, allocations: 88.12 kB / 0.6351 GB, free: 1.031 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.1551, allocations: 7.906 kB / 0.6351 GB, free: 1.023 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.1552, allocations: 13.72 kB / 0.6351 GB, free: 1.004 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1553, allocations: 322.8 kB / 0.6355 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.641e-05/0.1554, allocations: 19.98 kB / 0.6355 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.27e-05/0.1555, allocations: 19.98 kB / 0.6355 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.1557, allocations: 44.81 kB / 0.6355 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1557, allocations: 0 / 0.6355 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002317/0.1559, allocations: 81.56 kB / 0.6356 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.156, allocations: 9.812 kB / 0.6356 GB, free: 0.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.156, allocations: 7.984 kB / 0.6356 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.156, allocations: 0 / 0.6356 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.1561, allocations: 8 kB / 0.6356 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.1561, allocations: 8.234 kB / 0.6356 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/0.1562, allocations: 4 kB / 0.6356 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.1562, allocations: 0 / 0.6356 GB, free: 484 kB / 478.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 (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 0.0001111/0.1563, allocations: 114.1 kB / 0.6358 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.1563, allocations: 11.98 kB / 0.6358 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.1566, allocations: 85.53 kB / 0.6358 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1566, allocations: 0 / 0.6358 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1567, allocations: 0 / 0.6358 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1567, allocations: 0 / 0.6358 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.1568, allocations: 169.6 kB / 0.636 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1568, allocations: 3.938 kB / 0.636 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.863e-05/0.1569, allocations: 11.98 kB / 0.636 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1569, allocations: 4 kB / 0.636 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.157, allocations: 3.938 kB / 0.636 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.157, allocations: 3.984 kB / 0.636 GB, free: 0 / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-05/0.157, allocations: 4.078 kB / 0.636 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.1573, allocations: 179.3 kB / 0.6362 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.1573, allocations: 81.05 kB / 0.6363 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.1573, allocations: 4 kB / 0.6363 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.1574, allocations: 7.984 kB / 0.6363 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.1575, allocations: 8 kB / 0.6363 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.1575, allocations: 0 / 0.6363 GB, free: 15.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.534e-05/0.1576, allocations: 91.27 kB / 0.6364 GB, free: 15.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1576, allocations: 0 / 0.6364 GB, free: 15.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1578, allocations: 12 kB / 0.6364 GB, free: 15.58 MB / 494.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 (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.0006392/0.1585, allocations: 0.7318 MB / 0.6371 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.1587, allocations: 47.95 kB / 0.6372 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1587, allocations: 0 / 0.6372 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1588, allocations: 27.92 kB / 0.6372 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.1591, allocations: 7.984 kB / 0.6372 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.1606, allocations: 1.288 MB / 0.6385 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1609, allocations: 0.6768 MB / 0.6391 GB, free: 12.67 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.488e-05/0.1609, allocations: 8 kB / 0.6391 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.161, allocations: 19.42 kB / 0.6391 GB, free: 12.64 MB / 494.1 MB Notification: Performance of SimCode: time 2.214e-06/0.161, allocations: 0 / 0.6391 GB, free: 12.64 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08698/0.248, allocations: 1.947 MB / 0.641 GB, free: 10.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.26, allocations: 13.81 kB / 0.6411 GB, free: 10.76 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)