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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 103.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8812/0.8812, allocations: 133.9 MB / 436.6 MB, free: 13.97 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.89 kB / 0.6051 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4625/0.4645, allocations: 84.68 MB / 0.6878 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.0026/0.4671, allocations: 1.532 MB / 0.6893 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004721/0.4675, allocations: 181.5 kB / 0.6895 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.4676, allocations: 4 kB / 0.6895 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.4676, allocations: 1.375 kB / 0.6895 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.402e-05/0.4677, allocations: 3.938 kB / 0.6895 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.468, allocations: 55.5 kB / 0.6895 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.228e-05/0.4681, allocations: 31.23 kB / 0.6896 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.4682, allocations: 15.91 kB / 0.6896 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3e-05/0.4682, allocations: 12.75 kB / 0.6896 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.456e-05/0.4683, allocations: 24.94 kB / 0.6896 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.4683, allocations: 7.094 kB / 0.6896 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.4684, allocations: 47.77 kB / 0.6897 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.4684, allocations: 16.92 kB / 0.6897 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/0.4684, allocations: 16.5 kB / 0.6897 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.4686, allocations: 59.84 kB / 0.6898 GB, free: 204 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4686, allocations: 0.75 kB / 0.6898 GB, free: 204 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4686, allocations: 0 / 0.6898 GB, free: 204 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.4686, allocations: 1.594 kB / 0.6898 GB, free: 204 kB / 0.4981 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.0005218/0.4691, allocations: 362.2 kB / 0.6901 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4692, allocations: 8.969 kB / 0.6901 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.4692, allocations: 31.78 kB / 0.6901 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.4692, allocations: 11.14 kB / 0.6902 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.4694, allocations: 166.4 kB / 0.6903 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.4694, allocations: 2.562 kB / 0.6903 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.4694, allocations: 2.562 kB / 0.6903 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.4696, allocations: 67.78 kB / 0.6904 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4696, allocations: 3.938 kB / 0.6904 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.046e-06/0.4697, allocations: 0 / 0.6904 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.4697, allocations: 1.5 kB / 0.6904 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.4698, allocations: 48.45 kB / 0.6904 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.4703, allocations: 282.3 kB / 0.6907 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.4706, allocations: 57.17 kB / 0.6908 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.979e-05/0.4707, allocations: 28.08 kB / 0.6908 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/0.4709, allocations: 169.1 kB / 0.6909 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.471, allocations: 31.47 kB / 0.691 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.471, allocations: 0 / 0.691 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004067/0.4714, allocations: 94.97 kB / 0.6911 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.4714, allocations: 56.38 kB / 0.6911 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.959e-05/0.4715, allocations: 110.7 kB / 0.6912 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.4715, allocations: 26.67 kB / 0.6913 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.4716, allocations: 94.5 kB / 0.6913 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.4716, allocations: 3.953 kB / 0.6913 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.4717, allocations: 21.98 kB / 0.6914 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4718, allocations: 316.1 kB / 0.6917 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.4719, allocations: 18.61 kB / 0.6917 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-05/0.472, allocations: 26.44 kB / 0.6917 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.4721, allocations: 47.12 kB / 0.6918 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4721, allocations: 1.219 kB / 0.6918 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002035/0.4723, allocations: 76.58 kB / 0.6918 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4723, allocations: 5.438 kB / 0.6918 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4724, allocations: 3.938 kB / 0.6918 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4724, allocations: 4 kB / 0.6918 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.4724, allocations: 15.8 kB / 0.6919 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.4724, allocations: 1.094 kB / 0.6919 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/0.4725, allocations: 15.27 kB / 0.6919 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.4725, allocations: 1.156 kB / 0.6919 GB, free: 14.04 MB / 0.5137 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 8.853e-05/0.4726, allocations: 112 kB / 0.692 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.4726, allocations: 6.203 kB / 0.692 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.4729, allocations: 88.64 kB / 0.6921 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4729, allocations: 0 / 0.6921 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4729, allocations: 3.938 kB / 0.6921 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4729, allocations: 1.094 kB / 0.6921 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.4731, allocations: 164.6 kB / 0.6922 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4731, allocations: 1.094 kB / 0.6922 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.188e-05/0.4732, allocations: 11.23 kB / 0.6922 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4732, allocations: 1.219 kB / 0.6922 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.4732, allocations: 4 kB / 0.6923 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4732, allocations: 1.25 kB / 0.6923 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4732, allocations: 4 kB / 0.6923 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.4735, allocations: 171.8 kB / 0.6924 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.4735, allocations: 82.19 kB / 0.6925 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.4735, allocations: 0 / 0.6925 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.342e-05/0.4736, allocations: 8.828 kB / 0.6925 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.4737, allocations: 14.23 kB / 0.6925 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.4737, allocations: 1.219 kB / 0.6925 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.164e-05/0.4737, allocations: 85.09 kB / 0.6926 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4737, allocations: 3.938 kB / 0.6926 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002452/0.474, allocations: 18.03 kB / 0.6926 GB, free: 13.27 MB / 0.5137 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.000655/0.4746, allocations: 0.7244 MB / 0.6933 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.4748, allocations: 52.36 kB / 0.6934 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4748, allocations: 1.344 kB / 0.6934 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.444e-05/0.4749, allocations: 25.47 kB / 0.6934 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.4753, allocations: 9.531 kB / 0.6934 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.4769, allocations: 1.303 MB / 0.6947 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.4772, allocations: 0.679 MB / 0.6954 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.423e-05/0.4772, allocations: 3.312 kB / 0.6954 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.4773, allocations: 14.56 kB / 0.6954 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of SimCode: time 6.91e-07/0.4773, allocations: 4 kB / 0.6954 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.5019, allocations: 1.917 MB / 0.6972 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.495, allocations: 15.28 kB / 0.6973 GB, free: 9.512 MB / 0.5137 GB " [Timeout remaining time 651] (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 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.936351881828159] Failed to read output from testmodel.py, exit status != 0: 8.561858118977398 8.57750952 8.105718664 Calling exit ...