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.00117/0.00117, allocations: 107.1 kB / 16.4 MB, free: 6.441 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.001296/0.001296, allocations: 192.8 kB / 17.34 MB, free: 5.719 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7277/0.7277, allocations: 115.3 MB / 406.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 65.44 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1392, allocations: 76.18 MB / 0.6316 GB, free: 4.871 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001577/0.1408, allocations: 0.5766 MB / 0.6322 GB, free: 4.297 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003635/0.1412, allocations: 104 kB / 0.6323 GB, free: 4.195 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.1412, allocations: 0 / 0.6323 GB, free: 4.195 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.1413, allocations: 4 kB / 0.6323 GB, free: 4.191 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.22e-06/0.1413, allocations: 0 / 0.6323 GB, free: 4.191 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.1416, allocations: 35.91 kB / 0.6323 GB, free: 4.156 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.1417, allocations: 63.92 kB / 0.6324 GB, free: 4.094 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.1418, allocations: 4 kB / 0.6324 GB, free: 4.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.361e-05/0.1418, allocations: 23.98 kB / 0.6324 GB, free: 4.066 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.781e-05/0.1419, allocations: 31.89 kB / 0.6324 GB, free: 4.035 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1419, allocations: 4 kB / 0.6325 GB, free: 4.031 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.142, allocations: 43.95 kB / 0.6325 GB, free: 3.988 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.1421, allocations: 23.95 kB / 0.6325 GB, free: 3.965 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.1421, allocations: 23.92 kB / 0.6325 GB, free: 3.941 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.1423, allocations: 67.84 kB / 0.6326 GB, free: 3.875 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1423, allocations: 0 / 0.6326 GB, free: 3.875 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1423, allocations: 0 / 0.6326 GB, free: 3.875 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1423, allocations: 0 / 0.6326 GB, free: 3.875 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004634/0.1428, allocations: 375.5 kB / 0.633 GB, free: 3.457 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1428, allocations: 12.03 kB / 0.633 GB, free: 3.445 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.1429, allocations: 38.75 kB / 0.633 GB, free: 3.398 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.1429, allocations: 12.78 kB / 0.633 GB, free: 3.387 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.474e-05/0.143, allocations: 171.2 kB / 0.6332 GB, free: 3.184 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002358/0.1432, allocations: 277.6 kB / 0.6334 GB, free: 2.852 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.1433, allocations: 8.375 kB / 0.6335 GB, free: 2.844 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.1435, allocations: 81.94 kB / 0.6335 GB, free: 2.758 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1435, allocations: 3.984 kB / 0.6335 GB, free: 2.754 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1435, allocations: 4 kB / 0.6335 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1435, allocations: 4 kB / 0.6335 GB, free: 2.746 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.1438, allocations: 131.8 kB / 0.6337 GB, free: 2.617 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.144, allocations: 182.2 kB / 0.6338 GB, free: 2.391 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.1443, allocations: 102.5 kB / 0.6339 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.1444, allocations: 40.83 kB / 0.634 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1445, allocations: 4 kB / 0.634 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.1445, allocations: 38.5 kB / 0.634 GB, free: 2.188 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1445, allocations: 0 / 0.634 GB, free: 2.188 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005162/0.145, allocations: 157.4 kB / 0.6342 GB, free: 2.027 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.1451, allocations: 51.41 kB / 0.6342 GB, free: 1.965 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.625e-05/0.1451, allocations: 89.86 kB / 0.6343 GB, free: 1.867 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1451, allocations: 25.92 kB / 0.6343 GB, free: 1.836 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.1452, allocations: 80.14 kB / 0.6344 GB, free: 1.754 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.1452, allocations: 35.77 kB / 0.6344 GB, free: 1.719 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.1453, allocations: 33.7 kB / 0.6345 GB, free: 1.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.1454, allocations: 314.8 kB / 0.6348 GB, free: 1.363 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.1455, allocations: 35.97 kB / 0.6348 GB, free: 1.328 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1456, allocations: 27.97 kB / 0.6348 GB, free: 1.301 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.1459, allocations: 76.81 kB / 0.6349 GB, free: 1.223 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1459, allocations: 0 / 0.6349 GB, free: 1.223 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003186/0.1462, allocations: 121.4 kB / 0.635 GB, free: 1.098 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1462, allocations: 9.188 kB / 0.635 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1462, allocations: 0 / 0.635 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1463, allocations: 4 kB / 0.635 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.1464, allocations: 23.98 kB / 0.6351 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1464, allocations: 0 / 0.6351 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.088e-05/0.1465, allocations: 11.92 kB / 0.6351 GB, free: 1.051 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1465, allocations: 4 kB / 0.6351 GB, free: 1.047 MB / 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: 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 8.09e-05/0.1466, allocations: 121.8 kB / 0.6352 GB, free: 0.918 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.1466, allocations: 11.84 kB / 0.6352 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.09e-05/0.1467, allocations: 11.97 kB / 0.6352 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1467, allocations: 8 kB / 0.6352 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1467, allocations: 0 / 0.6352 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1467, allocations: 0 / 0.6352 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.1468, allocations: 173.6 kB / 0.6354 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1468, allocations: 0 / 0.6354 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.147, allocations: 27.97 kB / 0.6354 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.147, allocations: 3.938 kB / 0.6354 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.147, allocations: 4 kB / 0.6354 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.147, allocations: 4 kB / 0.6354 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.147, allocations: 0 / 0.6354 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.1473, allocations: 148.8 kB / 0.6356 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.1474, allocations: 84.98 kB / 0.6356 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1474, allocations: 11.94 kB / 0.6357 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.1475, allocations: 3.984 kB / 0.6357 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.1475, allocations: 11.98 kB / 0.6357 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.1475, allocations: 4 kB / 0.6357 GB, free: 332 kB / 478.1 MB Notification: Performance of sorting global known variables: time 2.25e-05/0.1476, allocations: 75.28 kB / 0.6358 GB, free: 256 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1476, allocations: 4 kB / 0.6358 GB, free: 252 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1478, allocations: 27.98 kB / 0.6358 GB, free: 224 kB / 478.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.0006413/0.1484, allocations: 0.6912 MB / 0.6365 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000301/0.1488, allocations: 87.98 kB / 0.6365 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1488, allocations: 4 kB / 0.6365 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.1489, allocations: 51.89 kB / 0.6366 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.1491, allocations: 11.94 kB / 0.6366 GB, free: 15.35 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.1496, allocations: 202.6 kB / 0.6368 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.1498, allocations: 0.6807 MB / 0.6375 GB, free: 14.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.1499, allocations: 39.95 kB / 0.6375 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.15, allocations: 19.42 kB / 0.6375 GB, free: 14.35 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.15, allocations: 4 kB / 0.6375 GB, free: 14.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.168, allocations: 2.036 MB / 0.6395 GB, free: 12.39 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/7.832, allocations: 4.594 kB / 0.6395 GB, free: 12.39 MB / 494.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)