Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_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.0009188/0.0009188, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005943/0.005943, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.306/1.306, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8991/0.8991, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003137, allocations: 12 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 82.31 MB / 0.5881 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.0005907/0.1375, allocations: 307.1 kB / 0.5884 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003829/0.1379, allocations: 103.7 kB / 0.5885 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.219e-05/0.138, allocations: 0 / 0.5885 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.138, allocations: 0 / 0.5885 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.222e-06/0.138, allocations: 0 / 0.5885 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.1383, allocations: 31.91 kB / 0.5885 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.1384, allocations: 59.92 kB / 0.5886 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.1384, allocations: 8 kB / 0.5886 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.491e-05/0.1385, allocations: 23.98 kB / 0.5886 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.1385, allocations: 23.95 kB / 0.5886 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.1386, allocations: 8 kB / 0.5886 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.1387, allocations: 39.91 kB / 0.5887 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.1387, allocations: 23.95 kB / 0.5887 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.1388, allocations: 53.62 kB / 0.5887 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.1389, allocations: 67.83 kB / 0.5888 GB, free: 1.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1389, allocations: 0 / 0.5888 GB, free: 1.789 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1389, allocations: 0 / 0.5888 GB, free: 1.789 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.1389, allocations: 0 / 0.5888 GB, free: 1.789 MB / 494.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.0004247/0.1394, allocations: 355.5 kB / 0.5892 GB, free: 1.391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1394, allocations: 12.03 kB / 0.5892 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.1395, allocations: 42.69 kB / 0.5892 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.1395, allocations: 8.938 kB / 0.5892 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.638e-05/0.1396, allocations: 168.5 kB / 0.5894 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.1398, allocations: 281.6 kB / 0.5896 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.1399, allocations: 4.375 kB / 0.5896 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.1401, allocations: 85.94 kB / 0.5897 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.1401, allocations: 0 / 0.5897 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1401, allocations: 3.984 kB / 0.5897 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1401, allocations: 4 kB / 0.5897 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003407/0.1405, allocations: 135.8 kB / 0.5899 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.1407, allocations: 173.6 kB / 0.59 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.141, allocations: 98.45 kB / 0.5901 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.1412, allocations: 40.84 kB / 0.5902 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.1412, allocations: 8.312 kB / 0.5902 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.1412, allocations: 42.42 kB / 0.5902 GB, free: 124 kB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.1412, allocations: 8 kB / 0.5902 GB, free: 116 kB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005508/0.1418, allocations: 143.5 kB / 0.5904 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.1418, allocations: 55.39 kB / 0.5904 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.928e-05/0.1419, allocations: 97.86 kB / 0.5905 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1419, allocations: 25.7 kB / 0.5905 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.242e-05/0.1419, allocations: 80.14 kB / 0.5906 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.142, allocations: 31.47 kB / 0.5906 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.142, allocations: 21.7 kB / 0.5907 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.1421, allocations: 314.8 kB / 0.591 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1423, allocations: 35.97 kB / 0.591 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.1424, allocations: 35.91 kB / 0.591 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.1427, allocations: 72.81 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1427, allocations: 0 / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003371/0.143, allocations: 117.4 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.1431, allocations: 7.938 kB / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1431, allocations: 3.938 kB / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1431, allocations: 0 / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.1432, allocations: 27.98 kB / 0.5912 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1433, allocations: 3.984 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.485e-05/0.1433, allocations: 7.938 kB / 0.5913 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.1434, allocations: 4 kB / 0.5913 GB, free: 14.99 MB / 0.4981 GB 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 8.23e-05/0.1434, allocations: 117.8 kB / 0.5914 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.1435, allocations: 7.844 kB / 0.5914 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.1435, allocations: 15.91 kB / 0.5914 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1435, allocations: 4 kB / 0.5914 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1435, allocations: 0 / 0.5914 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1435, allocations: 4 kB / 0.5914 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.1437, allocations: 173.6 kB / 0.5916 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1437, allocations: 0 / 0.5916 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.1438, allocations: 31.97 kB / 0.5916 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1438, allocations: 3.938 kB / 0.5916 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1438, allocations: 4 kB / 0.5916 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1438, allocations: 4 kB / 0.5916 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1438, allocations: 0 / 0.5916 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.1442, allocations: 148.8 kB / 0.5917 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.1442, allocations: 84.98 kB / 0.5918 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.1443, allocations: 11.94 kB / 0.5918 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.976e-05/0.1443, allocations: 3.984 kB / 0.5918 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.1444, allocations: 11.98 kB / 0.5919 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1444, allocations: 4 kB / 0.5919 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.28e-05/0.1444, allocations: 80.94 kB / 0.5919 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1444, allocations: 0 / 0.5919 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002294/0.1447, allocations: 19.98 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB 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.0006788/0.1454, allocations: 0.702 MB / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.1457, allocations: 79.94 kB / 0.5927 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1457, allocations: 0 / 0.5927 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.1459, allocations: 55.89 kB / 0.5928 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.146, allocations: 8 kB / 0.5928 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.1465, allocations: 208 kB / 0.593 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.1468, allocations: 0.6848 MB / 0.5936 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.1469, allocations: 39.95 kB / 0.5937 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.147, allocations: 23.42 kB / 0.5937 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.147, allocations: 0 / 0.5937 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2527/0.3997, allocations: 1.78 MB / 0.5954 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/0.4, allocations: 190.6 kB / 0.5956 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.365, allocations: 7.875 kB / 0.5956 GB, free: 10.38 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)