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.0007308/0.0007308, allocations: 92.48 kB / 16.02 MB, free: 84 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.0007716/0.0007716, allocations: 178.9 kB / 16.91 MB, free: 6.688 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7158/0.7158, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004349, allocations: 8 kB / 496 MB, free: 6.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1757, allocations: 77.53 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002149/0.1779, allocations: 1.25 MB / 0.5613 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005943/0.1785, allocations: 176.3 kB / 0.5614 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.572e-05/0.1785, allocations: 0 / 0.5614 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.1786, allocations: 7.938 kB / 0.5614 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.907e-05/0.1786, allocations: 3.938 kB / 0.5614 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.179, allocations: 35.95 kB / 0.5615 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.781e-05/0.1791, allocations: 39.84 kB / 0.5615 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1792, allocations: 8 kB / 0.5615 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.773e-05/0.1792, allocations: 15.97 kB / 0.5615 GB, free: 7.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.461e-05/0.1793, allocations: 15.92 kB / 0.5616 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.1793, allocations: 0 / 0.5616 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.1794, allocations: 47.97 kB / 0.5616 GB, free: 7.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.1795, allocations: 11.92 kB / 0.5616 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.1795, allocations: 41.62 kB / 0.5616 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.1797, allocations: 55.84 kB / 0.5617 GB, free: 7.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1797, allocations: 0 / 0.5617 GB, free: 7.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1797, allocations: 3.938 kB / 0.5617 GB, free: 7.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1797, allocations: 0 / 0.5617 GB, free: 7.23 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.0005332/0.1803, allocations: 359.7 kB / 0.562 GB, free: 6.828 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.1803, allocations: 8.031 kB / 0.5621 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.1804, allocations: 34.73 kB / 0.5621 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.1804, allocations: 4.938 kB / 0.5621 GB, free: 6.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.1806, allocations: 168.3 kB / 0.5623 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.1806, allocations: 4.375 kB / 0.5623 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.1806, allocations: 384 / 0.5623 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.1808, allocations: 74.22 kB / 0.5623 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1809, allocations: 3.938 kB / 0.5623 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1809, allocations: 0 / 0.5623 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1809, allocations: 0 / 0.5623 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.1811, allocations: 59.89 kB / 0.5624 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.1816, allocations: 280.8 kB / 0.5627 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.1819, allocations: 66.59 kB / 0.5627 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1821, allocations: 40.78 kB / 0.5628 GB, free: 5.984 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002396/0.1823, allocations: 170.2 kB / 0.5629 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.1823, allocations: 30.56 kB / 0.563 GB, free: 5.742 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.1823, allocations: 0 / 0.563 GB, free: 5.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004785/0.1828, allocations: 117.5 kB / 0.5631 GB, free: 5.621 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.1829, allocations: 51.41 kB / 0.5631 GB, free: 5.559 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/0.183, allocations: 109.8 kB / 0.5632 GB, free: 5.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.183, allocations: 25.7 kB / 0.5632 GB, free: 5.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.1831, allocations: 88.12 kB / 0.5633 GB, free: 5.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.1831, allocations: 7.906 kB / 0.5633 GB, free: 5.312 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.1831, allocations: 17.72 kB / 0.5634 GB, free: 5.289 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1832, allocations: 318.7 kB / 0.5637 GB, free: 4.969 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1833, allocations: 31.91 kB / 0.5637 GB, free: 4.938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.857e-05/0.1834, allocations: 27.92 kB / 0.5637 GB, free: 4.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.1836, allocations: 56.81 kB / 0.5638 GB, free: 4.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1836, allocations: 0 / 0.5638 GB, free: 4.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002501/0.1839, allocations: 89.56 kB / 0.5639 GB, free: 4.758 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1839, allocations: 6.031 kB / 0.5639 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1839, allocations: 4 kB / 0.5639 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.184, allocations: 0 / 0.5639 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.184, allocations: 11.98 kB / 0.5639 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.1841, allocations: 0 / 0.5639 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.1841, allocations: 19.92 kB / 0.5639 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.1842, allocations: 0 / 0.5639 GB, free: 4.719 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 (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.0001036/0.1843, allocations: 117.8 kB / 0.564 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.1843, allocations: 0 / 0.564 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.1846, allocations: 97.55 kB / 0.5641 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1846, allocations: 0 / 0.5641 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1846, allocations: 4 kB / 0.5641 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1846, allocations: 3.984 kB / 0.5641 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1848, allocations: 165.6 kB / 0.5643 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1848, allocations: 0 / 0.5643 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.154e-05/0.1849, allocations: 11.98 kB / 0.5643 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1849, allocations: 0 / 0.5643 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1849, allocations: 4 kB / 0.5643 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.185, allocations: 4 kB / 0.5643 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.185, allocations: 3.938 kB / 0.5643 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.1853, allocations: 183.4 kB / 0.5645 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.1853, allocations: 89.09 kB / 0.5645 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1854, allocations: 0 / 0.5645 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.1855, allocations: 4 kB / 0.5645 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/0.1855, allocations: 12.41 kB / 0.5646 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1855, allocations: 0 / 0.5646 GB, free: 3.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.191e-05/0.1856, allocations: 87.27 kB / 0.5646 GB, free: 3.844 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1856, allocations: 0 / 0.5646 GB, free: 3.844 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1859, allocations: 27.88 kB / 0.5647 GB, free: 3.816 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 (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.0007128/0.1866, allocations: 0.7397 MB / 0.5654 GB, free: 3.051 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.1868, allocations: 59.94 kB / 0.5654 GB, free: 2.992 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1869, allocations: 0 / 0.5654 GB, free: 2.992 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.187, allocations: 27.98 kB / 0.5655 GB, free: 2.965 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.1873, allocations: 11.98 kB / 0.5655 GB, free: 2.953 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.189, allocations: 1.318 MB / 0.5668 GB, free: 1.559 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1894, allocations: 0.6809 MB / 0.5674 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.888e-05/0.1894, allocations: 12.11 kB / 0.5675 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.1895, allocations: 15.44 kB / 0.5675 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1895, allocations: 0 / 0.5675 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.2028, allocations: 1.636 MB / 0.5691 GB, free: 15.31 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003015/0.2031, allocations: 178.4 kB / 0.5692 GB, free: 15.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/1.997, allocations: 4 kB / 0.5692 GB, free: 15.06 MB / 446.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)