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.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.0007902/0.0007902, 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.001293/0.001293, 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.8706/0.8706, 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 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.6908/0.6908, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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.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 2.364e-06/2.364e-06, allocations: 4 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.707e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001712/0.001729, allocations: 1.562 MB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003372/0.002067, allocations: 175.4 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.319e-05/0.0021, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.002126, allocations: 3.938 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.609e-05/0.002162, allocations: 3.984 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.002474, allocations: 63.75 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.011e-05/0.002534, allocations: 31.92 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.588e-05/0.00262, allocations: 11.98 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.404e-05/0.002654, allocations: 19.98 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.575e-05/0.00269, allocations: 15.92 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.002704, allocations: 4 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.713e-05/0.002801, allocations: 51.92 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.002813, allocations: 7.984 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.002832, allocations: 11.94 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.002961, allocations: 75.77 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.002963, allocations: 4 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.032e-06/0.002964, allocations: 4 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.002967, allocations: 0 / 0.6201 GB, free: 11.6 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.0003425/0.003309, allocations: 286.1 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.003347, allocations: 8.031 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.003376, allocations: 30.75 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.163e-05/0.003398, allocations: 4.938 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.855e-05/0.003476, allocations: 109.8 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.003495, allocations: 4.375 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.003505, allocations: 4.375 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.003641, allocations: 70.2 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.003647, allocations: 192 / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.003656, allocations: 384 / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.003661, allocations: 8.062 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.003764, allocations: 43.95 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.004056, allocations: 243.8 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.004261, allocations: 66.41 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.004314, allocations: 28.91 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.004428, allocations: 11.98 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.004447, allocations: 42.53 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.004449, allocations: 0 / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002243/0.004673, allocations: 85.64 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.004699, allocations: 55.41 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.472e-05/0.004754, allocations: 113.8 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.004763, allocations: 25.7 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.004799, allocations: 88.12 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.004813, allocations: 11.89 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.004838, allocations: 13.72 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.00491, allocations: 314.8 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.43e-05/0.004955, allocations: 19.97 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/0.004995, allocations: 19.98 kB / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.503e-05/0.00508, allocations: 48.81 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005082, allocations: 0 / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001099/0.005192, allocations: 81.55 kB / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.005204, allocations: 7.938 kB / 0.6219 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.005212, allocations: 4 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.005222, allocations: 0 / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.19e-05/0.005263, allocations: 15.92 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.005268, allocations: 0 / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.005293, allocations: 11.98 kB / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.005298, allocations: 0 / 0.6219 GB, free: 9.562 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.757e-05/0.005355, allocations: 114.8 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.005377, allocations: 3.938 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.005556, allocations: 89.59 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.005558, allocations: 3.984 kB / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.005562, allocations: 0 / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.005564, allocations: 0 / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.005668, allocations: 144.6 kB / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.005669, allocations: 0 / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.005708, allocations: 11.98 kB / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.005709, allocations: 0 / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.005716, allocations: 0 / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.005718, allocations: 7.938 kB / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005719, allocations: 0 / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.005851, allocations: 171.4 kB / 0.6224 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.005858, allocations: 4.375 kB / 0.6224 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.00587, allocations: 8 kB / 0.6224 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.998e-05/0.00591, allocations: 11.92 kB / 0.6224 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.005951, allocations: 4 kB / 0.6224 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.005954, allocations: 4 kB / 0.6224 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.109e-05/0.005985, allocations: 87.27 kB / 0.6225 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005985, allocations: 0 / 0.6225 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000171/0.006156, allocations: 16 kB / 0.6225 GB, free: 8.816 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.0003929/0.006549, allocations: 0.7432 MB / 0.6233 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.006683, allocations: 39.95 kB / 0.6233 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.006685, allocations: 0 / 0.6233 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.87e-05/0.006734, allocations: 23.98 kB / 0.6233 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.006933, allocations: 15.92 kB / 0.6233 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.008145, allocations: 1.288 MB / 0.6246 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.447e-05/0.00819, allocations: 59.34 kB / 0.6247 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.008217, allocations: 7.984 kB / 0.6247 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.008251, allocations: 16.5 kB / 0.6247 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of SimCode: time 6.22e-07/0.008252, allocations: 0 / 0.6247 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.02373, allocations: 2.613 MB / 0.6272 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.965/6.989, allocations: 14.17 kB / 0.6272 GB, free: 4.023 MB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.720544554293156] Failed to read output from testmodel.py, exit status != 0: 7.066309344954789 7.075463773 7.070783063 Calling exit ...