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.002043/0.002043, allocations: 109.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001488/0.001488, allocations: 219 kB / 22.26 MB, free: 5.125 MB / 14.72 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8485/0.8485, allocations: 134 MB / 446.4 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: 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.00197/0.00197, allocations: 69.33 kB / 0.6185 GB, free: 7.234 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2106, allocations: 85.91 MB / 0.7024 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002994/0.2136, allocations: 1.566 MB / 0.704 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005203/0.2141, allocations: 184.2 kB / 0.7042 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.2142, allocations: 4 kB / 0.7042 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.2142, allocations: 3.938 kB / 0.7042 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.2143, allocations: 3.938 kB / 0.7042 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.2146, allocations: 55.88 kB / 0.7042 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.461e-05/0.2147, allocations: 31.92 kB / 0.7042 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.2148, allocations: 12.27 kB / 0.7043 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.851e-05/0.2148, allocations: 15.94 kB / 0.7043 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.2149, allocations: 19.91 kB / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.2149, allocations: 4 kB / 0.7043 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.215, allocations: 55.94 kB / 0.7044 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.215, allocations: 11.92 kB / 0.7044 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.2151, allocations: 11.94 kB / 0.7044 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.2152, allocations: 75.72 kB / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2152, allocations: 4 kB / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2152, allocations: 0 / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.2152, allocations: 0 / 0.7044 GB, free: 15.34 MB / 0.5294 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.0004968/0.2157, allocations: 290.1 kB / 0.7047 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.2158, allocations: 12.03 kB / 0.7047 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.2158, allocations: 34.75 kB / 0.7048 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.2158, allocations: 0.9375 kB / 0.7048 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2159, allocations: 110.5 kB / 0.7049 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.216, allocations: 4.375 kB / 0.7049 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.216, allocations: 8.375 kB / 0.7049 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.2162, allocations: 62.22 kB / 0.7049 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2162, allocations: 7.875 kB / 0.705 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.2162, allocations: 4 kB / 0.705 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2162, allocations: 0 / 0.705 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.2164, allocations: 43.95 kB / 0.705 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.2168, allocations: 251.9 kB / 0.7052 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.2171, allocations: 58.47 kB / 0.7053 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.924e-05/0.2172, allocations: 24.91 kB / 0.7053 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.2174, allocations: 19.97 kB / 0.7053 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.2174, allocations: 34.56 kB / 0.7054 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.2174, allocations: 0 / 0.7054 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003883/0.2178, allocations: 93.59 kB / 0.7055 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.2179, allocations: 59.39 kB / 0.7055 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.147e-05/0.2179, allocations: 101.9 kB / 0.7056 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.218, allocations: 29.64 kB / 0.7056 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.218, allocations: 92.12 kB / 0.7057 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.218, allocations: 11.89 kB / 0.7057 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.2181, allocations: 17.72 kB / 0.7058 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.2182, allocations: 318.8 kB / 0.7061 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.239e-05/0.2183, allocations: 23.92 kB / 0.7061 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.2184, allocations: 19.98 kB / 0.7061 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.2186, allocations: 44.81 kB / 0.7061 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2186, allocations: 0 / 0.7061 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002128/0.2188, allocations: 81.88 kB / 0.7062 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2188, allocations: 4 kB / 0.7062 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2188, allocations: 0 / 0.7062 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2188, allocations: 4 kB / 0.7062 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.437e-05/0.2189, allocations: 11.97 kB / 0.7062 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2189, allocations: 4 kB / 0.7063 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.219, allocations: 11.98 kB / 0.7063 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.219, allocations: 0 / 0.7063 GB, free: 13.28 MB / 0.5294 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 8.896e-05/0.2191, allocations: 117.8 kB / 0.7064 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.2191, allocations: 4 kB / 0.7064 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.2194, allocations: 77.64 kB / 0.7065 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2194, allocations: 4 kB / 0.7065 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2194, allocations: 4 kB / 0.7065 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2194, allocations: 4 kB / 0.7065 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.2195, allocations: 144.6 kB / 0.7066 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2195, allocations: 0 / 0.7066 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.807e-05/0.2196, allocations: 15.92 kB / 0.7066 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2196, allocations: 0 / 0.7066 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.2196, allocations: 0 / 0.7066 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2196, allocations: 0 / 0.7066 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2196, allocations: 0 / 0.7066 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.2199, allocations: 183.4 kB / 0.7068 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.2199, allocations: 4 kB / 0.7068 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.22, allocations: 0 / 0.7068 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.22, allocations: 7.984 kB / 0.7068 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.2201, allocations: 8 kB / 0.7068 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.2201, allocations: 0 / 0.7068 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.619e-05/0.2202, allocations: 87.27 kB / 0.7069 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2202, allocations: 8 kB / 0.7069 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000249/0.2204, allocations: 12 kB / 0.7069 GB, free: 12.54 MB / 0.5294 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.0006431/0.221, allocations: 0.7278 MB / 0.7076 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.2213, allocations: 47.95 kB / 0.7077 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.2213, allocations: 0 / 0.7077 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.659e-05/0.2214, allocations: 31.84 kB / 0.7077 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.2217, allocations: 8 kB / 0.7077 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.2232, allocations: 1.277 MB / 0.709 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.2236, allocations: 0.6844 MB / 0.7096 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.298e-05/0.2236, allocations: 7.984 kB / 0.7096 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.2236, allocations: 15.44 kB / 0.7096 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.2236, allocations: 0 / 0.7096 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.2527, allocations: 2.057 MB / 0.7117 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.96, allocations: 0 / 0.7117 GB, free: 7.684 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.639544122997904] Failed to read output from testmodel.py, exit status != 0: 11.061407064000377 11.089066401 10.869060097 Calling exit ...