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.001059/0.001059, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001153/0.001153, allocations: 181 kB / 23.36 MB, free: 1.133 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.9671/0.9671, allocations: 177.1 MB / 203.8 MB, free: 5.473 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-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.846/0.846, allocations: 154.6 MB / 414.8 MB, free: 0.5 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: 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.422e-06/1.422e-06, allocations: 0.6562 kB / 480 MB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.21e-05, allocations: 8.312 kB / 480.1 MB, free: 6.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001269/0.001291, allocations: 0.607 MB / 480.7 MB, free: 6.246 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002541/0.001545, allocations: 81 kB / 480.7 MB, free: 6.168 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.021e-05/0.001556, allocations: 1.219 kB / 480.7 MB, free: 6.168 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.164e-05/0.001567, allocations: 0 / 480.7 MB, free: 6.168 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.45e-06/0.001573, allocations: 0.7656 kB / 480.7 MB, free: 6.168 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.001866, allocations: 33.33 kB / 480.8 MB, free: 6.137 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.284e-05/0.001899, allocations: 5.719 kB / 480.8 MB, free: 6.133 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.196e-05/0.001931, allocations: 7.984 kB / 480.8 MB, free: 6.125 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.129e-05/0.001952, allocations: 0 / 480.8 MB, free: 6.125 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.163e-05/0.001964, allocations: 0 / 480.8 MB, free: 6.125 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.907e-06/0.001973, allocations: 1.312 kB / 480.8 MB, free: 6.125 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.108e-05/0.002064, allocations: 36.77 kB / 480.8 MB, free: 6.09 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.035e-06/0.002072, allocations: 0 / 480.8 MB, free: 6.09 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.688e-06/0.002082, allocations: 4 kB / 480.8 MB, free: 6.086 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.52e-05/0.002157, allocations: 29.16 kB / 480.9 MB, free: 6.059 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002159, allocations: 0.5625 kB / 480.9 MB, free: 6.059 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.002159, allocations: 5.094 kB / 480.9 MB, free: 6.055 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.805e-06/0.002162, allocations: 1 kB / 480.9 MB, free: 6.055 MB / 442.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.0001733/0.002335, allocations: 213.3 kB / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.002363, allocations: 8.656 kB / 481.1 MB, free: 5.812 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.002416, allocations: 8.031 kB / 481.1 MB, free: 5.809 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.899e-05/0.002465, allocations: 107 kB / 481.2 MB, free: 5.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.002474, allocations: 384 / 481.2 MB, free: 5.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.00248, allocations: 384 / 481.2 MB, free: 5.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.35e-05/0.002534, allocations: 35.34 kB / 481.2 MB, free: 5.641 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.002539, allocations: 192 / 481.2 MB, free: 5.641 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-06/0.002544, allocations: 1.438 kB / 481.2 MB, free: 5.641 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.002548, allocations: 384 / 481.2 MB, free: 5.641 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.768e-06/0.002558, allocations: 8.984 kB / 481.2 MB, free: 5.633 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.048e-05/0.002618, allocations: 57.7 kB / 481.3 MB, free: 5.562 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.89e-05/0.002647, allocations: 18.52 kB / 481.3 MB, free: 5.535 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.197e-06/0.002657, allocations: 10.02 kB / 481.3 MB, free: 5.523 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.002761, allocations: 7.984 kB / 481.3 MB, free: 5.516 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.002778, allocations: 30.56 kB / 481.4 MB, free: 5.477 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.002778, allocations: 1.438 kB / 481.4 MB, free: 5.477 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 7.375e-05/0.002852, allocations: 34.47 kB / 481.4 MB, free: 5.438 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.00288, allocations: 51.41 kB / 481.4 MB, free: 5.375 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.342e-05/0.002903, allocations: 94.58 kB / 481.5 MB, free: 5.273 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.002913, allocations: 25.7 kB / 481.6 MB, free: 5.242 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.002934, allocations: 89.56 kB / 481.7 MB, free: 5.152 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.00296, allocations: 0 / 481.7 MB, free: 5.152 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.002978, allocations: 9.719 kB / 481.7 MB, free: 5.137 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.003045, allocations: 323.8 kB / 482 MB, free: 4.812 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-06/0.003049, allocations: 0.8438 kB / 482 MB, free: 4.812 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-06/0.003053, allocations: 1.062 kB / 482 MB, free: 4.812 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.906e-05/0.003072, allocations: 8.859 kB / 482 MB, free: 4.801 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.003074, allocations: 0.625 kB / 482 MB, free: 4.801 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.208e-05/0.003106, allocations: 29.7 kB / 482 MB, free: 4.766 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/0.003115, allocations: 4.781 kB / 482 MB, free: 4.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.003118, allocations: 0 / 482 MB, free: 4.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.003127, allocations: 4.812 kB / 482 MB, free: 4.758 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.758e-05/0.003155, allocations: 8.531 kB / 482 MB, free: 4.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.003157, allocations: 1.062 kB / 482 MB, free: 4.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-06/0.003163, allocations: 0 / 482 MB, free: 4.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.003166, allocations: 0 / 482 MB, free: 4.75 MB / 442.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 4.33e-05/0.00321, allocations: 114.4 kB / 482.1 MB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-06/0.003218, allocations: 1.281 kB / 482.2 MB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.003262, allocations: 42.03 kB / 482.2 MB, free: 4.586 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.003263, allocations: 0 / 482.2 MB, free: 4.586 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.003265, allocations: 4.625 kB / 482.2 MB, free: 4.582 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.003267, allocations: 0 / 482.2 MB, free: 4.582 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.521e-05/0.003312, allocations: 66.81 kB / 482.3 MB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-07/0.003313, allocations: 1.5 kB / 482.3 MB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-06/0.003317, allocations: 0 / 482.3 MB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.003318, allocations: 0.7188 kB / 482.3 MB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-06/0.003321, allocations: 0 / 482.3 MB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.003322, allocations: 0.5312 kB / 482.3 MB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.003322, allocations: 4.594 kB / 482.3 MB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.129e-05/0.003364, allocations: 69.44 kB / 482.3 MB, free: 4.414 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-06/0.003367, allocations: 3.953 kB / 482.3 MB, free: 4.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-06/0.003374, allocations: 4.766 kB / 482.3 MB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.256e-06/0.003377, allocations: 0 / 482.3 MB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-06/0.003385, allocations: 0.9062 kB / 482.3 MB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.02e-07/0.003385, allocations: 0 / 482.3 MB, free: 4.406 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.568e-06/0.00339, allocations: 5.609 kB / 482.4 MB, free: 4.398 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00339, allocations: 0 / 482.4 MB, free: 4.398 MB / 442.7 MB Notification: Performance of remove unused functions: time 9.92e-05/0.003489, allocations: 11.92 kB / 482.4 MB, free: 4.387 MB / 442.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.000106/0.003595, allocations: 91.62 kB / 482.5 MB, free: 4.289 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.141e-05/0.003637, allocations: 22.48 kB / 482.5 MB, free: 4.266 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.003638, allocations: 0 / 482.5 MB, free: 4.266 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.618e-06/0.003643, allocations: 8.844 kB / 482.5 MB, free: 4.254 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.763e-05/0.00368, allocations: 7.938 kB / 482.5 MB, free: 4.246 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001111/0.003792, allocations: 68.83 kB / 482.6 MB, free: 4.152 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.192e-05/0.003813, allocations: 53.91 kB / 482.6 MB, free: 4.082 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.264e-06/0.003821, allocations: 4 kB / 482.6 MB, free: 4.078 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.003841, allocations: 47.38 kB / 482.7 MB, free: 4.031 MB / 442.7 MB Notification: Performance of SimCode: time 2.61e-07/0.003841, allocations: 0.75 kB / 482.7 MB, free: 4.031 MB / 442.7 MB Notification: Performance of Templates: time 0.001721/0.005562, allocations: 456.9 kB / 483.1 MB, free: 3.613 MB / 442.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.5383844301104546]