Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_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.001467/0.001467, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002398/0.002398, allocations: 191.2 kB / 16.14 MB, free: 6.66 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7334/0.7334, allocations: 132.2 MB / 422.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.53 kB / 0.5012 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3051, allocations: 80.19 MB / 0.5795 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002126/0.3072, allocations: 1.592 MB / 0.581 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003662/0.3076, allocations: 183.3 kB / 0.5812 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.273e-05/0.3076, allocations: 0.875 kB / 0.5812 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.3077, allocations: 4.641 kB / 0.5812 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.317e-05/0.3077, allocations: 5.172 kB / 0.5812 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.3079, allocations: 42.56 kB / 0.5813 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.125e-05/0.308, allocations: 29.8 kB / 0.5813 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.362e-05/0.3081, allocations: 15.64 kB / 0.5813 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.472e-05/0.3081, allocations: 12.31 kB / 0.5813 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.414e-05/0.3081, allocations: 21.78 kB / 0.5813 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.3082, allocations: 1.938 kB / 0.5814 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-05/0.3082, allocations: 47.17 kB / 0.5814 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.3083, allocations: 14.08 kB / 0.5814 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.3083, allocations: 17.72 kB / 0.5814 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.3084, allocations: 57.5 kB / 0.5815 GB, free: 3.211 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3084, allocations: 0 / 0.5815 GB, free: 3.211 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3084, allocations: 0 / 0.5815 GB, free: 3.211 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.3084, allocations: 0 / 0.5815 GB, free: 3.211 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000333/0.3088, allocations: 364.8 kB / 0.5818 GB, free: 2.836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.3088, allocations: 9.594 kB / 0.5818 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.461e-05/0.3088, allocations: 33.44 kB / 0.5819 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/0.3089, allocations: 6.219 kB / 0.5819 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.795e-05/0.3089, allocations: 172.1 kB / 0.582 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.309, allocations: 1.688 kB / 0.582 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.309, allocations: 2.688 kB / 0.582 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.3091, allocations: 62.84 kB / 0.5821 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.3091, allocations: 3.938 kB / 0.5821 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.3092, allocations: 7.938 kB / 0.5821 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.3092, allocations: 1 kB / 0.5821 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.3093, allocations: 48.69 kB / 0.5822 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.3096, allocations: 276.8 kB / 0.5824 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.3099, allocations: 65.05 kB / 0.5825 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.951e-05/0.31, allocations: 26.78 kB / 0.5825 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.3102, allocations: 165.3 kB / 0.5827 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.013e-05/0.3102, allocations: 31.94 kB / 0.5827 GB, free: 1.965 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3102, allocations: 0 / 0.5827 GB, free: 1.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003332/0.3105, allocations: 101.7 kB / 0.5828 GB, free: 1.914 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.319e-05/0.3105, allocations: 52.38 kB / 0.5828 GB, free: 1.852 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.851e-05/0.3106, allocations: 107.4 kB / 0.583 GB, free: 1.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.3106, allocations: 25.7 kB / 0.583 GB, free: 1.719 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.11e-05/0.3106, allocations: 95.28 kB / 0.5831 GB, free: 1.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.3107, allocations: 6.25 kB / 0.5831 GB, free: 1.621 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.3107, allocations: 18.36 kB / 0.5831 GB, free: 1.602 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.132e-05/0.3107, allocations: 326.3 kB / 0.5834 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/0.3108, allocations: 19.52 kB / 0.5834 GB, free: 1.273 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/0.3109, allocations: 21.08 kB / 0.5834 GB, free: 1.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.3111, allocations: 45.56 kB / 0.5835 GB, free: 1.254 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3111, allocations: 0 / 0.5835 GB, free: 1.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001957/0.3113, allocations: 74.53 kB / 0.5836 GB, free: 1.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.3113, allocations: 5.062 kB / 0.5836 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.3113, allocations: 1.156 kB / 0.5836 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.3113, allocations: 0.6094 kB / 0.5836 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.773e-05/0.3114, allocations: 18.73 kB / 0.5836 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3114, allocations: 1.188 kB / 0.5836 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.3115, allocations: 14.52 kB / 0.5836 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.3115, allocations: 5.516 kB / 0.5836 GB, free: 1.195 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: 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 4.164e-05/0.3115, allocations: 117.5 kB / 0.5837 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.3116, allocations: 6.75 kB / 0.5837 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.3118, allocations: 83.73 kB / 0.5838 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3118, allocations: 1.812 kB / 0.5838 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.3118, allocations: 0 / 0.5838 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.3118, allocations: 0 / 0.5838 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.3119, allocations: 170.9 kB / 0.584 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3119, allocations: 0 / 0.584 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.312, allocations: 18.62 kB / 0.584 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.312, allocations: 1.094 kB / 0.584 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.312, allocations: 0.75 kB / 0.584 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.312, allocations: 0.875 kB / 0.584 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.312, allocations: 0.6562 kB / 0.584 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.3123, allocations: 171 kB / 0.5841 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.3123, allocations: 85.72 kB / 0.5842 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.3123, allocations: 1.547 kB / 0.5842 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.3124, allocations: 6.172 kB / 0.5842 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.3124, allocations: 11.08 kB / 0.5842 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.3124, allocations: 0.9688 kB / 0.5842 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.461e-05/0.3125, allocations: 87.67 kB / 0.5843 GB, free: 496 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3125, allocations: 0 / 0.5843 GB, free: 496 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.3127, allocations: 22.88 kB / 0.5844 GB, free: 488 kB / 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: 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.0004372/0.3131, allocations: 0.7297 MB / 0.5851 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.3134, allocations: 41.69 kB / 0.5851 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.3134, allocations: 0 / 0.5851 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3135, allocations: 33.48 kB / 0.5851 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.3137, allocations: 7.469 kB / 0.5851 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.3149, allocations: 1.286 MB / 0.5864 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.3151, allocations: 0.6845 MB / 0.5871 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.004e-05/0.3151, allocations: 3.469 kB / 0.5871 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.3152, allocations: 15.67 kB / 0.5871 GB, free: 13.86 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3152, allocations: 3.938 kB / 0.5871 GB, free: 13.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1526/0.4678, allocations: 1.693 MB / 0.5887 GB, free: 13.59 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.468, allocations: 176.7 kB / 0.5889 GB, free: 13.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/2.177, allocations: 0 / 0.5889 GB, free: 13.34 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)