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.0007783/0.0007783, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.00085/0.00085, allocations: 217.7 kB / 22.26 MB, free: 3.699 MB / 13.93 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 1.013/1.013, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.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.8067/0.8067, allocations: 203.8 MB / 0.5042 GB, free: 10.79 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009389/0.0009389, allocations: 66.25 kB / 0.7182 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5857/0.5866, allocations: 102 MB / 0.8179 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002039/0.5887, allocations: 1.564 MB / 0.8194 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003672/0.589, allocations: 193.5 kB / 0.8196 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.5891, allocations: 1.062 kB / 0.8196 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.5891, allocations: 0.5625 kB / 0.8196 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.5892, allocations: 5.094 kB / 0.8196 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.5895, allocations: 59.84 kB / 0.8196 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.644e-05/0.5896, allocations: 39.81 kB / 0.8197 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.826e-05/0.5897, allocations: 14.62 kB / 0.8197 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.212e-05/0.5897, allocations: 13.06 kB / 0.8197 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.269e-05/0.5898, allocations: 19.03 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.5898, allocations: 4.031 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.5899, allocations: 60.09 kB / 0.8198 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.5899, allocations: 17.14 kB / 0.8198 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.5899, allocations: 13.47 kB / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.5901, allocations: 68.11 kB / 0.8199 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5901, allocations: 0 / 0.8199 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5901, allocations: 0 / 0.8199 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.5901, allocations: 0 / 0.8199 GB, free: 15.92 MB / 0.6198 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.0004078/0.5905, allocations: 282.1 kB / 0.8201 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.5906, allocations: 9.969 kB / 0.8202 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.5906, allocations: 43.47 kB / 0.8202 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.5906, allocations: 0.9375 kB / 0.8202 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.266e-05/0.5907, allocations: 107.4 kB / 0.8203 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.5907, allocations: 2.344 kB / 0.8203 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.5907, allocations: 1.625 kB / 0.8203 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.5909, allocations: 65.27 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5909, allocations: 6.688 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.5909, allocations: 4.609 kB / 0.8204 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5909, allocations: 0 / 0.8204 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.591, allocations: 43.88 kB / 0.8204 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.5914, allocations: 254 kB / 0.8207 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.5916, allocations: 57.34 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.5917, allocations: 28.61 kB / 0.8207 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.5918, allocations: 19.69 kB / 0.8208 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.5918, allocations: 35.45 kB / 0.8208 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.5918, allocations: 0 / 0.8208 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002616/0.5921, allocations: 90.97 kB / 0.8209 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.5921, allocations: 58.22 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/0.5922, allocations: 118.8 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.5922, allocations: 25.7 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.5922, allocations: 90.47 kB / 0.8212 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.5923, allocations: 7.625 kB / 0.8212 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.5923, allocations: 12.67 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003963/0.5927, allocations: 327.6 kB / 0.8215 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-05/0.5927, allocations: 19.59 kB / 0.8215 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.753e-05/0.5928, allocations: 24.84 kB / 0.8215 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.5929, allocations: 46.69 kB / 0.8216 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5929, allocations: 3.938 kB / 0.8216 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001338/0.593, allocations: 76.59 kB / 0.8217 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.593, allocations: 7 kB / 0.8217 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5931, allocations: 3.938 kB / 0.8217 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.5931, allocations: 4.516 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.139e-05/0.5931, allocations: 11.44 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.5931, allocations: 0.5625 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.88e-05/0.5932, allocations: 6.188 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.5932, allocations: 1.875 kB / 0.8217 GB, free: 14.29 MB / 0.6198 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.904e-05/0.5932, allocations: 117.2 kB / 0.8218 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.5932, allocations: 0.5625 kB / 0.8218 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.5934, allocations: 85.12 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5934, allocations: 0 / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5934, allocations: 3 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5934, allocations: 0 / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.5936, allocations: 140.5 kB / 0.822 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5936, allocations: 0 / 0.822 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.815e-05/0.5936, allocations: 16 kB / 0.822 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5936, allocations: 0 / 0.822 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.5936, allocations: 0 / 0.822 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5936, allocations: 5.469 kB / 0.822 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5936, allocations: 1.812 kB / 0.822 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.5938, allocations: 177.2 kB / 0.8222 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.5938, allocations: 4.25 kB / 0.8222 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.5938, allocations: 0.75 kB / 0.8222 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.5938, allocations: 8.125 kB / 0.8222 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.5939, allocations: 13.89 kB / 0.8222 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.5939, allocations: 6.281 kB / 0.8222 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.265e-05/0.5939, allocations: 88.7 kB / 0.8223 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5939, allocations: 0 / 0.8223 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001762/0.5941, allocations: 20.97 kB / 0.8223 GB, free: 13.7 MB / 0.6198 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.0003941/0.5945, allocations: 0.7283 MB / 0.8231 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.5946, allocations: 46.52 kB / 0.8231 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5946, allocations: 0 / 0.8231 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.215e-05/0.5947, allocations: 27.58 kB / 0.8231 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.5949, allocations: 12.11 kB / 0.8231 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.5959, allocations: 1.294 MB / 0.8244 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.5961, allocations: 0.6823 MB / 0.8251 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.462e-05/0.5961, allocations: 0.6562 kB / 0.8251 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.5961, allocations: 20.77 kB / 0.8251 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5961, allocations: 0 / 0.8251 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.613, allocations: 2.041 MB / 0.8271 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.619/7.232, allocations: 14.14 kB / 0.8271 GB, free: 10.62 MB / 0.6198 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: 10.375259260181338] Failed to read output from testmodel.py, exit status != 0: 7.314969914034009 7.325730587 6.733594668 Calling exit ...