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.00137/0.00137, allocations: 107.1 kB / 16.41 MB, free: 6.48 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.001483/0.001483, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7847/0.7847, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 69.05 kB / 0.568 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1563, allocations: 77.93 MB / 0.6441 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002894/0.1592, allocations: 1.522 MB / 0.6455 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005102/0.1597, allocations: 180.2 kB / 0.6457 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.1598, allocations: 3.938 kB / 0.6457 GB, free: 7.848 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.1599, allocations: 3.938 kB / 0.6457 GB, free: 7.844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.743e-05/0.1599, allocations: 11.94 kB / 0.6457 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.1603, allocations: 47.88 kB / 0.6458 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.186e-05/0.1604, allocations: 39.91 kB / 0.6458 GB, free: 7.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1605, allocations: 12 kB / 0.6458 GB, free: 7.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.485e-05/0.1606, allocations: 19.91 kB / 0.6458 GB, free: 7.715 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.429e-05/0.1606, allocations: 15.92 kB / 0.6459 GB, free: 7.699 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1606, allocations: 4 kB / 0.6459 GB, free: 7.695 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1608, allocations: 47.95 kB / 0.6459 GB, free: 7.648 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.1608, allocations: 11.98 kB / 0.6459 GB, free: 7.637 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.1608, allocations: 15.88 kB / 0.6459 GB, free: 7.621 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.161, allocations: 68.06 kB / 0.646 GB, free: 7.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.161, allocations: 0 / 0.646 GB, free: 7.555 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.161, allocations: 0 / 0.646 GB, free: 7.555 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.161, allocations: 0 / 0.646 GB, free: 7.555 MB / 494.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.0004888/0.1615, allocations: 357.4 kB / 0.6463 GB, free: 7.156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1616, allocations: 8.625 kB / 0.6464 GB, free: 7.148 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.1616, allocations: 38.75 kB / 0.6464 GB, free: 7.102 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.1616, allocations: 8.891 kB / 0.6464 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1618, allocations: 176.3 kB / 0.6466 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.1618, allocations: 384 / 0.6466 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.1618, allocations: 8.375 kB / 0.6466 GB, free: 6.875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.162, allocations: 54.23 kB / 0.6466 GB, free: 6.816 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.162, allocations: 7.875 kB / 0.6466 GB, free: 6.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1621, allocations: 4 kB / 0.6466 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1621, allocations: 0 / 0.6466 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.1623, allocations: 47.95 kB / 0.6467 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.1627, allocations: 292.6 kB / 0.647 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.1631, allocations: 54.53 kB / 0.647 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.855e-05/0.1632, allocations: 24.91 kB / 0.647 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/0.1634, allocations: 174.2 kB / 0.6472 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.1634, allocations: 30.56 kB / 0.6472 GB, free: 6.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1635, allocations: 0 / 0.6472 GB, free: 6.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003935/0.1638, allocations: 97.52 kB / 0.6473 GB, free: 5.984 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.1639, allocations: 55.41 kB / 0.6474 GB, free: 5.918 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.164, allocations: 113.8 kB / 0.6475 GB, free: 5.797 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.164, allocations: 25.7 kB / 0.6475 GB, free: 5.766 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.1641, allocations: 84.14 kB / 0.6476 GB, free: 5.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.1641, allocations: 7.953 kB / 0.6476 GB, free: 5.672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.1641, allocations: 17.7 kB / 0.6476 GB, free: 5.648 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.1642, allocations: 318.8 kB / 0.6479 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.446e-05/0.1643, allocations: 23.91 kB / 0.6479 GB, free: 5.305 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.213e-05/0.1644, allocations: 19.98 kB / 0.648 GB, free: 5.285 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.1646, allocations: 52.75 kB / 0.648 GB, free: 5.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1646, allocations: 0 / 0.648 GB, free: 5.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002221/0.1648, allocations: 73.94 kB / 0.6481 GB, free: 5.152 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1649, allocations: 5.719 kB / 0.6481 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1649, allocations: 48 / 0.6481 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1649, allocations: 3.984 kB / 0.6481 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.165, allocations: 15.98 kB / 0.6481 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.165, allocations: 0 / 0.6481 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.1651, allocations: 11.94 kB / 0.6481 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.1651, allocations: 0 / 0.6481 GB, free: 5.117 MB / 494.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 7.647e-05/0.1652, allocations: 117.8 kB / 0.6482 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.1652, allocations: 4 kB / 0.6482 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.1655, allocations: 85.48 kB / 0.6483 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1655, allocations: 0 / 0.6483 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1655, allocations: 3.938 kB / 0.6483 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1655, allocations: 0 / 0.6483 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.1656, allocations: 173.6 kB / 0.6485 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1657, allocations: 0 / 0.6485 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.512e-05/0.1657, allocations: 11.98 kB / 0.6485 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1658, allocations: 4 kB / 0.6485 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1658, allocations: 4 kB / 0.6485 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1658, allocations: 0 / 0.6485 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1658, allocations: 4 kB / 0.6485 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.166, allocations: 179.3 kB / 0.6487 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.1661, allocations: 81.09 kB / 0.6488 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.1661, allocations: 0 / 0.6488 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.525e-05/0.1662, allocations: 4 kB / 0.6488 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.1663, allocations: 11.98 kB / 0.6488 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.1663, allocations: 4 kB / 0.6488 GB, free: 4.336 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.192e-05/0.1663, allocations: 87.27 kB / 0.6489 GB, free: 4.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1663, allocations: 0 / 0.6489 GB, free: 4.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1666, allocations: 19.94 kB / 0.6489 GB, free: 4.23 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.0005789/0.1672, allocations: 0.7281 MB / 0.6496 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.1674, allocations: 43.89 kB / 0.6496 GB, free: 3.434 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1674, allocations: 0 / 0.6496 GB, free: 3.434 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.889e-05/0.1675, allocations: 27.97 kB / 0.6497 GB, free: 3.406 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.1678, allocations: 7.938 kB / 0.6497 GB, free: 3.398 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.1692, allocations: 1.301 MB / 0.6509 GB, free: 2.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.1695, allocations: 0.6807 MB / 0.6516 GB, free: 1.312 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.385e-05/0.1695, allocations: 4.047 kB / 0.6516 GB, free: 1.309 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.1696, allocations: 15.44 kB / 0.6516 GB, free: 1.293 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1696, allocations: 4 kB / 0.6516 GB, free: 1.289 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.1874, allocations: 1.924 MB / 0.6535 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.687, allocations: 6.031 kB / 0.6535 GB, free: 15.43 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)