Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_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.001032/0.001032, allocations: 105.4 kB / 15.7 MB, free: 24 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.001157/0.001157, allocations: 197.2 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 75.84 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2876, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003006/0.2906, allocations: 1.521 MB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004969/0.2911, allocations: 172.3 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.2912, allocations: 4 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.489e-05/0.2912, allocations: 11.88 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.787e-05/0.2913, allocations: 3.938 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.2917, allocations: 55.88 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.843e-05/0.2918, allocations: 27.92 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2919, allocations: 15.98 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.2919, allocations: 15.88 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/0.292, allocations: 27.91 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.292, allocations: 0 / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.2921, allocations: 55.95 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.2922, allocations: 8 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.2922, allocations: 19.91 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.2923, allocations: 59.78 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2924, allocations: 0 / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2924, allocations: 0 / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2924, allocations: 0 / 0.7856 GB, free: 11.23 MB / 0.6075 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.0005343/0.2929, allocations: 355.7 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.293, allocations: 12.03 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.293, allocations: 38.73 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.293, allocations: 4.844 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.2932, allocations: 172.3 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.2932, allocations: 384 / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.2932, allocations: 8.359 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.2934, allocations: 62.22 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2934, allocations: 3.938 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.2935, allocations: 0 / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2935, allocations: 7.938 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.2937, allocations: 51.94 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.2941, allocations: 280.6 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.2944, allocations: 58.53 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.443e-05/0.2945, allocations: 28.91 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002361/0.2948, allocations: 170.2 kB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.2948, allocations: 30.56 kB / 0.7868 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.564e-06/0.2948, allocations: 0 / 0.7868 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000377/0.2952, allocations: 93.58 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/0.2952, allocations: 63.39 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.866e-05/0.2953, allocations: 105.9 kB / 0.7871 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.2953, allocations: 29.7 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.2954, allocations: 88.03 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.2954, allocations: 4 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.2955, allocations: 17.72 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.2956, allocations: 322.8 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.2957, allocations: 19.98 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.857e-05/0.2958, allocations: 23.97 kB / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.2959, allocations: 48.77 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2959, allocations: 0 / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002069/0.2962, allocations: 81.55 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2962, allocations: 4 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2962, allocations: 7.938 kB / 0.7877 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2962, allocations: 4 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.661e-05/0.2963, allocations: 11.98 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2963, allocations: 0 / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.151e-05/0.2964, allocations: 4 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.2964, allocations: 4 kB / 0.7877 GB, free: 8.785 MB / 0.6075 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 7.779e-05/0.2965, allocations: 114.4 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.2965, allocations: 4 kB / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.2968, allocations: 93.72 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2968, allocations: 4 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2968, allocations: 0 / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2968, allocations: 4.031 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.297, allocations: 173.5 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.297, allocations: 0 / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-05/0.2971, allocations: 11.98 kB / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2971, allocations: 0 / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.2971, allocations: 0 / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2971, allocations: 4 kB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2971, allocations: 0 / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.2974, allocations: 175.4 kB / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.2975, allocations: 85.05 kB / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.2975, allocations: 0 / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.2976, allocations: 7.984 kB / 0.7883 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.2976, allocations: 8 kB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.2976, allocations: 4 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.2977, allocations: 87.27 kB / 0.7884 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2977, allocations: 0 / 0.7884 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002524/0.298, allocations: 23.91 kB / 0.7885 GB, free: 7.895 MB / 0.6075 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.0006751/0.2986, allocations: 0.7241 MB / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.2989, allocations: 43.95 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2989, allocations: 4 kB / 0.7892 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.231e-05/0.299, allocations: 19.98 kB / 0.7892 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.2994, allocations: 7.984 kB / 0.7892 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.301, allocations: 1.296 MB / 0.7905 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.3014, allocations: 0.6806 MB / 0.7912 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.95e-05/0.3015, allocations: 4.125 kB / 0.7912 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.3015, allocations: 23.42 kB / 0.7912 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.3015, allocations: 0 / 0.7912 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.3218, allocations: 1.913 MB / 0.7931 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.13/7.452, allocations: 10.34 kB / 0.7931 GB, free: 3.105 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)