Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.001201/0.001201, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001351/0.001351, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9366/0.9366, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7247/0.7247, allocations: 154.5 MB / 413.7 MB, free: 0.8477 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.865e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.00116/0.001188, allocations: 0.6027 MB / 0.6187 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002675/0.001456, allocations: 71.77 kB / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.331e-05/0.001469, allocations: 0 / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.001483, allocations: 0 / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.262e-06/0.001489, allocations: 4 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.001829, allocations: 35.83 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 3.941e-05/0.001868, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.001908, allocations: 8 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.274e-05/0.001931, allocations: 3.938 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.7e-05/0.001948, allocations: 0 / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.001965, allocations: 0 / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.002068, allocations: 35.89 kB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.147e-06/0.002077, allocations: 0 / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.284e-05/0.00209, allocations: 0 / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.618e-05/0.002186, allocations: 31.89 kB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.002188, allocations: 4 kB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.082e-06/0.002189, allocations: 0 / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.002194, allocations: 4 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002139/0.002408, allocations: 242.4 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.002446, allocations: 9.469 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.559e-05/0.002471, allocations: 30.75 kB / 0.6192 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.002509, allocations: 0.9375 kB / 0.6192 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.002702, allocations: 105.8 kB / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.002712, allocations: 384 / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-06/0.00272, allocations: 384 / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.226e-05/0.002812, allocations: 30.27 kB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.002821, allocations: 8.125 kB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.00283, allocations: 384 / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.002837, allocations: 4.125 kB / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.15e-05/0.002858, allocations: 7.922 kB / 0.6193 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.002977, allocations: 120.8 kB / 0.6194 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.044e-05/0.003018, allocations: 14.58 kB / 0.6194 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.003033, allocations: 4.859 kB / 0.6194 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/0.003227, allocations: 12.02 kB / 0.6194 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.003252, allocations: 38.56 kB / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 2.344e-06/0.003254, allocations: 7.984 kB / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001542/0.003408, allocations: 33.64 kB / 0.6195 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.003446, allocations: 55.34 kB / 0.6196 GB, free: 12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.227e-05/0.003478, allocations: 93.84 kB / 0.6197 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.003488, allocations: 25.7 kB / 0.6197 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.019e-05/0.003508, allocations: 84.14 kB / 0.6198 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.003537, allocations: 0 / 0.6198 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.003558, allocations: 9.719 kB / 0.6198 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.003643, allocations: 318.8 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.003658, allocations: 0 / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-06/0.003666, allocations: 4.125 kB / 0.6201 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.193e-05/0.003698, allocations: 12.8 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.0037, allocations: 0 / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.885e-05/0.003749, allocations: 33.69 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.003763, allocations: 6.188 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.00377, allocations: 4 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.003784, allocations: 0 / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.724e-05/0.003831, allocations: 0 / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.003839, allocations: 3.938 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-06/0.003847, allocations: 0 / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.003851, allocations: 4.094 kB / 0.6201 GB, free: 11.37 MB / 0.5886 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 (1): * Single equations (assignments): 1 * 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 5.485e-05/0.003906, allocations: 114.8 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.003917, allocations: 0 / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.084e-05/0.003998, allocations: 40.62 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.004, allocations: 0 / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.004006, allocations: 3.938 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.004009, allocations: 0 / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.974e-05/0.004068, allocations: 116.8 kB / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.00407, allocations: 0 / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.358e-06/0.004079, allocations: 0 / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.004083, allocations: 15.95 kB / 0.6204 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.004089, allocations: 4 kB / 0.6204 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.004091, allocations: 0 / 0.6204 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.004093, allocations: 3.938 kB / 0.6204 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.57e-05/0.004149, allocations: 61.09 kB / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-06/0.004152, allocations: 0 / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.004162, allocations: 3.938 kB / 0.6205 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-06/0.004168, allocations: 3.984 kB / 0.6205 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.004182, allocations: 3.938 kB / 0.6205 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.004185, allocations: 0 / 0.6205 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.392e-05/0.004209, allocations: 87.25 kB / 0.6206 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004209, allocations: 0 / 0.6206 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001377/0.004347, allocations: 7.938 kB / 0.6206 GB, free: 10.83 MB / 0.5886 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 (1): * Single equations (assignments): 1 * 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.0003086/0.004655, allocations: 0.5969 MB / 0.6212 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.673e-05/0.004712, allocations: 7.938 kB / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.004714, allocations: 96 / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.497e-06/0.004717, allocations: 8 kB / 0.6212 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.004822, allocations: 11.92 kB / 0.6212 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.005064, allocations: 98.67 kB / 0.6213 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.228e-05/0.005096, allocations: 55.36 kB / 0.6214 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.087e-06/0.005105, allocations: 0 / 0.6214 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.005122, allocations: 12.48 kB / 0.6214 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of SimCode: time 7.81e-07/0.005123, allocations: 0 / 0.6214 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.02194, allocations: 1.763 MB / 0.6231 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.967/6.989, allocations: 7.984 kB / 0.6231 GB, free: 8.32 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.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_dev_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.799183124676347] Failed to read output from testmodel.py, exit status != 0: 7.068312146700919 7.076448083 7.072624324 Calling exit ...