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.001527/0.001527, allocations: 96.27 kB / 15.69 MB, free: 480 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.002184/0.002184, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.434/2.434, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.231/1.231, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007388/0.0007391, allocations: 18.69 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2963, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001148/0.2976, allocations: 303.1 kB / 0.557 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005019/0.2981, allocations: 99.72 kB / 0.5571 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.2982, allocations: 4 kB / 0.5571 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.935e-05/0.2982, allocations: 0 / 0.5571 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.694e-06/0.2982, allocations: 0 / 0.5571 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.2986, allocations: 23.92 kB / 0.5571 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.2988, allocations: 55.86 kB / 0.5572 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.967e-05/0.2989, allocations: 4 kB / 0.5572 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.403e-05/0.299, allocations: 19.98 kB / 0.5572 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.2991, allocations: 23.95 kB / 0.5572 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.2991, allocations: 4 kB / 0.5572 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.2993, allocations: 35.97 kB / 0.5573 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.2994, allocations: 19.97 kB / 0.5573 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.2995, allocations: 33.7 kB / 0.5573 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.2996, allocations: 43.92 kB / 0.5574 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2996, allocations: 3.938 kB / 0.5574 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.163e-06/0.2997, allocations: 0 / 0.5574 GB, free: 11.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2997, allocations: 3.938 kB / 0.5574 GB, free: 11.01 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009306/0.3006, allocations: 351.4 kB / 0.5577 GB, free: 10.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.165e-05/0.3007, allocations: 8.031 kB / 0.5577 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.467e-05/0.3008, allocations: 38.56 kB / 0.5578 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.3009, allocations: 7.906 kB / 0.5578 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.3011, allocations: 171.3 kB / 0.5579 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000444/0.3015, allocations: 281 kB / 0.5582 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.3016, allocations: 4 kB / 0.5582 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.3019, allocations: 84.77 kB / 0.5583 GB, free: 9.922 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.302, allocations: 3.938 kB / 0.5583 GB, free: 9.918 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.302, allocations: 0 / 0.5583 GB, free: 9.918 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.302, allocations: 0 / 0.5583 GB, free: 9.918 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005873/0.3026, allocations: 135.8 kB / 0.5584 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.3029, allocations: 177.6 kB / 0.5586 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.3034, allocations: 108.6 kB / 0.5587 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.3035, allocations: 0 / 0.5587 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.3035, allocations: 34.56 kB / 0.5587 GB, free: 9.406 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/0.3036, allocations: 0 / 0.5587 GB, free: 9.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009018/0.3045, allocations: 153.4 kB / 0.5589 GB, free: 9.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.3045, allocations: 51.41 kB / 0.5589 GB, free: 9.188 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/0.3046, allocations: 94.19 kB / 0.559 GB, free: 9.086 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.3047, allocations: 29.7 kB / 0.559 GB, free: 9.051 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.3047, allocations: 80.33 kB / 0.5591 GB, free: 8.965 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.952e-05/0.3048, allocations: 35.48 kB / 0.5591 GB, free: 8.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/0.3049, allocations: 4 kB / 0.5592 GB, free: 8.926 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002949/0.3052, allocations: 314.8 kB / 0.5595 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.3054, allocations: 31.97 kB / 0.5595 GB, free: 8.578 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.3056, allocations: 27.98 kB / 0.5595 GB, free: 8.551 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.3058, allocations: 31.97 kB / 0.5595 GB, free: 8.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3058, allocations: 4 kB / 0.5595 GB, free: 8.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004961/0.3063, allocations: 128.1 kB / 0.5597 GB, free: 8.387 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.3063, allocations: 4 kB / 0.5597 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3064, allocations: 0 / 0.5597 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3064, allocations: 0 / 0.5597 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.3066, allocations: 31.92 kB / 0.5597 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.3067, allocations: 0 / 0.5597 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.646e-05/0.3068, allocations: 11.94 kB / 0.5597 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.3068, allocations: 7.984 kB / 0.5597 GB, free: 8.332 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.307, allocations: 121.8 kB / 0.5598 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.307, allocations: 3.906 kB / 0.5598 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.815e-05/0.3071, allocations: 7.969 kB / 0.5598 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.3071, allocations: 8 kB / 0.5599 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.3071, allocations: 3.953 kB / 0.5599 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.3072, allocations: 3.984 kB / 0.5599 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.3074, allocations: 177.6 kB / 0.56 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3074, allocations: 4 kB / 0.56 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.3076, allocations: 19.98 kB / 0.5601 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3076, allocations: 4 kB / 0.5601 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.3077, allocations: 7.984 kB / 0.5601 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3077, allocations: 0 / 0.5601 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3077, allocations: 0 / 0.5601 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005679/0.3083, allocations: 144.9 kB / 0.5602 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/0.3084, allocations: 88.94 kB / 0.5603 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.3084, allocations: 4 kB / 0.5603 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.3085, allocations: 0 / 0.5603 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/0.3086, allocations: 27.91 kB / 0.5603 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3086, allocations: 0 / 0.5603 GB, free: 7.621 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.233e-05/0.3087, allocations: 75.28 kB / 0.5604 GB, free: 7.547 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3087, allocations: 4 kB / 0.5604 GB, free: 7.543 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004441/0.3092, allocations: 23.95 kB / 0.5604 GB, free: 7.52 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/0.3103, allocations: 0.695 MB / 0.5611 GB, free: 6.797 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004674/0.3108, allocations: 85.25 kB / 0.5612 GB, free: 6.715 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3108, allocations: 0 / 0.5612 GB, free: 6.715 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.311, allocations: 43.91 kB / 0.5612 GB, free: 6.672 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.3112, allocations: 8 kB / 0.5612 GB, free: 6.664 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007784/0.312, allocations: 205.3 kB / 0.5614 GB, free: 6.426 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.3124, allocations: 0.6848 MB / 0.5621 GB, free: 5.715 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002384/0.3126, allocations: 39.95 kB / 0.5621 GB, free: 5.676 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.248e-05/0.3127, allocations: 23.42 kB / 0.5622 GB, free: 5.652 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3127, allocations: 0 / 0.5622 GB, free: 5.652 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/0.4241, allocations: 1.743 MB / 0.5639 GB, free: 4.035 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003936/0.4246, allocations: 185.9 kB / 0.564 GB, free: 3.793 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.148/3.573, allocations: 0 / 0.564 GB, free: 3.793 MB / 430.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/linux/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) Environment - environmentSimulation: