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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008096/0.0008096, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007855/0.0007855, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8849/0.8849, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7214/0.7214, allocations: 154.5 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.618 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.717e-05, allocations: 2.281 kB / 0.618 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002637/0.002654, allocations: 1.565 MB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004676/0.003122, allocations: 175.5 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.003162, allocations: 0 / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.003193, allocations: 3.938 kB / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.77e-05/0.003241, allocations: 11.88 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.003653, allocations: 51.81 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.429e-05/0.003717, allocations: 35.91 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.742e-05/0.003804, allocations: 11.98 kB / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.597e-05/0.00384, allocations: 23.92 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.694e-05/0.003877, allocations: 15.97 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.003892, allocations: 4 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.802e-05/0.00399, allocations: 43.95 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.004004, allocations: 15.97 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.004022, allocations: 11.94 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.00415, allocations: 71.83 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004152, allocations: 0 / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004153, allocations: 4 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.004157, allocations: 0 / 0.62 GB, free: 11.64 MB / 0.5886 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.0003455/0.004502, allocations: 282.2 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.004538, allocations: 9.469 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.004567, allocations: 38.73 kB / 0.6203 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.004589, allocations: 0.9375 kB / 0.6203 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.317e-05/0.004662, allocations: 117.7 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.00468, allocations: 4.375 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-06/0.00469, allocations: 4.375 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.004821, allocations: 66.22 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.004827, allocations: 192 / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.004836, allocations: 4.375 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.004841, allocations: 4.125 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.004941, allocations: 43.95 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.005225, allocations: 239.8 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.005424, allocations: 62.47 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.005483, allocations: 28.91 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.0056, allocations: 15.98 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.005614, allocations: 30.56 kB / 0.6209 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.564e-06/0.005617, allocations: 3.984 kB / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002251/0.005842, allocations: 97.56 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.005868, allocations: 51.41 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.426e-05/0.005922, allocations: 113.8 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.005932, allocations: 33.7 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.005964, allocations: 84.14 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.005975, allocations: 3.953 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.006002, allocations: 17.7 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.006073, allocations: 322.8 kB / 0.6216 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.006117, allocations: 19.97 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.006155, allocations: 15.98 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.593e-05/0.006241, allocations: 52.81 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.006243, allocations: 3.938 kB / 0.6217 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000111/0.006354, allocations: 81.55 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.006366, allocations: 5.719 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.006369, allocations: 0 / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.006379, allocations: 0 / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.13e-05/0.006421, allocations: 11.98 kB / 0.6218 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.006425, allocations: 0 / 0.6218 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.006452, allocations: 7.984 kB / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.006456, allocations: 4 kB / 0.6218 GB, free: 9.605 MB / 0.5886 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 5.058e-05/0.006507, allocations: 114.8 kB / 0.6219 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.006521, allocations: 7.938 kB / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.006665, allocations: 85.53 kB / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.006666, allocations: 0 / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.00667, allocations: 4 kB / 0.622 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.006672, allocations: 4 kB / 0.622 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.006776, allocations: 144.7 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.006778, allocations: 7.984 kB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.762e-05/0.006806, allocations: 8 kB / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.006807, allocations: 0 / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.006814, allocations: 3.984 kB / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006814, allocations: 0 / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006815, allocations: 0 / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.006948, allocations: 171.4 kB / 0.6224 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.006956, allocations: 7.953 kB / 0.6224 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.006966, allocations: 8.406 kB / 0.6224 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.938e-05/0.007005, allocations: 4 kB / 0.6224 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.007044, allocations: 11.98 kB / 0.6224 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.007047, allocations: 0 / 0.6224 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.007078, allocations: 95.56 kB / 0.6225 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007078, allocations: 0 / 0.6225 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001663/0.007244, allocations: 15.94 kB / 0.6225 GB, free: 8.844 MB / 0.5886 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.0003578/0.007602, allocations: 0.7241 MB / 0.6232 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.00773, allocations: 51.89 kB / 0.6233 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.007731, allocations: 3.938 kB / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/0.007778, allocations: 19.97 kB / 0.6233 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.00796, allocations: 8 kB / 0.6233 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008952/0.008855, allocations: 1.292 MB / 0.6245 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.125e-05/0.008897, allocations: 67.28 kB / 0.6246 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.362e-05/0.00892, allocations: 8 kB / 0.6246 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.008954, allocations: 16.48 kB / 0.6246 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.008955, allocations: 4 kB / 0.6246 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.02402, allocations: 2.608 MB / 0.6272 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.057/7.082, allocations: 6.469 kB / 0.6272 GB, free: 4.055 MB / 0.5886 GB " [Timeout remaining time 653] (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/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.737908724695444] Failed to read output from testmodel.py, exit status != 0: 7.160954974591732 7.170991612 7.165027329 Calling exit ...