Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Splice.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.001389/0.001389, allocations: 110.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.00155/0.00155, allocations: 221 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.965 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.912/0.912, 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.Splice,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Splice",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.003096/0.003096, allocations: 66.72 kB / 0.6186 GB, free: 7.191 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1875, allocations: 85.9 MB / 0.7024 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.003219/0.1908, allocations: 1.527 MB / 0.7039 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1922, allocations: 0.7525 MB / 0.7047 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.1923, allocations: 4 kB / 0.7047 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.1923, allocations: 3.938 kB / 0.7047 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.762e-05/0.1924, allocations: 3.938 kB / 0.7047 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.1928, allocations: 99.64 kB / 0.7048 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.1929, allocations: 39.86 kB / 0.7048 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1931, allocations: 12.22 kB / 0.7048 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1932, allocations: 23.91 kB / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.1932, allocations: 19.92 kB / 0.7049 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1932, allocations: 7.938 kB / 0.7049 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.1935, allocations: 111.9 kB / 0.705 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.1935, allocations: 7.938 kB / 0.705 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.1935, allocations: 23.86 kB / 0.705 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.1937, allocations: 87.77 kB / 0.7051 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1937, allocations: 0 / 0.7051 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1937, allocations: 0 / 0.7051 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.1937, allocations: 0 / 0.7051 GB, free: 14.64 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.0004854/0.1942, allocations: 297.9 kB / 0.7054 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1942, allocations: 16.03 kB / 0.7054 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.1943, allocations: 34.73 kB / 0.7054 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.1944, allocations: 12.89 kB / 0.7054 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.1947, allocations: 130.3 kB / 0.7056 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1947, allocations: 4.375 kB / 0.7056 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.1947, allocations: 384 / 0.7056 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1949, allocations: 61.78 kB / 0.7056 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1949, allocations: 4 kB / 0.7056 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1949, allocations: 4 kB / 0.7056 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1949, allocations: 0 / 0.7056 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.408e-05/0.195, allocations: 27.98 kB / 0.7057 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.1954, allocations: 251.8 kB / 0.7059 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1955, allocations: 34.56 kB / 0.7059 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.668e-05/0.1955, allocations: 8.922 kB / 0.7059 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/0.1957, allocations: 43.95 kB / 0.706 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.1958, allocations: 34.55 kB / 0.706 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1958, allocations: 0 / 0.706 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002528/0.196, allocations: 61.62 kB / 0.7061 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.1961, allocations: 55.53 kB / 0.7061 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.1962, allocations: 126.1 kB / 0.7062 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1962, allocations: 25.7 kB / 0.7063 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.1963, allocations: 96.09 kB / 0.7064 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.1963, allocations: 7.938 kB / 0.7064 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.1963, allocations: 13.72 kB / 0.7064 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.1965, allocations: 318.8 kB / 0.7067 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.1965, allocations: 7.984 kB / 0.7067 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.1965, allocations: 16 kB / 0.7067 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.653e-05/0.1966, allocations: 24.84 kB / 0.7067 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1966, allocations: 0 / 0.7067 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001268/0.1968, allocations: 57.61 kB / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1968, allocations: 8 kB / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1968, allocations: 0 / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1968, allocations: 0 / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.059e-05/0.1969, allocations: 12.09 kB / 0.7068 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1969, allocations: 3.938 kB / 0.7068 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.517e-05/0.1969, allocations: 7.938 kB / 0.7068 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1969, allocations: 7.922 kB / 0.7068 GB, free: 12.67 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.657e-05/0.197, allocations: 113.8 kB / 0.7069 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.197, allocations: 3.953 kB / 0.7069 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.1972, allocations: 65.23 kB / 0.707 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1972, allocations: 4.031 kB / 0.707 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1972, allocations: 4 kB / 0.707 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1972, allocations: 0 / 0.707 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.1974, allocations: 140.7 kB / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1974, allocations: 0 / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.1974, allocations: 7.938 kB / 0.7072 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1974, allocations: 0 / 0.7072 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1975, allocations: 3.984 kB / 0.7072 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1975, allocations: 0 / 0.7072 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.1975, allocations: 4 kB / 0.7072 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.1976, allocations: 151.4 kB / 0.7073 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.1977, allocations: 11.95 kB / 0.7073 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.1977, allocations: 3.984 kB / 0.7073 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.1978, allocations: 0 / 0.7073 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.1978, allocations: 7.938 kB / 0.7073 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1978, allocations: 0 / 0.7073 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.22e-05/0.1979, allocations: 99.2 kB / 0.7074 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1979, allocations: 4.031 kB / 0.7074 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002356/0.1981, allocations: 12 kB / 0.7074 GB, free: 11.97 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000603/0.1987, allocations: 0.689 MB / 0.7081 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.1988, allocations: 31.95 kB / 0.7081 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1988, allocations: 0 / 0.7081 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.412e-05/0.1989, allocations: 8 kB / 0.7081 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.1991, allocations: 7.984 kB / 0.7082 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.2007, allocations: 1.334 MB / 0.7095 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.2011, allocations: 0.6846 MB / 0.7101 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.705e-05/0.2011, allocations: 4 kB / 0.7101 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.2012, allocations: 15.44 kB / 0.7101 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.2012, allocations: 0 / 0.7101 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.229, allocations: 1.756 MB / 0.7119 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.94, allocations: 4.422 kB / 0.7119 GB, free: 7.441 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.798315289001039] Failed to read output from testmodel.py, exit status != 0: 11.04767672700109 11.063450055 10.866249847 Calling exit ...