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.0009563/0.0009563, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001041/0.001041, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.9656/0.9656, allocations: 177.1 MB / 203.8 MB, free: 5.645 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-535:34: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-535:42: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.778/0.778, allocations: 154.8 MB / 415.1 MB, free: 480 kB / 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: translateModel(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.5206 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.074e-05, allocations: 4.141 kB / 0.5206 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0009964/0.001017, allocations: 0.6093 MB / 0.5212 GB, free: 1.625 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002601/0.001277, allocations: 80.45 kB / 0.5213 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.643e-05/0.001294, allocations: 0 / 0.5213 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.324e-05/0.001307, allocations: 2.234 kB / 0.5213 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.001312, allocations: 0 / 0.5213 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.001613, allocations: 32.83 kB / 0.5213 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.529e-05/0.001648, allocations: 4 kB / 0.5213 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.176e-05/0.00168, allocations: 4.734 kB / 0.5213 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.792e-05/0.001698, allocations: 4 kB / 0.5214 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.44e-05/0.001712, allocations: 9.391 kB / 0.5214 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.001725, allocations: 0 / 0.5214 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.984e-05/0.001815, allocations: 31.95 kB / 0.5214 GB, free: 1.465 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-06/0.001821, allocations: 0 / 0.5214 GB, free: 1.465 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.156e-05/0.001833, allocations: 1.344 kB / 0.5214 GB, free: 1.465 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.785e-05/0.001921, allocations: 27.86 kB / 0.5214 GB, free: 1.438 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.001922, allocations: 0 / 0.5214 GB, free: 1.438 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.001924, allocations: 4.672 kB / 0.5214 GB, free: 1.434 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.001927, allocations: 0 / 0.5214 GB, free: 1.434 MB / 490.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.000234/0.002161, allocations: 347.6 kB / 0.5218 GB, free: 1.059 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.002193, allocations: 8.031 kB / 0.5218 GB, free: 1.051 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.29e-05/0.002256, allocations: 0.9375 kB / 0.5218 GB, free: 1.051 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.872e-05/0.002314, allocations: 108.6 kB / 0.5219 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.002324, allocations: 4.375 kB / 0.5219 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-06/0.002331, allocations: 384 / 0.5219 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.904e-05/0.0024, allocations: 30.25 kB / 0.5219 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.002406, allocations: 192 / 0.5219 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.002413, allocations: 0.9375 kB / 0.5219 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.00242, allocations: 4.312 kB / 0.5219 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.205e-05/0.002432, allocations: 8.594 kB / 0.5219 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.661e-05/0.002518, allocations: 105.4 kB / 0.522 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.316e-05/0.002551, allocations: 31.09 kB / 0.522 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.306e-05/0.002565, allocations: 9.156 kB / 0.5221 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.002695, allocations: 11.98 kB / 0.5221 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.002714, allocations: 33.39 kB / 0.5221 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.002714, allocations: 0 / 0.5221 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001084/0.002823, allocations: 42.56 kB / 0.5221 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.00285, allocations: 55.41 kB / 0.5222 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.552e-05/0.002885, allocations: 143.5 kB / 0.5223 GB, free: 364 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.002893, allocations: 25.7 kB / 0.5224 GB, free: 332 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.00292, allocations: 126.9 kB / 0.5225 GB, free: 200 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.002943, allocations: 1.281 kB / 0.5225 GB, free: 200 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.002962, allocations: 19.38 kB / 0.5225 GB, free: 172 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.003079, allocations: 496.1 kB / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-06/0.003086, allocations: 0.8125 kB / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.003092, allocations: 4 kB / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.702e-05/0.003119, allocations: 16.91 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00312, allocations: 0 / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.041e-05/0.003161, allocations: 39.38 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.00317, allocations: 4 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.003174, allocations: 0 / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.003185, allocations: 0 / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.093e-05/0.003216, allocations: 6.812 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.003221, allocations: 4 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-06/0.00323, allocations: 7.891 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.003233, allocations: 0 / 0.523 GB, free: 15.59 MB / 0.4948 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.373e-05/0.003287, allocations: 152.6 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.003297, allocations: 4 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.534e-05/0.003352, allocations: 47.38 kB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.003353, allocations: 0 / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.003356, allocations: 0 / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.003358, allocations: 0 / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.038e-05/0.003409, allocations: 108.6 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.00341, allocations: 0 / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.662e-06/0.003416, allocations: 7.984 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.003417, allocations: 0 / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.003422, allocations: 0.8438 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.003423, allocations: 0 / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.003424, allocations: 1 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.009e-05/0.003474, allocations: 76.31 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-06/0.003477, allocations: 8.812 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-06/0.003486, allocations: 7.984 kB / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.357e-06/0.003489, allocations: 0 / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.0035, allocations: 0.5 kB / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.82e-07/0.003501, allocations: 1.5 kB / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.542e-05/0.003527, allocations: 119.2 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.003527, allocations: 0 / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001221/0.003649, allocations: 7.938 kB / 0.5236 GB, free: 14.98 MB / 0.4948 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.0001211/0.00377, allocations: 113.6 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.603e-05/0.003826, allocations: 11.69 kB / 0.5237 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.003828, allocations: 2.75 kB / 0.5237 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.733e-06/0.003834, allocations: 7.688 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.489e-05/0.003929, allocations: 4 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001581/0.004087, allocations: 91.88 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.842e-05/0.004116, allocations: 55.34 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.063e-05/0.004126, allocations: 7.984 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.397e-05/0.00414, allocations: 9.312 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.004141, allocations: 0 / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.00179/0.00593, allocations: 395.3 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7649379689246416]