Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.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.001329/0.001329, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001516/0.001516, allocations: 217.4 kB / 23.03 MB, free: 4.922 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.8695/0.8695, allocations: 134 MB / 447.2 MB, free: 9.93 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.ExponentialIntegralE1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1",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.001891/0.001891, allocations: 74.03 kB / 0.6192 GB, free: 6.883 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1868, allocations: 85.91 MB / 0.7032 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003134/0.1899, allocations: 1.444 MB / 0.7046 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004677/0.1904, allocations: 152.3 kB / 0.7047 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.1904, allocations: 4 kB / 0.7047 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.1904, allocations: 0 / 0.7047 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/0.1905, allocations: 3.938 kB / 0.7047 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.1909, allocations: 35.89 kB / 0.7047 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.127e-05/0.191, allocations: 27.92 kB / 0.7048 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1911, allocations: 4 kB / 0.7048 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.783e-05/0.1911, allocations: 11.94 kB / 0.7048 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.856e-05/0.1911, allocations: 11.98 kB / 0.7048 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1911, allocations: 0 / 0.7048 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.1913, allocations: 47.88 kB / 0.7048 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.1913, allocations: 7.938 kB / 0.7049 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.1913, allocations: 8 kB / 0.7049 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.1915, allocations: 52.08 kB / 0.7049 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1915, allocations: 0 / 0.7049 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1915, allocations: 0 / 0.7049 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1915, allocations: 0 / 0.7049 GB, free: 15.25 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005254/0.192, allocations: 274.2 kB / 0.7052 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1921, allocations: 8.031 kB / 0.7052 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.064e-05/0.1921, allocations: 192 / 0.7052 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.1922, allocations: 34.75 kB / 0.7052 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.1922, allocations: 0.9375 kB / 0.7052 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.1923, allocations: 110.4 kB / 0.7053 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1924, allocations: 8.359 kB / 0.7053 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.1924, allocations: 384 / 0.7053 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.1926, allocations: 53.98 kB / 0.7054 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1926, allocations: 0 / 0.7054 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.1926, allocations: 0 / 0.7054 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1926, allocations: 4 kB / 0.7054 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.1928, allocations: 39.89 kB / 0.7054 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.1931, allocations: 220 kB / 0.7056 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1933, allocations: 30.56 kB / 0.7057 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.717e-05/0.1934, allocations: 20.91 kB / 0.7057 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.1935, allocations: 11.98 kB / 0.7057 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.1936, allocations: 38.5 kB / 0.7057 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.1936, allocations: 0 / 0.7057 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003941/0.1939, allocations: 85.58 kB / 0.7058 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.194, allocations: 51.41 kB / 0.7059 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/0.1941, allocations: 105.8 kB / 0.706 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1941, allocations: 25.7 kB / 0.706 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.1942, allocations: 84.14 kB / 0.7061 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.1942, allocations: 12.08 kB / 0.7061 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.1942, allocations: 13.72 kB / 0.7061 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1944, allocations: 314.8 kB / 0.7064 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/0.1945, allocations: 15.98 kB / 0.7064 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.946e-05/0.1945, allocations: 15.98 kB / 0.7064 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.1947, allocations: 40.7 kB / 0.7065 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1947, allocations: 64 / 0.7065 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002174/0.1949, allocations: 77.61 kB / 0.7065 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1949, allocations: 4 kB / 0.7065 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1949, allocations: 0 / 0.7065 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1949, allocations: 4 kB / 0.7065 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.195, allocations: 7.984 kB / 0.7065 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.195, allocations: 0 / 0.7065 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.1951, allocations: 7.984 kB / 0.7066 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.1951, allocations: 4.031 kB / 0.7066 GB, free: 13.36 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 8.839e-05/0.1952, allocations: 113.8 kB / 0.7067 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.1952, allocations: 0 / 0.7067 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.1954, allocations: 80.89 kB / 0.7067 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1955, allocations: 4 kB / 0.7067 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1955, allocations: 0 / 0.7067 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1955, allocations: 0 / 0.7067 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.1956, allocations: 128.7 kB / 0.7069 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1956, allocations: 32 / 0.7069 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.1957, allocations: 15.98 kB / 0.7069 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1957, allocations: 0 / 0.7069 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1957, allocations: 0 / 0.7069 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1957, allocations: 0 / 0.7069 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1957, allocations: 0 / 0.7069 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.196, allocations: 167.4 kB / 0.707 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.196, allocations: 11.89 kB / 0.7071 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.196, allocations: 0 / 0.7071 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.1961, allocations: 12.02 kB / 0.7071 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.1961, allocations: 192 / 0.7071 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1961, allocations: 0 / 0.7071 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.1962, allocations: 87.25 kB / 0.7072 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1962, allocations: 0 / 0.7072 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002414/0.1964, allocations: 19.94 kB / 0.7072 GB, free: 12.66 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.0006658/0.1971, allocations: 0.712 MB / 0.7079 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.1973, allocations: 43.89 kB / 0.7079 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1973, allocations: 0 / 0.7079 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.943e-05/0.1974, allocations: 11.98 kB / 0.7079 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.1977, allocations: 8 kB / 0.7079 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.1983, allocations: 147.3 kB / 0.7081 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.204e-05/0.1983, allocations: 59.22 kB / 0.7081 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.876e-05/0.1984, allocations: 7.984 kB / 0.7081 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.1984, allocations: 7.438 kB / 0.7081 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of SimCode: time 3.5e-07/0.1984, allocations: 0 / 0.7081 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.2214, allocations: 1.688 MB / 0.7098 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.25, allocations: 12 kB / 0.7098 GB, free: 10.03 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.020088582066819] Failed to read output from testmodel.py, exit status != 0: 11.418648769962601 11.448862072 11.252180637 Calling exit ...