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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 115 kB / 19.7 MB, free: 2.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 225.4 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9559/0.9559, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 70.31 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.174, allocations: 89.17 MB / 0.7284 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.003215/0.1773, allocations: 1.554 MB / 0.7299 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005829/0.1778, allocations: 187.4 kB / 0.7301 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.1779, allocations: 8 kB / 0.7301 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.1779, allocations: 7.922 kB / 0.7301 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.549e-05/0.178, allocations: 0 / 0.7301 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.1784, allocations: 63.75 kB / 0.7301 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.1785, allocations: 27.92 kB / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1786, allocations: 11.98 kB / 0.7302 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/0.1786, allocations: 19.94 kB / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.1787, allocations: 19.91 kB / 0.7302 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1787, allocations: 4 kB / 0.7302 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.1789, allocations: 47.95 kB / 0.7303 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.1789, allocations: 15.97 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.1789, allocations: 19.88 kB / 0.7303 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.1791, allocations: 64.06 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1791, allocations: 0 / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1791, allocations: 0 / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.1791, allocations: 0 / 0.7303 GB, free: 15.2 MB / 0.5606 GB 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.0005749/0.1797, allocations: 282.2 kB / 0.7306 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.955e-05/0.1797, allocations: 12.03 kB / 0.7306 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.1798, allocations: 38.73 kB / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.1798, allocations: 8.891 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.18, allocations: 106.5 kB / 0.7308 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.18, allocations: 4.375 kB / 0.7308 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.18, allocations: 4.312 kB / 0.7308 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.1802, allocations: 62.22 kB / 0.7308 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1802, allocations: 7.922 kB / 0.7309 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1802, allocations: 4 kB / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1802, allocations: 0 / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.1804, allocations: 47.95 kB / 0.7309 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.1808, allocations: 255.7 kB / 0.7311 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.1812, allocations: 58.53 kB / 0.7312 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.702e-05/0.1813, allocations: 24.91 kB / 0.7312 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/0.1814, allocations: 15.98 kB / 0.7312 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.1815, allocations: 34.56 kB / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1815, allocations: 0 / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000431/0.1819, allocations: 93.56 kB / 0.7314 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.1819, allocations: 55.41 kB / 0.7314 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.182, allocations: 117.8 kB / 0.7315 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.1821, allocations: 25.7 kB / 0.7316 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.1821, allocations: 84.14 kB / 0.7316 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.1822, allocations: 11.94 kB / 0.7316 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.1822, allocations: 13.72 kB / 0.7317 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.1823, allocations: 318.8 kB / 0.732 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.34e-05/0.1824, allocations: 19.97 kB / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.829e-05/0.1825, allocations: 27.98 kB / 0.732 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.1827, allocations: 44.81 kB / 0.732 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1827, allocations: 3.938 kB / 0.7321 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002123/0.1829, allocations: 77.59 kB / 0.7321 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1829, allocations: 4 kB / 0.7321 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1829, allocations: 3.938 kB / 0.7321 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1829, allocations: 4 kB / 0.7321 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.183, allocations: 11.98 kB / 0.7321 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.183, allocations: 4 kB / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.1831, allocations: 7.984 kB / 0.7322 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.1831, allocations: 0 / 0.7322 GB, free: 13.15 MB / 0.5606 GB 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.0001048/0.1832, allocations: 115.8 kB / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.1832, allocations: 7.953 kB / 0.7323 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.1835, allocations: 85.58 kB / 0.7324 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1835, allocations: 4.375 kB / 0.7324 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1835, allocations: 0 / 0.7324 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1835, allocations: 3.984 kB / 0.7324 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.1837, allocations: 140.7 kB / 0.7325 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1837, allocations: 0 / 0.7325 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-05/0.1838, allocations: 11.98 kB / 0.7325 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1838, allocations: 3.984 kB / 0.7325 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.1838, allocations: 0 / 0.7325 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1838, allocations: 0 / 0.7325 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1838, allocations: 4 kB / 0.7325 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.1841, allocations: 171.4 kB / 0.7327 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.1841, allocations: 15.92 kB / 0.7327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1841, allocations: 0 / 0.7327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-05/0.1842, allocations: 4 kB / 0.7327 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.1842, allocations: 11.92 kB / 0.7327 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.1842, allocations: 4 kB / 0.7327 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.1843, allocations: 87.58 kB / 0.7328 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1843, allocations: 4 kB / 0.7328 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002496/0.1846, allocations: 16 kB / 0.7328 GB, free: 12.39 MB / 0.5606 GB 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.000664/0.1852, allocations: 0.7163 MB / 0.7335 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.1855, allocations: 59.81 kB / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1855, allocations: 0 / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.45e-05/0.1855, allocations: 19.98 kB / 0.7336 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.1858, allocations: 8.219 kB / 0.7336 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.1874, allocations: 1.299 MB / 0.7349 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.1877, allocations: 0.6807 MB / 0.7355 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.093e-05/0.1877, allocations: 4 kB / 0.7355 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.1878, allocations: 15.42 kB / 0.7356 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.1878, allocations: 4 kB / 0.7356 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.2165, allocations: 2.044 MB / 0.7376 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11, allocations: 14.08 kB / 0.7376 GB, free: 7.539 MB / 0.5606 GB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.97920973699729] Failed to read output from testmodel.py, exit status != 0: 11.101670397001726 11.132502294 10.947870305 Calling exit ...