Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Average.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.001263/0.001263, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001593/0.001593, allocations: 221.6 kB / 23.05 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.992 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.8347/0.8347, allocations: 134 MB / 447.2 MB, free: 10.17 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.Average,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Average",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Average,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Average",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.001999/0.001999, allocations: 66.11 kB / 0.6193 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1848, allocations: 85.91 MB / 0.7032 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002872/0.1877, allocations: 1.569 MB / 0.7047 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003651/0.1881, allocations: 116.5 kB / 0.7049 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.1881, allocations: 0 / 0.7049 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.1883, allocations: 7.938 kB / 0.7049 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.857e-05/0.1883, allocations: 7.875 kB / 0.7049 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.1885, allocations: 31.95 kB / 0.7049 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.1886, allocations: 55.78 kB / 0.705 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1887, allocations: 20.27 kB / 0.705 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.037e-05/0.1888, allocations: 27.91 kB / 0.705 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.1889, allocations: 27.91 kB / 0.705 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1889, allocations: 7.938 kB / 0.705 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.32e-05/0.1889, allocations: 12 kB / 0.705 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.189, allocations: 15.98 kB / 0.7051 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.189, allocations: 23.86 kB / 0.7051 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.1892, allocations: 63.67 kB / 0.7051 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1892, allocations: 0 / 0.7051 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1892, allocations: 0 / 0.7051 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1892, allocations: 4 kB / 0.7051 GB, free: 15.38 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00054/0.1897, allocations: 314 kB / 0.7054 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1898, allocations: 8.031 kB / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.209e-05/0.1898, allocations: 192 / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.1898, allocations: 38.69 kB / 0.7055 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.1899, allocations: 8.891 kB / 0.7055 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.19, allocations: 122.4 kB / 0.7056 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.711e-06/0.19, allocations: 8.375 kB / 0.7056 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.19, allocations: 8.375 kB / 0.7056 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.1903, allocations: 89.94 kB / 0.7057 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.1903, allocations: 0 / 0.7057 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.1903, allocations: 0 / 0.7057 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.1903, allocations: 7.938 kB / 0.7057 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.1907, allocations: 87.86 kB / 0.7058 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.1912, allocations: 291.9 kB / 0.7061 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.1914, allocations: 58.47 kB / 0.7061 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.1915, allocations: 48.84 kB / 0.7062 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.1916, allocations: 4 kB / 0.7062 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1916, allocations: 30.56 kB / 0.7062 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1916, allocations: 0 / 0.7062 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000557/0.1922, allocations: 141.5 kB / 0.7064 GB, free: 14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.1922, allocations: 51.41 kB / 0.7064 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1923, allocations: 113.8 kB / 0.7065 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1923, allocations: 25.7 kB / 0.7065 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.1924, allocations: 100.1 kB / 0.7066 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.1924, allocations: 11.88 kB / 0.7066 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.1924, allocations: 13.72 kB / 0.7067 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1926, allocations: 326.8 kB / 0.707 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.1927, allocations: 31.97 kB / 0.707 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.1929, allocations: 39.95 kB / 0.707 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.1932, allocations: 72.78 kB / 0.7071 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1932, allocations: 0 / 0.7071 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003444/0.1935, allocations: 113.8 kB / 0.7072 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1935, allocations: 4 kB / 0.7072 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1935, allocations: 0 / 0.7072 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1935, allocations: 0 / 0.7072 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.1937, allocations: 19.98 kB / 0.7072 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1937, allocations: 0 / 0.7072 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.311e-05/0.1938, allocations: 15.97 kB / 0.7073 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.1938, allocations: 7.922 kB / 0.7073 GB, free: 13.02 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 (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 9.524e-05/0.1939, allocations: 113.8 kB / 0.7074 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.1939, allocations: 7.953 kB / 0.7074 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004658/0.1944, allocations: 117.5 kB / 0.7075 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1944, allocations: 0 / 0.7075 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1944, allocations: 4 kB / 0.7075 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1944, allocations: 0 / 0.7075 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.1946, allocations: 152.7 kB / 0.7076 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1946, allocations: 0 / 0.7076 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.1947, allocations: 19.92 kB / 0.7077 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1947, allocations: 0 / 0.7077 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.1947, allocations: 4 kB / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1947, allocations: 0 / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1947, allocations: 0 / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.1951, allocations: 199.4 kB / 0.7079 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.1951, allocations: 7.953 kB / 0.7079 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1952, allocations: 11.94 kB / 0.7079 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1953, allocations: 15.97 kB / 0.7079 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.1953, allocations: 4 kB / 0.7079 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.1953, allocations: 0 / 0.7079 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.254e-05/0.1954, allocations: 103 kB / 0.708 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1954, allocations: 0 / 0.708 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002304/0.1956, allocations: 12 kB / 0.708 GB, free: 12.18 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 (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.0008344/0.1965, allocations: 0.728 MB / 0.7087 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003821/0.1968, allocations: 79.91 kB / 0.7088 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1968, allocations: 3.938 kB / 0.7088 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.197, allocations: 43.95 kB / 0.7088 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1973, allocations: 0 / 0.7088 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.1994, allocations: 1.428 MB / 0.7102 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.1997, allocations: 0.6922 MB / 0.7109 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.269e-05/0.1997, allocations: 4 kB / 0.7109 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.1998, allocations: 27.42 kB / 0.7109 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.1998, allocations: 0 / 0.7109 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.2226, allocations: 1.971 MB / 0.7129 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.32, allocations: 8 kB / 0.7129 GB, free: 7.223 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Average.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.985255758976564] Failed to read output from testmodel.py, exit status != 0: 11.47674490395002 11.502609721 11.308813146 Calling exit ...