Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.0007796/0.0007796, 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.0008559/0.0008559, 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.9351/0.9351, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7262/0.7262, allocations: 154.6 MB / 413.8 MB, free: 0.7852 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Functions.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.6181 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.597e-05, allocations: 3.844 kB / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001478/0.001504, allocations: 0.6006 MB / 0.6187 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003363/0.00184, allocations: 95.61 kB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.00186, allocations: 0 / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.001894, allocations: 0 / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.075e-06/0.001903, allocations: 8 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.002288, allocations: 47.75 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.002402, allocations: 63.92 kB / 0.6189 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.002441, allocations: 0 / 0.6189 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.866e-05/0.00249, allocations: 35.95 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.584e-05/0.002525, allocations: 19.97 kB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.002542, allocations: 3.938 kB / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.002663, allocations: 51.94 kB / 0.6191 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.585e-05/0.002699, allocations: 19.97 kB / 0.6191 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.002726, allocations: 23.91 kB / 0.6191 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.002871, allocations: 87.8 kB / 0.6192 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.002874, allocations: 4 kB / 0.6192 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.342e-06/0.002875, allocations: 0 / 0.6192 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.00288, allocations: 0 / 0.6192 GB, free: 12.54 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003854/0.003265, allocations: 290.3 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.003305, allocations: 8.031 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.388e-05/0.003339, allocations: 42.73 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.003374, allocations: 12.89 kB / 0.6195 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.098e-05/0.003434, allocations: 109.7 kB / 0.6196 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/0.003692, allocations: 0.5338 MB / 0.6201 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.003704, allocations: 4.375 kB / 0.6201 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.003883, allocations: 85.86 kB / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.003892, allocations: 192 / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.003903, allocations: 4.375 kB / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.003909, allocations: 7.922 kB / 0.6202 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.004104, allocations: 135.7 kB / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.004273, allocations: 136.8 kB / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.004452, allocations: 86.52 kB / 0.6206 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.004529, allocations: 36.84 kB / 0.6206 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.00456, allocations: 11.98 kB / 0.6206 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.004587, allocations: 34.83 kB / 0.6207 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.004588, allocations: 4 kB / 0.6207 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0003726/0.004961, allocations: 153.4 kB / 0.6208 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.005014, allocations: 51.41 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.125e-05/0.005055, allocations: 93.86 kB / 0.621 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.005078, allocations: 29.7 kB / 0.621 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.005103, allocations: 80.14 kB / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/0.005165, allocations: 31.7 kB / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.005211, allocations: 29.7 kB / 0.6211 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.005315, allocations: 318.8 kB / 0.6214 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.982e-05/0.005415, allocations: 31.97 kB / 0.6215 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.731e-05/0.005483, allocations: 35.92 kB / 0.6215 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.005642, allocations: 76.75 kB / 0.6216 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.005646, allocations: 0 / 0.6216 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002099/0.005856, allocations: 116.8 kB / 0.6217 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.00588, allocations: 6.031 kB / 0.6217 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.005889, allocations: 4 kB / 0.6217 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.005909, allocations: 7.875 kB / 0.6217 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.006028, allocations: 19.98 kB / 0.6217 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.006037, allocations: 0 / 0.6217 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.006083, allocations: 23.81 kB / 0.6217 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.006094, allocations: 4 kB / 0.6217 GB, free: 9.613 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.043e-05/0.006174, allocations: 114.8 kB / 0.6218 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.006187, allocations: 7.984 kB / 0.6219 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.006232, allocations: 11.97 kB / 0.6219 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.006236, allocations: 3.938 kB / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.006242, allocations: 0 / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.006245, allocations: 0 / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.006347, allocations: 148.7 kB / 0.622 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.006348, allocations: 0 / 0.622 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-05/0.006411, allocations: 35.97 kB / 0.622 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.006413, allocations: 0 / 0.622 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.00642, allocations: 0 / 0.622 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.006423, allocations: 3.938 kB / 0.622 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.006424, allocations: 3.938 kB / 0.622 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.006627, allocations: 148.9 kB / 0.6222 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.006636, allocations: 7.891 kB / 0.6222 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.006647, allocations: 4 kB / 0.6222 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.763e-05/0.006675, allocations: 15.92 kB / 0.6222 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.006725, allocations: 7.984 kB / 0.6222 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.006731, allocations: 3.984 kB / 0.6222 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.323e-05/0.006755, allocations: 83.28 kB / 0.6223 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.006755, allocations: 0 / 0.6223 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001718/0.006926, allocations: 20 kB / 0.6223 GB, free: 8.93 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004946/0.007421, allocations: 0.6826 MB / 0.623 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.007634, allocations: 87.92 kB / 0.6231 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.007636, allocations: 0 / 0.6231 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/0.00771, allocations: 47.3 kB / 0.6231 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.007866, allocations: 15.94 kB / 0.6231 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.008303, allocations: 198.4 kB / 0.6233 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.105e-05/0.008364, allocations: 71.33 kB / 0.6234 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001618/0.008525, allocations: 35.97 kB / 0.6234 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.008576, allocations: 20.48 kB / 0.6234 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of SimCode: time 9.71e-07/0.008577, allocations: 3.938 kB / 0.6235 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.02585, allocations: 2.648 MB / 0.626 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.751/6.776, allocations: 7.438 kB / 0.626 GB, free: 5.184 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.586211438290775] Failed to read output from testmodel.py, exit status != 0: 6.85713676828891 6.866670537 6.861871295 Calling exit ...