Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006644/0.0006644, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000885/0.001549, allocations: 444 kB / 10.41 MB, free: 276 kB / 10.45 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.000677/0.000677, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008515/0.001529, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 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.016/1.016, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09902/1.115, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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-545:108: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-545:116: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.7891/0.7891, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2976/1.087, allocations: 49.05 MB / 447.8 MB, free: 6.582 MB / 426.7 MB " [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: translateModel(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 449.2 MB, free: 5.207 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.732e-05, allocations: 4.984 kB / 449.2 MB, free: 5.203 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.00194/0.001968, allocations: 0.653 MB / 449.9 MB, free: 4.59 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001963/0.002164, allocations: 84.94 kB / 449.9 MB, free: 4.508 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.041e-05/0.002174, allocations: 0 / 449.9 MB, free: 4.508 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.068e-06/0.002178, allocations: 0.6562 kB / 449.9 MB, free: 4.508 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.102e-06/0.00218, allocations: 5.156 kB / 450 MB, free: 4.504 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.002412, allocations: 28.67 kB / 450 MB, free: 4.477 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.468e-05/0.002457, allocations: 4.484 kB / 450 MB, free: 4.473 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.002501, allocations: 5.297 kB / 450 MB, free: 4.469 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.646e-05/0.002537, allocations: 4.859 kB / 450 MB, free: 4.465 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.127e-05/0.002558, allocations: 0.5 kB / 450 MB, free: 4.465 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.00257, allocations: 0 / 450 MB, free: 4.465 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.002721, allocations: 38.19 kB / 450 MB, free: 4.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.002733, allocations: 0 / 450 MB, free: 4.43 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.168e-05/0.002745, allocations: 1.562 kB / 450 MB, free: 4.43 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.002854, allocations: 28.78 kB / 450.1 MB, free: 4.402 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.002867, allocations: 0 / 450.1 MB, free: 4.402 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002868, allocations: 1.781 kB / 450.1 MB, free: 4.402 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.002882, allocations: 3.938 kB / 450.1 MB, free: 4.398 MB / 426.7 MB 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.0002939/0.003176, allocations: 217.2 kB / 450.3 MB, free: 4.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.003211, allocations: 12.03 kB / 450.3 MB, free: 4.148 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.0033, allocations: 78.92 kB / 450.4 MB, free: 4.055 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.267e-05/0.003372, allocations: 102.9 kB / 450.5 MB, free: 3.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.003383, allocations: 1.781 kB / 450.5 MB, free: 3.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.003394, allocations: 5.656 kB / 450.5 MB, free: 3.926 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.606e-05/0.00347, allocations: 30.27 kB / 450.5 MB, free: 3.891 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.003477, allocations: 192 / 450.5 MB, free: 3.891 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.003486, allocations: 4.984 kB / 450.5 MB, free: 3.887 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.003492, allocations: 1.75 kB / 450.5 MB, free: 3.887 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.315e-05/0.003505, allocations: 7.938 kB / 450.5 MB, free: 3.879 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.914e-05/0.003584, allocations: 53.05 kB / 450.6 MB, free: 3.812 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.233e-05/0.003627, allocations: 23.17 kB / 450.6 MB, free: 3.781 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.225e-05/0.003639, allocations: 9.438 kB / 450.6 MB, free: 3.773 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.003802, allocations: 8.547 kB / 450.6 MB, free: 3.766 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.003828, allocations: 31.78 kB / 450.6 MB, free: 3.727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.194e-06/0.003831, allocations: 0.9844 kB / 450.6 MB, free: 3.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001216/0.003952, allocations: 33.64 kB / 450.7 MB, free: 3.688 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.004015, allocations: 60.22 kB / 450.7 MB, free: 3.617 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.458e-05/0.004049, allocations: 89.86 kB / 450.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.004062, allocations: 26.86 kB / 450.9 MB, free: 3.488 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.365e-05/0.004085, allocations: 80.14 kB / 450.9 MB, free: 3.406 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.00412, allocations: 6.047 kB / 450.9 MB, free: 3.398 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.004149, allocations: 19.17 kB / 451 MB, free: 3.375 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.004247, allocations: 316.6 kB / 451.3 MB, free: 3.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-06/0.004253, allocations: 0 / 451.3 MB, free: 3.059 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-06/0.004259, allocations: 0 / 451.3 MB, free: 3.059 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.672e-05/0.004286, allocations: 8.859 kB / 451.3 MB, free: 3.047 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.004288, allocations: 1.312 kB / 451.3 MB, free: 3.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.068e-05/0.004359, allocations: 33.64 kB / 451.3 MB, free: 3.008 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.004375, allocations: 8 kB / 451.3 MB, free: 3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.004382, allocations: 6.203 kB / 451.3 MB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.004398, allocations: 0 / 451.3 MB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.179e-05/0.00444, allocations: 0 / 451.3 MB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.004444, allocations: 3.984 kB / 451.3 MB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.004456, allocations: 4.625 kB / 451.3 MB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.004461, allocations: 0.6562 kB / 451.3 MB, free: 2.988 MB / 426.7 MB 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.787e-05/0.004519, allocations: 109.8 kB / 451.4 MB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.004536, allocations: 2.938 kB / 451.4 MB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.449e-05/0.0046, allocations: 41.23 kB / 451.5 MB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.004602, allocations: 0 / 451.5 MB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.004604, allocations: 0 / 451.5 MB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.004607, allocations: 1.266 kB / 451.5 MB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.443e-05/0.004661, allocations: 65.84 kB / 451.5 MB, free: 2.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.004664, allocations: 4.875 kB / 451.6 MB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.004676, allocations: 4.844 kB / 451.6 MB, free: 2.734 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-06/0.004679, allocations: 4 kB / 451.6 MB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.004681, allocations: 0.5312 kB / 451.6 MB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-06/0.004684, allocations: 0 / 451.6 MB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.004687, allocations: 5.078 kB / 451.6 MB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.004688, allocations: 0 / 451.6 MB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.805e-05/0.004756, allocations: 57.7 kB / 451.6 MB, free: 2.652 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-06/0.004763, allocations: 1.094 kB / 451.6 MB, free: 2.652 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-06/0.00477, allocations: 0.625 kB / 451.6 MB, free: 2.652 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.004781, allocations: 0 / 451.6 MB, free: 2.652 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-06/0.004783, allocations: 0.625 kB / 451.6 MB, free: 2.652 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.928e-06/0.004793, allocations: 13.47 kB / 451.6 MB, free: 2.637 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.004793, allocations: 0 / 451.6 MB, free: 2.637 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001806/0.004974, allocations: 8.562 kB / 451.6 MB, free: 2.629 MB / 426.7 MB 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.0001508/0.005124, allocations: 86.44 kB / 451.7 MB, free: 2.535 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.071e-05/0.005185, allocations: 23.33 kB / 451.8 MB, free: 2.512 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.00519, allocations: 4 kB / 451.8 MB, free: 2.508 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.008e-05/0.0052, allocations: 5.516 kB / 451.8 MB, free: 2.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.766e-05/0.005258, allocations: 7.938 kB / 451.8 MB, free: 2.492 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001519/0.00541, allocations: 82.66 kB / 451.9 MB, free: 2.387 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.02e-05/0.00544, allocations: 52.02 kB / 451.9 MB, free: 2.316 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.153e-05/0.005451, allocations: 1 kB / 451.9 MB, free: 2.316 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.005482, allocations: 47.38 kB / 451.9 MB, free: 2.27 MB / 426.7 MB Notification: Performance of SimCode: time 7.61e-07/0.005483, allocations: 0.5312 kB / 451.9 MB, free: 2.27 MB / 426.7 MB Notification: Performance of Templates: time 0.002281/0.007764, allocations: 462.3 kB / 452.4 MB, free: 1.844 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5111340396106243]