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.001044/0.001044, allocations: 102.6 kB / 16.27 MB, free: 5.934 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.001134/0.001134, allocations: 185.1 kB / 17.19 MB, free: 5.574 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.283/1.283, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7587/0.7587, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 64.09 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3217, allocations: 77.92 MB / 0.5673 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001561/0.3233, allocations: 0.583 MB / 0.5679 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003027/0.3236, allocations: 101.3 kB / 0.568 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.941e-05/0.3236, allocations: 0.6875 kB / 0.568 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.3237, allocations: 1.125 kB / 0.568 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.699e-06/0.3237, allocations: 1.312 kB / 0.568 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.324, allocations: 39.06 kB / 0.568 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.3241, allocations: 63.97 kB / 0.5681 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.3241, allocations: 4.484 kB / 0.5681 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.943e-05/0.3242, allocations: 21.66 kB / 0.5681 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.3242, allocations: 28.44 kB / 0.5681 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.3242, allocations: 2.188 kB / 0.5681 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.3243, allocations: 40.73 kB / 0.5681 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.616e-05/0.3244, allocations: 22.48 kB / 0.5682 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.3244, allocations: 27.67 kB / 0.5682 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.3246, allocations: 68.39 kB / 0.5683 GB, free: 32.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3246, allocations: 1 kB / 0.5683 GB, free: 32.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3246, allocations: 0 / 0.5683 GB, free: 32.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.3246, allocations: 1 kB / 0.5683 GB, free: 32.03 MB / 446.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.0003757/0.325, allocations: 376.6 kB / 0.5686 GB, free: 31.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.325, allocations: 10.25 kB / 0.5686 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.934e-05/0.325, allocations: 43.61 kB / 0.5687 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.3251, allocations: 10.56 kB / 0.5687 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.315e-05/0.3251, allocations: 165.4 kB / 0.5688 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.3253, allocations: 279.7 kB / 0.5691 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.3253, allocations: 9.406 kB / 0.5691 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.3255, allocations: 80.69 kB / 0.5692 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.3256, allocations: 0.6562 kB / 0.5692 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3256, allocations: 4 kB / 0.5692 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3256, allocations: 4.156 kB / 0.5692 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.3259, allocations: 131.9 kB / 0.5693 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.326, allocations: 180 kB / 0.5695 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.3263, allocations: 99.94 kB / 0.5696 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.3264, allocations: 41.25 kB / 0.5696 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.3265, allocations: 6.844 kB / 0.5696 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.3265, allocations: 36.2 kB / 0.5697 GB, free: 30.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.3265, allocations: 1.562 kB / 0.5697 GB, free: 30.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004754/0.327, allocations: 158.8 kB / 0.5698 GB, free: 30.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.327, allocations: 53.55 kB / 0.5699 GB, free: 30.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.572e-05/0.327, allocations: 90.55 kB / 0.57 GB, free: 30.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.327, allocations: 27.39 kB / 0.57 GB, free: 30.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.837e-06/0.327, allocations: 80.14 kB / 0.5701 GB, free: 30.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.3271, allocations: 36.25 kB / 0.5701 GB, free: 30.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.3271, allocations: 32 kB / 0.5701 GB, free: 30.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.747e-05/0.3272, allocations: 314.4 kB / 0.5704 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3273, allocations: 34 kB / 0.5705 GB, free: 30.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.3274, allocations: 34.62 kB / 0.5705 GB, free: 30 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.3277, allocations: 75.12 kB / 0.5706 GB, free: 29.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3277, allocations: 0 / 0.5706 GB, free: 29.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002928/0.328, allocations: 113.3 kB / 0.5707 GB, free: 29.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.328, allocations: 10.25 kB / 0.5707 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.328, allocations: 0.75 kB / 0.5707 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.328, allocations: 1.719 kB / 0.5707 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.3282, allocations: 27.03 kB / 0.5707 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3282, allocations: 2.062 kB / 0.5707 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/0.3282, allocations: 4.766 kB / 0.5707 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.3283, allocations: 9.641 kB / 0.5707 GB, free: 29.91 MB / 446.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 5.446e-05/0.3283, allocations: 121.5 kB / 0.5708 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.3284, allocations: 11.39 kB / 0.5709 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.3284, allocations: 7.969 kB / 0.5709 GB, free: 29.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3284, allocations: 2.453 kB / 0.5709 GB, free: 29.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3284, allocations: 0 / 0.5709 GB, free: 29.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3284, allocations: 2.703 kB / 0.5709 GB, free: 29.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.412e-05/0.3285, allocations: 178.9 kB / 0.571 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3285, allocations: 2.641 kB / 0.571 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.3286, allocations: 22.86 kB / 0.5711 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3286, allocations: 9.031 kB / 0.5711 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3286, allocations: 8.812 kB / 0.5711 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3287, allocations: 1.156 kB / 0.5711 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3287, allocations: 4.547 kB / 0.5711 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.329, allocations: 151 kB / 0.5712 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.329, allocations: 88.42 kB / 0.5713 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.329, allocations: 4.641 kB / 0.5713 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-05/0.3291, allocations: 5.453 kB / 0.5713 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.3291, allocations: 17.41 kB / 0.5713 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.3291, allocations: 4.375 kB / 0.5713 GB, free: 29.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.041e-05/0.3292, allocations: 75.28 kB / 0.5714 GB, free: 29.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3292, allocations: 1 kB / 0.5714 GB, free: 29.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002063/0.3294, allocations: 21.23 kB / 0.5714 GB, free: 29.28 MB / 446.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.0005115/0.3299, allocations: 0.7018 MB / 0.5721 GB, free: 28.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.3302, allocations: 94.59 kB / 0.5722 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3302, allocations: 1.688 kB / 0.5722 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.3304, allocations: 51.41 kB / 0.5723 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.3305, allocations: 1.781 kB / 0.5723 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.3309, allocations: 199.8 kB / 0.5725 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.133e-05/0.331, allocations: 0.6844 MB / 0.5731 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.3312, allocations: 37.59 kB / 0.5732 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.3312, allocations: 22.09 kB / 0.5732 GB, free: 27.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3312, allocations: 0 / 0.5732 GB, free: 27.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4589/0.7901, allocations: 1.983 MB / 0.5751 GB, free: 27.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.691/8.481, allocations: 5.531 kB / 0.5751 GB, free: 27.41 MB / 446.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)