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.001342/0.001342, allocations: 106.4 kB / 18.94 MB, free: 2.938 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.001595/0.001595, allocations: 216.5 kB / 22.25 MB, free: 5.148 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 8.027 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.8532/0.8532, 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.Average,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Average,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Average",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.002048/0.002048, allocations: 69.89 kB / 0.6185 GB, free: 7.238 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1808, allocations: 85.91 MB / 0.7024 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.003157/0.1839, allocations: 1.557 MB / 0.704 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003691/0.1843, allocations: 116.5 kB / 0.7041 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.1843, allocations: 8 kB / 0.7041 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.1845, allocations: 11.92 kB / 0.7041 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.917e-05/0.1845, allocations: 7.875 kB / 0.7041 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.1847, allocations: 23.97 kB / 0.7041 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.1848, allocations: 55.78 kB / 0.7042 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1849, allocations: 24.25 kB / 0.7042 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.948e-05/0.185, allocations: 19.92 kB / 0.7042 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.608e-05/0.1851, allocations: 35.84 kB / 0.7043 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1851, allocations: 4 kB / 0.7043 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.075e-05/0.1852, allocations: 19.98 kB / 0.7043 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.1852, allocations: 11.98 kB / 0.7043 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.1852, allocations: 23.81 kB / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.1854, allocations: 67.72 kB / 0.7044 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1854, allocations: 0 / 0.7044 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.234e-06/0.1854, allocations: 0 / 0.7044 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.1854, allocations: 4 kB / 0.7044 GB, free: 15.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005688/0.186, allocations: 306 kB / 0.7047 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.186, allocations: 12.03 kB / 0.7047 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.1861, allocations: 38.69 kB / 0.7047 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.1861, allocations: 4.891 kB / 0.7047 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.1863, allocations: 126.4 kB / 0.7048 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1863, allocations: 4.375 kB / 0.7048 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.1863, allocations: 8.375 kB / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.1866, allocations: 86.14 kB / 0.7049 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1866, allocations: 3.938 kB / 0.7049 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.1866, allocations: 3.938 kB / 0.7049 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.1866, allocations: 11.94 kB / 0.705 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.1869, allocations: 79.91 kB / 0.705 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005573/0.1875, allocations: 299.7 kB / 0.7053 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.1877, allocations: 58.53 kB / 0.7054 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.1879, allocations: 36.92 kB / 0.7054 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.1879, allocations: 7.984 kB / 0.7054 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.28e-05/0.188, allocations: 30.56 kB / 0.7054 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.188, allocations: 4 kB / 0.7055 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005587/0.1885, allocations: 137.6 kB / 0.7056 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.1886, allocations: 51.41 kB / 0.7056 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1887, allocations: 115.5 kB / 0.7057 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1887, allocations: 25.7 kB / 0.7058 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.1888, allocations: 104.1 kB / 0.7059 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.1888, allocations: 7.891 kB / 0.7059 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.1888, allocations: 13.72 kB / 0.7059 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.189, allocations: 322.8 kB / 0.7062 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1891, allocations: 31.97 kB / 0.7062 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.1893, allocations: 35.95 kB / 0.7063 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.1895, allocations: 77.06 kB / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1895, allocations: 0 / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003259/0.1899, allocations: 117.5 kB / 0.7064 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1899, allocations: 4 kB / 0.7064 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1899, allocations: 0 / 0.7064 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.1899, allocations: 4 kB / 0.7065 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.19, allocations: 15.98 kB / 0.7065 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.19, allocations: 0 / 0.7065 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.052e-05/0.1901, allocations: 15.98 kB / 0.7065 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.1901, allocations: 0 / 0.7065 GB, free: 13.06 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 0.0001133/0.1903, allocations: 125.8 kB / 0.7066 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.1903, allocations: 7.953 kB / 0.7066 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/0.1906, allocations: 109.5 kB / 0.7067 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1906, allocations: 0 / 0.7067 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1907, allocations: 3.938 kB / 0.7067 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1907, allocations: 7.984 kB / 0.7067 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.1909, allocations: 148.7 kB / 0.7069 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1909, allocations: 4 kB / 0.7069 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.503e-05/0.191, allocations: 23.91 kB / 0.7069 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.191, allocations: 0 / 0.7069 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.191, allocations: 0 / 0.7069 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.191, allocations: 0 / 0.7069 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.191, allocations: 0 / 0.7069 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.1914, allocations: 203.4 kB / 0.7071 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.1914, allocations: 7.953 kB / 0.7071 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1914, allocations: 0 / 0.7071 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1915, allocations: 7.984 kB / 0.7071 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.1915, allocations: 11.98 kB / 0.7071 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1915, allocations: 3.938 kB / 0.7071 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.1916, allocations: 91.27 kB / 0.7072 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1916, allocations: 4 kB / 0.7072 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002345/0.1918, allocations: 15.94 kB / 0.7072 GB, free: 12.22 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.0007271/0.1926, allocations: 0.728 MB / 0.7079 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.1929, allocations: 79.84 kB / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1929, allocations: 4 kB / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.1931, allocations: 35.97 kB / 0.708 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.1934, allocations: 4.547 kB / 0.7081 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.1954, allocations: 1.428 MB / 0.7094 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.1957, allocations: 0.6961 MB / 0.7101 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.504e-05/0.1958, allocations: 7.984 kB / 0.7101 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.1958, allocations: 19.48 kB / 0.7102 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1958, allocations: 3.938 kB / 0.7102 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.2252, allocations: 1.95 MB / 0.7121 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.27, allocations: 3.984 kB / 0.7121 GB, free: 7.277 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.856593597913161] Failed to read output from testmodel.py, exit status != 0: 11.371494099032134 11.388748666 11.199953243 Calling exit ...