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.0008518/0.0008518, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001061/0.001061, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9636/0.9636, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7427/0.7427, allocations: 154.5 MB / 413.7 MB, free: 0.8203 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 1.784e-06/1.784e-06, allocations: 0 / 0.618 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.346e-05, allocations: 2.281 kB / 0.618 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002114/0.002137, allocations: 1.568 MB / 0.6196 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004196/0.002557, allocations: 179.4 kB / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.002602, allocations: 0 / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.002636, allocations: 3.938 kB / 0.6198 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.022e-05/0.002716, allocations: 3.984 kB / 0.6198 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.003126, allocations: 59.75 kB / 0.6198 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.547e-05/0.003201, allocations: 39.91 kB / 0.6199 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.00331, allocations: 8 kB / 0.6199 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.205e-05/0.003352, allocations: 15.98 kB / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.558e-05/0.003397, allocations: 23.91 kB / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.003415, allocations: 4 kB / 0.6199 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.00352, allocations: 47.94 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.003533, allocations: 7.984 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.003554, allocations: 15.88 kB / 0.62 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.003699, allocations: 75.81 kB / 0.62 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003701, allocations: 0 / 0.62 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003702, allocations: 4 kB / 0.62 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.003706, allocations: 0 / 0.62 GB, free: 11.52 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.0003533/0.004059, allocations: 282.1 kB / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.004099, allocations: 13.47 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.004132, allocations: 34.75 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.004157, allocations: 4.938 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.445e-05/0.004231, allocations: 105.8 kB / 0.6205 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.00425, allocations: 4.375 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.004259, allocations: 4.375 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.004394, allocations: 70.22 kB / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.004402, allocations: 4.125 kB / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.004411, allocations: 384 / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.004416, allocations: 4.125 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.004521, allocations: 43.95 kB / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.004843, allocations: 239.9 kB / 0.6208 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.005046, allocations: 66.47 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.005096, allocations: 24.84 kB / 0.6209 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.005216, allocations: 11.98 kB / 0.6209 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.005234, allocations: 38.56 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.005235, allocations: 0 / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002423/0.005478, allocations: 93.61 kB / 0.621 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.005505, allocations: 51.41 kB / 0.6211 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.338e-05/0.005569, allocations: 121.7 kB / 0.6212 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.00558, allocations: 29.7 kB / 0.6212 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.005616, allocations: 80.14 kB / 0.6213 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.005631, allocations: 12.03 kB / 0.6213 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.005657, allocations: 17.7 kB / 0.6213 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.492e-05/0.005732, allocations: 314.8 kB / 0.6216 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.62e-05/0.005778, allocations: 19.97 kB / 0.6217 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/0.005817, allocations: 15.98 kB / 0.6217 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.646e-05/0.005904, allocations: 52.81 kB / 0.6217 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005906, allocations: 0 / 0.6217 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001172/0.006023, allocations: 85.48 kB / 0.6218 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.006035, allocations: 4 kB / 0.6218 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.00604, allocations: 0 / 0.6218 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.006051, allocations: 0 / 0.6218 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.318e-05/0.006095, allocations: 15.92 kB / 0.6218 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.0061, allocations: 0 / 0.6218 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.006128, allocations: 7.984 kB / 0.6218 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.006132, allocations: 8 kB / 0.6218 GB, free: 9.484 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 6.08e-05/0.006193, allocations: 110.8 kB / 0.622 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.006206, allocations: 7.938 kB / 0.622 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.006361, allocations: 85.59 kB / 0.622 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006362, allocations: 0 / 0.622 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.006369, allocations: 4 kB / 0.622 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.006372, allocations: 0 / 0.622 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.00649, allocations: 148.6 kB / 0.6222 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006491, allocations: 4 kB / 0.6222 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.006522, allocations: 11.98 kB / 0.6222 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.006523, allocations: 3.938 kB / 0.6222 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.006529, allocations: 0 / 0.6222 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.00653, allocations: 0 / 0.6222 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006531, allocations: 0 / 0.6222 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.006665, allocations: 171.5 kB / 0.6224 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.006674, allocations: 7.938 kB / 0.6224 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.006683, allocations: 4 kB / 0.6224 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.814e-05/0.006722, allocations: 4 kB / 0.6224 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.006768, allocations: 12.41 kB / 0.6224 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.006771, allocations: 0 / 0.6224 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.214e-05/0.006803, allocations: 95.56 kB / 0.6225 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006803, allocations: 0 / 0.6225 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001774/0.006981, allocations: 12 kB / 0.6225 GB, free: 8.734 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.0004627/0.007443, allocations: 0.7318 MB / 0.6232 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.007606, allocations: 47.94 kB / 0.6233 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.007608, allocations: 3.938 kB / 0.6233 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.007663, allocations: 27.92 kB / 0.6233 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.007926, allocations: 4 kB / 0.6233 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.009129, allocations: 1.288 MB / 0.6246 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.924e-05/0.009199, allocations: 63.34 kB / 0.6246 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.447e-05/0.009233, allocations: 8 kB / 0.6246 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.009289, allocations: 20.48 kB / 0.6246 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/0.00929, allocations: 0 / 0.6246 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.02578, allocations: 2.618 MB / 0.6272 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/6.934, allocations: 5.875 kB / 0.6272 GB, free: 3.938 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 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.865172537975013] Failed to read output from testmodel.py, exit status != 0: 7.0185046046972275 7.030304784 7.024904462 Calling exit ...