Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.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.001602/0.001602, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001577/0.001577, allocations: 219 kB / 23.03 MB, free: 4.945 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.8641/0.8641, allocations: 134 MB / 447.2 MB, free: 9.949 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.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",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.00198/0.00198, allocations: 63.47 kB / 0.6192 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1844, allocations: 85.9 MB / 0.7031 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003517/0.1879, allocations: 1.601 MB / 0.7047 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1893, allocations: 0.5658 MB / 0.7052 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1894, allocations: 7.938 kB / 0.7053 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.1895, allocations: 7.875 kB / 0.7053 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.649e-05/0.1896, allocations: 23.78 kB / 0.7053 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.19, allocations: 59.88 kB / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1901, allocations: 91.69 kB / 0.7054 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.1903, allocations: 36.2 kB / 0.7055 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1905, allocations: 47.77 kB / 0.7055 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.741e-05/0.1906, allocations: 43.78 kB / 0.7056 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.1906, allocations: 12 kB / 0.7056 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.829e-05/0.1907, allocations: 19.98 kB / 0.7056 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.1907, allocations: 19.92 kB / 0.7056 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.1908, allocations: 27.81 kB / 0.7056 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1909, allocations: 99.61 kB / 0.7057 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1909, allocations: 0 / 0.7057 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1909, allocations: 0 / 0.7057 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.191, allocations: 0 / 0.7057 GB, free: 14.41 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005802/0.1915, allocations: 341.7 kB / 0.706 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1916, allocations: 12.03 kB / 0.7061 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.44e-05/0.1916, allocations: 4.188 kB / 0.7061 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.1916, allocations: 38.75 kB / 0.7061 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003032/0.1919, allocations: 32.86 kB / 0.7061 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.1922, allocations: 151.6 kB / 0.7063 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1922, allocations: 12.12 kB / 0.7063 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.1922, allocations: 4 kB / 0.7063 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.1925, allocations: 109.6 kB / 0.7064 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1925, allocations: 0 / 0.7064 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1925, allocations: 0 / 0.7064 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1925, allocations: 4 kB / 0.7064 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.1928, allocations: 99.86 kB / 0.7065 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006077/0.1934, allocations: 331.7 kB / 0.7068 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1935, allocations: 62.48 kB / 0.7069 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.1937, allocations: 48.95 kB / 0.7069 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.1937, allocations: 3.984 kB / 0.7069 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1937, allocations: 34.56 kB / 0.707 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.1937, allocations: 0 / 0.707 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0004913/0.1942, allocations: 165.5 kB / 0.7071 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.1943, allocations: 55.34 kB / 0.7072 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1944, allocations: 143.5 kB / 0.7073 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1944, allocations: 33.58 kB / 0.7073 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.1945, allocations: 112.2 kB / 0.7074 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.1945, allocations: 15.86 kB / 0.7075 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.1946, allocations: 25.7 kB / 0.7075 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1947, allocations: 314.8 kB / 0.7078 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1948, allocations: 39.97 kB / 0.7078 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.1949, allocations: 43.95 kB / 0.7079 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.1952, allocations: 93.19 kB / 0.708 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1952, allocations: 0 / 0.708 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002947/0.1954, allocations: 133.5 kB / 0.7081 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1955, allocations: 4 kB / 0.7081 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1955, allocations: 0 / 0.7081 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1955, allocations: 0 / 0.7081 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1956, allocations: 19.98 kB / 0.7081 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1956, allocations: 4 kB / 0.7081 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.791e-05/0.1957, allocations: 11.92 kB / 0.7081 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.1957, allocations: 4 kB / 0.7081 GB, free: 11.76 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 (6): * Single equations (assignments): 6 * 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.743e-05/0.1958, allocations: 121.8 kB / 0.7082 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.1959, allocations: 11.89 kB / 0.7082 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.1962, allocations: 146.2 kB / 0.7084 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1962, allocations: 3.984 kB / 0.7084 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1962, allocations: 4 kB / 0.7084 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1962, allocations: 0 / 0.7084 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.1965, allocations: 176.7 kB / 0.7086 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1965, allocations: 3.938 kB / 0.7086 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1966, allocations: 15.98 kB / 0.7086 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.1966, allocations: 3.984 kB / 0.7086 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1966, allocations: 0 / 0.7086 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1966, allocations: 4 kB / 0.7086 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1966, allocations: 0 / 0.7086 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.1969, allocations: 227.5 kB / 0.7088 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.1969, allocations: 15.89 kB / 0.7088 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.197, allocations: 0 / 0.7088 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1971, allocations: 11.98 kB / 0.7088 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.1971, allocations: 0 / 0.7088 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.1971, allocations: 7.984 kB / 0.7088 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.154e-05/0.1972, allocations: 110 kB / 0.7089 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1972, allocations: 0 / 0.7089 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002615/0.1975, allocations: 23.89 kB / 0.709 GB, free: 10.82 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 (6): * Single equations (assignments): 6 * 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.000678/0.1982, allocations: 0.767 MB / 0.7097 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002896/0.1984, allocations: 99.81 kB / 0.7098 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1984, allocations: 0 / 0.7098 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.1986, allocations: 47.97 kB / 0.7099 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.1988, allocations: 4 kB / 0.7099 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.2008, allocations: 1.632 MB / 0.7115 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.667e-05/0.2009, allocations: 84.19 kB / 0.7115 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.989e-05/0.201, allocations: 23.72 kB / 0.7116 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.201, allocations: 31.42 kB / 0.7116 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.201, allocations: 0 / 0.7116 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.2239, allocations: 2.272 MB / 0.7138 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.62, allocations: 11.14 kB / 0.7138 GB, free: 5.879 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.371710840961896] Failed to read output from testmodel.py, exit status != 0: 11.77852167491801 11.801306629 11.606148841 Calling exit ...