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.001739/0.001739, allocations: 104.6 kB / 16.4 MB, free: 6.027 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.00207/0.00207, allocations: 200.9 kB / 17.34 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.291/2.291, 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 1.254/1.254, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 66.36 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2952, allocations: 76.17 MB / 0.6316 GB, free: 4.859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.002965/0.2982, allocations: 0.5831 MB / 0.6322 GB, free: 4.281 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005651/0.2988, allocations: 99.98 kB / 0.6323 GB, free: 4.184 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.073e-05/0.2989, allocations: 0 / 0.6323 GB, free: 4.184 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.597e-05/0.2989, allocations: 0 / 0.6323 GB, free: 4.184 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.957e-06/0.299, allocations: 0 / 0.6323 GB, free: 4.184 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.2995, allocations: 39.91 kB / 0.6323 GB, free: 4.145 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.2997, allocations: 67.92 kB / 0.6324 GB, free: 4.078 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.866e-05/0.2998, allocations: 11.98 kB / 0.6324 GB, free: 4.066 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.178e-05/0.2999, allocations: 19.98 kB / 0.6324 GB, free: 4.047 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.923e-05/0.3, allocations: 27.89 kB / 0.6324 GB, free: 4.02 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.3, allocations: 4 kB / 0.6325 GB, free: 4.016 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.3002, allocations: 43.97 kB / 0.6325 GB, free: 3.973 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.418e-05/0.3003, allocations: 23.95 kB / 0.6325 GB, free: 3.949 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.013e-05/0.3004, allocations: 19.92 kB / 0.6325 GB, free: 3.93 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.3006, allocations: 63.84 kB / 0.6326 GB, free: 3.867 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.3006, allocations: 7.938 kB / 0.6326 GB, free: 3.859 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.709e-06/0.3006, allocations: 0 / 0.6326 GB, free: 3.859 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.3007, allocations: 7.984 kB / 0.6326 GB, free: 3.852 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.0008111/0.3015, allocations: 367.5 kB / 0.633 GB, free: 3.441 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/0.3016, allocations: 12.03 kB / 0.633 GB, free: 3.43 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.511e-05/0.3016, allocations: 42.73 kB / 0.633 GB, free: 3.379 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.3017, allocations: 12.84 kB / 0.633 GB, free: 3.367 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.3018, allocations: 163.8 kB / 0.6332 GB, free: 3.172 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000375/0.3022, allocations: 277.6 kB / 0.6334 GB, free: 2.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3023, allocations: 4.375 kB / 0.6335 GB, free: 2.836 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.3026, allocations: 89.94 kB / 0.6335 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3026, allocations: 3.938 kB / 0.6335 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3027, allocations: 0 / 0.6335 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.3027, allocations: 4 kB / 0.6335 GB, free: 2.734 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005883/0.3033, allocations: 135.8 kB / 0.6337 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.3036, allocations: 173.6 kB / 0.6338 GB, free: 2.383 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.3041, allocations: 98.56 kB / 0.6339 GB, free: 2.277 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.3043, allocations: 48.77 kB / 0.634 GB, free: 2.227 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.3044, allocations: 4 kB / 0.634 GB, free: 2.223 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.3044, allocations: 42.44 kB / 0.634 GB, free: 2.172 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/0.3044, allocations: 0 / 0.634 GB, free: 2.172 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008994/0.3053, allocations: 145.5 kB / 0.6342 GB, free: 2.023 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.3054, allocations: 51.41 kB / 0.6342 GB, free: 1.961 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.3055, allocations: 89.86 kB / 0.6343 GB, free: 1.863 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.3055, allocations: 33.7 kB / 0.6343 GB, free: 1.824 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.3056, allocations: 84.36 kB / 0.6344 GB, free: 1.738 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.235e-05/0.3056, allocations: 31.83 kB / 0.6344 GB, free: 1.707 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.856e-05/0.3057, allocations: 29.64 kB / 0.6345 GB, free: 1.672 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.3059, allocations: 314.8 kB / 0.6348 GB, free: 1.355 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.3062, allocations: 31.97 kB / 0.6348 GB, free: 1.324 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.3064, allocations: 35.97 kB / 0.6348 GB, free: 1.289 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.3068, allocations: 72.75 kB / 0.6349 GB, free: 1.215 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3068, allocations: 0 / 0.6349 GB, free: 1.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007462/0.3076, allocations: 125.5 kB / 0.635 GB, free: 1.086 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.3076, allocations: 9.344 kB / 0.635 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3077, allocations: 0 / 0.635 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.3077, allocations: 0 / 0.635 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.3079, allocations: 31.97 kB / 0.6351 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.308, allocations: 0 / 0.6351 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.246e-05/0.3081, allocations: 7.938 kB / 0.6351 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.3081, allocations: 4 kB / 0.6351 GB, free: 1.035 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 0.0002751/0.3084, allocations: 125.8 kB / 0.6352 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.3084, allocations: 7.844 kB / 0.6352 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.18e-05/0.3085, allocations: 15.97 kB / 0.6352 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3085, allocations: 0 / 0.6352 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.3085, allocations: 0 / 0.6352 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3085, allocations: 0 / 0.6352 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.3089, allocations: 185.6 kB / 0.6354 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3089, allocations: 0 / 0.6354 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.3091, allocations: 19.98 kB / 0.6354 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3091, allocations: 3.938 kB / 0.6354 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.3091, allocations: 7.984 kB / 0.6354 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3091, allocations: 4 kB / 0.6354 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3091, allocations: 3.938 kB / 0.6354 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.3097, allocations: 145.6 kB / 0.6356 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.3098, allocations: 88.98 kB / 0.6357 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3098, allocations: 3.984 kB / 0.6357 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-05/0.3099, allocations: 8 kB / 0.6357 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.31, allocations: 7.984 kB / 0.6357 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.3101, allocations: 11.98 kB / 0.6357 GB, free: 312 kB / 478.1 MB Notification: Performance of sorting global known variables: time 4.33e-05/0.3101, allocations: 75.28 kB / 0.6358 GB, free: 236 kB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3101, allocations: 0 / 0.6358 GB, free: 236 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003987/0.3105, allocations: 20 kB / 0.6358 GB, free: 216 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.001366/0.3119, allocations: 0.7061 MB / 0.6365 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005549/0.3125, allocations: 83.92 kB / 0.6365 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3125, allocations: 0 / 0.6365 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.3128, allocations: 47.91 kB / 0.6366 GB, free: 15.35 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.313, allocations: 4 kB / 0.6366 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008591/0.3139, allocations: 206.5 kB / 0.6368 GB, free: 15.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.3144, allocations: 0.6885 MB / 0.6375 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002586/0.3146, allocations: 31.97 kB / 0.6375 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.788e-05/0.3147, allocations: 23.42 kB / 0.6375 GB, free: 14.34 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3148, allocations: 4 kB / 0.6375 GB, free: 14.33 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1204/0.4352, allocations: 2.035 MB / 0.6395 GB, free: 12.38 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.07, allocations: 9.703 kB / 0.6395 GB, free: 12.38 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)