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.00126/0.00126, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001403/0.001403, allocations: 209.1 kB / 23.04 MB, free: 5.074 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.8565/0.8565, allocations: 134 MB / 447.2 MB, free: 10.21 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Splice",fmuType="cs",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.002012/0.002012, allocations: 67.61 kB / 0.6193 GB, free: 7.195 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1888, allocations: 85.91 MB / 0.7032 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.003151/0.1919, allocations: 1.522 MB / 0.7047 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1933, allocations: 0.7525 MB / 0.7054 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.352e-05/0.1933, allocations: 0 / 0.7054 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.369e-05/0.1933, allocations: 3.938 kB / 0.7054 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.007e-05/0.1934, allocations: 11.94 kB / 0.7054 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.1938, allocations: 95.64 kB / 0.7055 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.1939, allocations: 39.86 kB / 0.7056 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.961e-05/0.194, allocations: 16.2 kB / 0.7056 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1941, allocations: 15.94 kB / 0.7056 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.1942, allocations: 23.91 kB / 0.7056 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.1942, allocations: 0 / 0.7056 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.1944, allocations: 115.8 kB / 0.7057 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.1944, allocations: 19.91 kB / 0.7058 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.1944, allocations: 19.88 kB / 0.7058 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1946, allocations: 87.77 kB / 0.7059 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1946, allocations: 0 / 0.7059 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1946, allocations: 0 / 0.7059 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.1946, allocations: 0 / 0.7059 GB, free: 14.63 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.000531/0.1952, allocations: 300.5 kB / 0.7061 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1952, allocations: 8.031 kB / 0.7062 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.728e-05/0.1952, allocations: 4.188 kB / 0.7062 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.1953, allocations: 34.75 kB / 0.7062 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.1954, allocations: 20.88 kB / 0.7062 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.1957, allocations: 122.4 kB / 0.7063 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1957, allocations: 8.375 kB / 0.7063 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.1957, allocations: 4.312 kB / 0.7063 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1959, allocations: 57.62 kB / 0.7064 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1959, allocations: 0 / 0.7064 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1959, allocations: 3.984 kB / 0.7064 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1959, allocations: 0 / 0.7064 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.196, allocations: 27.98 kB / 0.7064 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.1964, allocations: 247.8 kB / 0.7067 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.883e-05/0.1965, allocations: 30.58 kB / 0.7067 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.1966, allocations: 16.91 kB / 0.7067 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002698/0.1968, allocations: 39.97 kB / 0.7067 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.1969, allocations: 30.56 kB / 0.7068 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.1969, allocations: 3.938 kB / 0.7068 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002716/0.1971, allocations: 61.61 kB / 0.7068 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.1972, allocations: 59.41 kB / 0.7069 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1973, allocations: 121.2 kB / 0.707 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1973, allocations: 33.81 kB / 0.707 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.1974, allocations: 92.09 kB / 0.7071 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.1974, allocations: 7.953 kB / 0.7071 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.1974, allocations: 13.72 kB / 0.7072 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1976, allocations: 318.8 kB / 0.7075 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-05/0.1976, allocations: 8 kB / 0.7075 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-05/0.1977, allocations: 11.98 kB / 0.7075 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.065e-05/0.1978, allocations: 32.91 kB / 0.7075 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1978, allocations: 4 kB / 0.7075 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001231/0.1979, allocations: 53.62 kB / 0.7076 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1979, allocations: 8 kB / 0.7076 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1979, allocations: 3.984 kB / 0.7076 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1979, allocations: 0 / 0.7076 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.198, allocations: 11.92 kB / 0.7076 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.198, allocations: 0 / 0.7076 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.106e-05/0.1981, allocations: 15.91 kB / 0.7076 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1981, allocations: 0 / 0.7076 GB, free: 12.66 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 0.0001062/0.1982, allocations: 109.8 kB / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.1982, allocations: 7.953 kB / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.1984, allocations: 65.23 kB / 0.7078 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1984, allocations: 0 / 0.7078 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1984, allocations: 0 / 0.7078 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1984, allocations: 3.938 kB / 0.7078 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.1986, allocations: 144.8 kB / 0.7079 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.1986, allocations: 3.984 kB / 0.7079 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.1986, allocations: 4 kB / 0.7079 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1986, allocations: 0 / 0.7079 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.1986, allocations: 0 / 0.7079 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1986, allocations: 4 kB / 0.7079 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1986, allocations: 0 / 0.7079 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.1988, allocations: 159.4 kB / 0.7081 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.1988, allocations: 7.953 kB / 0.7081 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1989, allocations: 0 / 0.7081 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-05/0.1989, allocations: 0 / 0.7081 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.199, allocations: 7.984 kB / 0.7081 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.199, allocations: 3.938 kB / 0.7081 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.342e-05/0.1991, allocations: 103.2 kB / 0.7082 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1991, allocations: 0 / 0.7082 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002491/0.1993, allocations: 15.94 kB / 0.7082 GB, free: 11.96 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.0005987/0.1999, allocations: 0.6851 MB / 0.7089 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.2001, allocations: 23.98 kB / 0.7089 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2001, allocations: 0 / 0.7089 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.047e-05/0.2001, allocations: 24.02 kB / 0.7089 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.2003, allocations: 3.938 kB / 0.7089 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.2018, allocations: 1.326 MB / 0.7102 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.2021, allocations: 0.6807 MB / 0.7109 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.2021, allocations: 12.05 kB / 0.7109 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.2022, allocations: 23.42 kB / 0.7109 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.2022, allocations: 0 / 0.7109 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.2244, allocations: 1.781 MB / 0.7127 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.15, allocations: 5.875 kB / 0.7127 GB, free: 7.414 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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.829791769036092] Failed to read output from testmodel.py, exit status != 0: 11.309701194055378 11.331025274 11.133190316 Calling exit ...