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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00735/0.00735, allocations: 96.56 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 196.3 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8181/0.8181, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 72.3 kB / 0.5809 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1893, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002521/0.1919, allocations: 1.415 MB / 0.6606 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005046/0.1924, allocations: 164.3 kB / 0.6607 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.1925, allocations: 0 / 0.6607 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.1925, allocations: 0 / 0.6607 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.1926, allocations: 11.92 kB / 0.6608 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.1929, allocations: 35.91 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.628e-05/0.193, allocations: 27.92 kB / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.1931, allocations: 7.938 kB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.255e-05/0.1931, allocations: 11.94 kB / 0.6608 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.642e-05/0.1932, allocations: 7.969 kB / 0.6608 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1932, allocations: 4 kB / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.1933, allocations: 35.91 kB / 0.6609 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.1934, allocations: 8 kB / 0.6609 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.1934, allocations: 15.92 kB / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.1935, allocations: 48.09 kB / 0.6609 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1935, allocations: 0 / 0.6609 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1936, allocations: 0 / 0.6609 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1936, allocations: 0 / 0.6609 GB, free: 12.22 MB / 0.4981 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.0007619/0.1943, allocations: 343.4 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1944, allocations: 8.031 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.1944, allocations: 34.75 kB / 0.6613 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.1945, allocations: 0.9375 kB / 0.6613 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.1946, allocations: 168.4 kB / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1946, allocations: 384 / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1947, allocations: 8.359 kB / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1949, allocations: 54.17 kB / 0.6615 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1949, allocations: 3.938 kB / 0.6615 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1949, allocations: 0 / 0.6615 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1949, allocations: 0 / 0.6615 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.1951, allocations: 35.91 kB / 0.6616 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.1955, allocations: 256.9 kB / 0.6618 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1956, allocations: 42.44 kB / 0.6619 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.589e-05/0.1957, allocations: 16.91 kB / 0.6619 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.1959, allocations: 85.09 kB / 0.662 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.196, allocations: 38.56 kB / 0.662 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.196, allocations: 0 / 0.662 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003865/0.1964, allocations: 77.64 kB / 0.6621 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.1964, allocations: 51.41 kB / 0.6621 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.06e-05/0.1965, allocations: 101.8 kB / 0.6622 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.1966, allocations: 29.83 kB / 0.6622 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.1966, allocations: 88.08 kB / 0.6623 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.1966, allocations: 7.953 kB / 0.6623 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.1967, allocations: 17.66 kB / 0.6624 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1968, allocations: 314.8 kB / 0.6627 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-05/0.1969, allocations: 15.98 kB / 0.6627 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.321e-05/0.197, allocations: 15.98 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.1972, allocations: 40.88 kB / 0.6627 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1972, allocations: 3.938 kB / 0.6627 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002042/0.1974, allocations: 65.67 kB / 0.6628 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1974, allocations: 7.938 kB / 0.6628 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1974, allocations: 0 / 0.6628 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1974, allocations: 7.984 kB / 0.6628 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.855e-05/0.1975, allocations: 8.031 kB / 0.6628 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1975, allocations: 7.922 kB / 0.6628 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.1976, allocations: 11.98 kB / 0.6628 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.1976, allocations: 0 / 0.6628 GB, free: 10.04 MB / 0.4981 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 9.456e-05/0.1977, allocations: 113.8 kB / 0.6629 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.1977, allocations: 3.953 kB / 0.6629 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.198, allocations: 72.78 kB / 0.663 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.198, allocations: 4 kB / 0.663 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.198, allocations: 0 / 0.663 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.198, allocations: 3.984 kB / 0.663 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.1982, allocations: 157.6 kB / 0.6632 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.1982, allocations: 0 / 0.6632 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.034e-05/0.1983, allocations: 11.98 kB / 0.6632 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1983, allocations: 3.938 kB / 0.6632 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.1983, allocations: 0 / 0.6632 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1983, allocations: 0 / 0.6632 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1983, allocations: 7.969 kB / 0.6632 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.1986, allocations: 163.5 kB / 0.6633 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.1986, allocations: 77.11 kB / 0.6634 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.1986, allocations: 0 / 0.6634 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.1987, allocations: 7.984 kB / 0.6634 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.1988, allocations: 8.031 kB / 0.6634 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1988, allocations: 192 / 0.6634 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.848e-05/0.1988, allocations: 87.27 kB / 0.6635 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1988, allocations: 0 / 0.6635 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002357/0.1991, allocations: 15.92 kB / 0.6635 GB, free: 9.207 MB / 0.4981 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.000687/0.1998, allocations: 0.7123 MB / 0.6642 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.2, allocations: 35.95 kB / 0.6643 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2, allocations: 0 / 0.6643 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.592e-05/0.2001, allocations: 20.08 kB / 0.6643 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.2004, allocations: 8 kB / 0.6643 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.2008, allocations: 135 kB / 0.6644 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.2011, allocations: 0.6729 MB / 0.6651 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.114e-05/0.2012, allocations: 0 / 0.6651 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.2012, allocations: 19.38 kB / 0.6651 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.2012, allocations: 0 / 0.6651 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.2246, allocations: 1.504 MB / 0.6666 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.044, allocations: 2.688 kB / 0.6666 GB, free: 6.125 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 IDEAS_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)