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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7732/0.7732, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 221.3 MB / 400.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008385/0.0008386, allocations: 93.94 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.3e-05/4.302e-05, allocations: 3.312 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1814, allocations: 82.32 MB / 0.6405 GB, free: 7.703 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6093/0.7908, allocations: 111.9 MB / 0.7498 GB, free: 12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.7911, allocations: 71.62 kB / 0.7499 GB, free: 12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00422/0.7953, allocations: 1.346 MB / 0.7512 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7953, allocations: 0 / 0.7512 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.7953, allocations: 4 kB / 0.7512 GB, free: 27.64 MB / 0.5105 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.0004268/0.7958, allocations: 360 kB / 0.7515 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.7958, allocations: 10.48 kB / 0.7515 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.7959, allocations: 34.41 kB / 0.7516 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.7959, allocations: 0 / 0.7516 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.796, allocations: 166.9 kB / 0.7517 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.7961, allocations: 0 / 0.7517 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.7961, allocations: 11.75 kB / 0.7517 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.7962, allocations: 53.98 kB / 0.7518 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.7962, allocations: 3.938 kB / 0.7518 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.7962, allocations: 0 / 0.7518 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.7962, allocations: 0 / 0.7518 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.57e-05/0.7963, allocations: 30.06 kB / 0.7518 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.7967, allocations: 275 kB / 0.7521 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.797, allocations: 55.83 kB / 0.7521 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.797, allocations: 16.33 kB / 0.7521 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000352/0.7974, allocations: 402.8 kB / 0.7525 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.7974, allocations: 30.56 kB / 0.7526 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7974, allocations: 0 / 0.7526 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.000172/0.7976, allocations: 59.95 kB / 0.7526 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.7976, allocations: 59.3 kB / 0.7527 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.409e-05/0.7977, allocations: 103.7 kB / 0.7528 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.7977, allocations: 29.55 kB / 0.7528 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.7978, allocations: 83.95 kB / 0.7529 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.7978, allocations: 3.906 kB / 0.7529 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.7978, allocations: 3.938 kB / 0.7529 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.7979, allocations: 317.7 kB / 0.7532 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.7979, allocations: 11.72 kB / 0.7532 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.525e-05/0.798, allocations: 3.844 kB / 0.7532 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.402e-05/0.798, allocations: 10.81 kB / 0.7532 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.798, allocations: 0 / 0.7532 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.938e-05/0.7981, allocations: 52.34 kB / 0.7533 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.7981, allocations: 11.66 kB / 0.7533 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7981, allocations: 0 / 0.7533 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.7981, allocations: 0 / 0.7533 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/0.7982, allocations: 14.53 kB / 0.7533 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7982, allocations: 3.969 kB / 0.7533 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.863e-05/0.7983, allocations: 15 kB / 0.7533 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.7983, allocations: 0 / 0.7533 GB, free: 25.5 MB / 0.5105 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,bin.k) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.326e-05/0.7984, allocations: 104.8 kB / 0.7534 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.7984, allocations: 3.906 kB / 0.7534 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.7985, allocations: 62.66 kB / 0.7535 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7985, allocations: 0 / 0.7535 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.7986, allocations: 0 / 0.7535 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7986, allocations: 4.562 kB / 0.7535 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.7987, allocations: 174.2 kB / 0.7536 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.7987, allocations: 0 / 0.7536 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.688e-05/0.7988, allocations: 19.58 kB / 0.7537 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7988, allocations: 0 / 0.7537 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.7988, allocations: 0 / 0.7537 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7988, allocations: 0 / 0.7537 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.7988, allocations: 3.844 kB / 0.7537 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.799, allocations: 151.6 kB / 0.7538 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.799, allocations: 83.36 kB / 0.7539 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.799, allocations: 7.938 kB / 0.7539 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.7991, allocations: 13.58 kB / 0.7539 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.7992, allocations: 6.625 kB / 0.7539 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.7992, allocations: 0 / 0.7539 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.7992, allocations: 92.97 kB / 0.754 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.193e-06/0.7992, allocations: 4 kB / 0.754 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002162/0.7995, allocations: 27.28 kB / 0.754 GB, free: 24.81 MB / 0.5105 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 (bin.y,bin.k) * Number of discrete 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 (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.0004562/0.7999, allocations: 0.7023 MB / 0.7547 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.774e-05/0.8, allocations: 22.14 kB / 0.7547 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8, allocations: 0 / 0.7547 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.011e-05/0.8001, allocations: 22.94 kB / 0.7548 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.8002, allocations: 3.328 kB / 0.7548 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.8006, allocations: 110.4 kB / 0.7549 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.8008, allocations: 0.6897 MB / 0.7555 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.409e-05/0.8008, allocations: 6.562 kB / 0.7556 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.8009, allocations: 17.47 kB / 0.7556 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.8009, allocations: 4 kB / 0.7556 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.8121, allocations: 1.556 MB / 0.7571 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/0.8123, allocations: 128.9 kB / 0.7572 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.319, allocations: 0 / 0.7572 GB, free: 22.91 MB / 0.5105 GB (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/linux/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)