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.0008468/0.0008468, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00085/0.00085, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8893/0.8893, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7295/0.7295, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.508e-05, allocations: 4.812 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001798/0.001813, allocations: 1.459 MB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003422/0.002155, allocations: 147.5 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.002186, allocations: 0 / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.002214, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.367e-05/0.002257, allocations: 7.938 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.002642, allocations: 31.95 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.343e-05/0.002716, allocations: 23.86 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.002808, allocations: 7.938 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.629e-05/0.002845, allocations: 11.98 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.934e-05/0.002874, allocations: 4 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.002888, allocations: 7.938 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.00299, allocations: 39.89 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.003004, allocations: 11.97 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.003024, allocations: 7.938 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.003153, allocations: 43.94 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003155, allocations: 0 / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.61e-07/0.003156, allocations: 0 / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.00316, allocations: 0 / 0.6199 GB, free: 11.83 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003777/0.003537, allocations: 266.3 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.003582, allocations: 12.03 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.097e-05/0.003613, allocations: 34.69 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.003658, allocations: 8.875 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.739e-05/0.003745, allocations: 109.7 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.003754, allocations: 4.375 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.003764, allocations: 4.375 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.003896, allocations: 46.23 kB / 0.6203 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.003904, allocations: 192 / 0.6203 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.003913, allocations: 4.375 kB / 0.6203 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.00392, allocations: 4.125 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.773e-05/0.004007, allocations: 35.95 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.004309, allocations: 216 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.338e-05/0.004393, allocations: 38.5 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.004442, allocations: 28.89 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.00456, allocations: 7.984 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.004583, allocations: 34.5 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.004584, allocations: 0 / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002476/0.004832, allocations: 89.64 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.00487, allocations: 55.39 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.946e-05/0.004929, allocations: 97.86 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.004942, allocations: 29.7 kB / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.004976, allocations: 80.14 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.004992, allocations: 7.953 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.005017, allocations: 17.7 kB / 0.621 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.005093, allocations: 310.8 kB / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.096e-05/0.005134, allocations: 15.98 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.51e-05/0.005169, allocations: 20.02 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.666e-05/0.005246, allocations: 36.81 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005248, allocations: 0 / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000113/0.005361, allocations: 73.55 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.005374, allocations: 11.98 kB / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.005378, allocations: 96 / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.005389, allocations: 4 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.57e-05/0.005445, allocations: 7.938 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.00545, allocations: 0 / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.005474, allocations: 7.984 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.005479, allocations: 0 / 0.6215 GB, free: 9.945 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 (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 5.346e-05/0.005533, allocations: 110.8 kB / 0.6216 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.005553, allocations: 3.938 kB / 0.6216 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.005688, allocations: 84.91 kB / 0.6217 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.005691, allocations: 3.938 kB / 0.6217 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.005695, allocations: 0 / 0.6217 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.005698, allocations: 0 / 0.6217 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.005802, allocations: 124.8 kB / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.005804, allocations: 3.984 kB / 0.6218 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.005826, allocations: 8 kB / 0.6218 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.005828, allocations: 3.938 kB / 0.6218 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.005834, allocations: 0 / 0.6218 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.005835, allocations: 3.938 kB / 0.6218 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005836, allocations: 4.031 kB / 0.6218 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.005977, allocations: 163.5 kB / 0.622 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.005985, allocations: 7.922 kB / 0.622 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.005996, allocations: 0 / 0.622 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-05/0.006033, allocations: 8 kB / 0.622 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.006067, allocations: 3.984 kB / 0.622 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.00607, allocations: 4 kB / 0.622 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.404e-05/0.006095, allocations: 75.28 kB / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006095, allocations: 7.969 kB / 0.6221 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001575/0.006252, allocations: 11.94 kB / 0.6221 GB, free: 9.25 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 (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.0006148/0.006867, allocations: 0.7007 MB / 0.6228 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001274/0.006994, allocations: 36 kB / 0.6228 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.006995, allocations: 0 / 0.6228 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.214e-05/0.007038, allocations: 27.91 kB / 0.6229 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.007235, allocations: 4 kB / 0.6229 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.00757, allocations: 126.6 kB / 0.623 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.219e-05/0.007652, allocations: 59.34 kB / 0.623 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.736e-05/0.00767, allocations: 4 kB / 0.623 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.007698, allocations: 16.62 kB / 0.6231 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of SimCode: time 8.41e-07/0.007699, allocations: 0 / 0.6231 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.0252, allocations: 2.165 MB / 0.6252 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.796/6.821, allocations: 12.98 kB / 0.6252 GB, free: 6.156 MB / 0.5886 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.625779438763857] Failed to read output from testmodel.py, exit status != 0: 6.899061784148216 6.908290481 6.903094754 Calling exit ...