Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_dev_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.00134/0.001339, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001757/0.001757, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.276/2.276, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9339/0.9339, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002898/0.0002898, allocations: 12 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 82.31 MB / 0.5873 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001476/0.1398, allocations: 1.232 MB / 0.5885 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003505/0.1401, allocations: 164.4 kB / 0.5886 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.1402, allocations: 3.938 kB / 0.5886 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.1402, allocations: 7.922 kB / 0.5887 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.44e-05/0.1402, allocations: 3.984 kB / 0.5887 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.1404, allocations: 35.95 kB / 0.5887 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.186e-05/0.1405, allocations: 27.91 kB / 0.5887 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.863e-05/0.1406, allocations: 8 kB / 0.5887 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.648e-05/0.1406, allocations: 15.92 kB / 0.5887 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.624e-05/0.1407, allocations: 11.92 kB / 0.5887 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1407, allocations: 4 kB / 0.5888 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.871e-05/0.1408, allocations: 43.89 kB / 0.5888 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.1408, allocations: 4 kB / 0.5888 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.1408, allocations: 29.64 kB / 0.5888 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.221e-05/0.1409, allocations: 39.91 kB / 0.5889 GB, free: 1.391 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.1409, allocations: 0 / 0.5889 GB, free: 1.391 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1409, allocations: 8 kB / 0.5889 GB, free: 1.383 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.1409, allocations: 0 / 0.5889 GB, free: 1.383 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004038/0.1413, allocations: 353.9 kB / 0.5892 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.1414, allocations: 8.031 kB / 0.5892 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.1414, allocations: 38.56 kB / 0.5893 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.117e-05/0.1414, allocations: 7.906 kB / 0.5893 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1416, allocations: 171 kB / 0.5894 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.1416, allocations: 4 kB / 0.5894 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.1416, allocations: 4 kB / 0.5894 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1418, allocations: 61.67 kB / 0.5895 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.309e-06/0.1418, allocations: 3.938 kB / 0.5895 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.1418, allocations: 4 kB / 0.5895 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1418, allocations: 3.938 kB / 0.5895 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.142, allocations: 55.95 kB / 0.5896 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.1423, allocations: 280.7 kB / 0.5898 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.1426, allocations: 74.53 kB / 0.5899 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.1429, allocations: 174.4 kB / 0.5901 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.1429, allocations: 30.56 kB / 0.5901 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1429, allocations: 0 / 0.5901 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003638/0.1433, allocations: 109.6 kB / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.1433, allocations: 51.41 kB / 0.5902 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.05e-05/0.1434, allocations: 113.8 kB / 0.5904 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1434, allocations: 33.64 kB / 0.5904 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.1435, allocations: 88.14 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.113e-05/0.1435, allocations: 3.906 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.1435, allocations: 0 / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1436, allocations: 310.8 kB / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.923e-05/0.1437, allocations: 27.97 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.818e-05/0.1438, allocations: 27.98 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.775e-05/0.1439, allocations: 27.97 kB / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1439, allocations: 0 / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002113/0.1441, allocations: 89.89 kB / 0.5909 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.1441, allocations: 11.94 kB / 0.5909 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1441, allocations: 3.984 kB / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.1442, allocations: 0 / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.714e-05/0.1442, allocations: 11.98 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.1443, allocations: 4 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.034e-05/0.1443, allocations: 15.94 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1443, allocations: 3.938 kB / 0.591 GB, free: 14.96 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: 2 (rea2Int.y,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.277e-05/0.1444, allocations: 109.8 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.1444, allocations: 4 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.1447, allocations: 97.55 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1447, allocations: 0 / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1447, allocations: 0 / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1447, allocations: 0 / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.1449, allocations: 169.6 kB / 0.5913 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1449, allocations: 3.938 kB / 0.5914 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.138e-05/0.145, allocations: 11.98 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.145, allocations: 4 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.145, allocations: 0 / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.145, allocations: 4 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.145, allocations: 7.922 kB / 0.5914 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1453, allocations: 183.4 kB / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.1453, allocations: 81.11 kB / 0.5916 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.1453, allocations: 4 kB / 0.5916 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.511e-05/0.1454, allocations: 7.984 kB / 0.5916 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.1455, allocations: 11.98 kB / 0.5917 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1455, allocations: 0 / 0.5917 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.015e-05/0.1455, allocations: 91.58 kB / 0.5917 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1455, allocations: 0 / 0.5917 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002364/0.1458, allocations: 19.98 kB / 0.5918 GB, free: 14.06 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: 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 (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.0005711/0.1463, allocations: 0.7396 MB / 0.5925 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.1466, allocations: 59.95 kB / 0.5925 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.1466, allocations: 0 / 0.5925 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.756e-05/0.1467, allocations: 27.97 kB / 0.5926 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.1469, allocations: 8 kB / 0.5926 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.1477, allocations: 462.4 kB / 0.593 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.148, allocations: 0.6809 MB / 0.5937 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.168e-05/0.148, allocations: 3.984 kB / 0.5937 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.148, allocations: 15.44 kB / 0.5937 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.148, allocations: 0 / 0.5937 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.1588, allocations: 1.606 MB / 0.5953 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.159, allocations: 159.5 kB / 0.5954 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/1.647, allocations: 4 kB / 0.5954 GB, free: 10.26 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) Environment - environmentSimulation: