Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001605/0.001605, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001633/0.001633, allocations: 219.7 kB / 23.01 MB, free: 4.566 MB / 14.72 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002551/0.002551, allocations: 286.2 kB / 313.5 MB, free: 2.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.181/1.181, allocations: 180.6 MB / 0.5377 GB, free: 12.97 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002995/0.002995, allocations: 109 kB / 0.7408 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.169, allocations: 95.37 MB / 0.834 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002852/0.1719, allocations: 1.477 MB / 0.8354 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004338/0.1723, allocations: 164.3 kB / 0.8356 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.1723, allocations: 4 kB / 0.8356 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.1724, allocations: 0 / 0.8356 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.1724, allocations: 3.938 kB / 0.8356 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.1727, allocations: 35.89 kB / 0.8356 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.767e-05/0.1728, allocations: 27.92 kB / 0.8356 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.789e-05/0.1729, allocations: 0 / 0.8356 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.1729, allocations: 15.94 kB / 0.8356 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.603e-05/0.1729, allocations: 11.98 kB / 0.8357 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.173, allocations: 0 / 0.8357 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1731, allocations: 47.89 kB / 0.8357 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.1731, allocations: 11.92 kB / 0.8357 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.1731, allocations: 8 kB / 0.8357 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.1733, allocations: 47.81 kB / 0.8358 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1733, allocations: 0 / 0.8358 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1733, allocations: 0 / 0.8358 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.1733, allocations: 0 / 0.8358 GB, free: 6.262 MB / 0.5762 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.0004193/0.1737, allocations: 266.3 kB / 0.836 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1737, allocations: 9.344 kB / 0.836 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.1738, allocations: 4.891 kB / 0.836 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.1739, allocations: 114.5 kB / 0.8361 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1739, allocations: 384 / 0.8361 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-06/0.1739, allocations: 384 / 0.8361 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.1741, allocations: 54.17 kB / 0.8362 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1741, allocations: 4.125 kB / 0.8362 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1741, allocations: 7.938 kB / 0.8362 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1741, allocations: 4 kB / 0.8362 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.1743, allocations: 31.95 kB / 0.8362 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.1747, allocations: 216.1 kB / 0.8364 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1748, allocations: 42.42 kB / 0.8365 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.04e-05/0.1749, allocations: 28.91 kB / 0.8365 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.1751, allocations: 7.984 kB / 0.8365 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.1751, allocations: 34.56 kB / 0.8366 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1751, allocations: 0 / 0.8366 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003681/0.1755, allocations: 85.67 kB / 0.8366 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.1755, allocations: 51.41 kB / 0.8367 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.1756, allocations: 101.8 kB / 0.8368 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1756, allocations: 25.7 kB / 0.8368 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.1757, allocations: 92.08 kB / 0.8369 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.1757, allocations: 7.953 kB / 0.8369 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.1757, allocations: 9.719 kB / 0.8369 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1758, allocations: 314.8 kB / 0.8372 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.533e-05/0.1759, allocations: 20.02 kB / 0.8372 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.424e-05/0.176, allocations: 15.97 kB / 0.8372 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.1761, allocations: 36.83 kB / 0.8373 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1761, allocations: 0 / 0.8373 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.1763, allocations: 77.66 kB / 0.8374 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1763, allocations: 4 kB / 0.8374 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1763, allocations: 0 / 0.8374 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1763, allocations: 0 / 0.8374 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.376e-05/0.1764, allocations: 15.92 kB / 0.8374 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1764, allocations: 0 / 0.8374 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.1765, allocations: 8 kB / 0.8374 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.1765, allocations: 0 / 0.8374 GB, free: 4.418 MB / 0.5762 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 8.403e-05/0.1766, allocations: 114.5 kB / 0.8375 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.1766, allocations: 7.984 kB / 0.8375 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.1768, allocations: 68.97 kB / 0.8376 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1768, allocations: 0 / 0.8376 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1768, allocations: 0 / 0.8376 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1768, allocations: 4.188 kB / 0.8376 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.177, allocations: 132.6 kB / 0.8377 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.177, allocations: 3.984 kB / 0.8377 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.177, allocations: 12.02 kB / 0.8377 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.177, allocations: 3.938 kB / 0.8377 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.177, allocations: 4 kB / 0.8377 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.177, allocations: 0 / 0.8377 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.177, allocations: 0 / 0.8377 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.1773, allocations: 167.4 kB / 0.8379 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-06/0.1773, allocations: 4.031 kB / 0.8379 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-06/0.1773, allocations: 0 / 0.8379 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.1774, allocations: 7.984 kB / 0.8379 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.1774, allocations: 0 / 0.8379 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1774, allocations: 4 kB / 0.8379 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.663e-05/0.1775, allocations: 83.27 kB / 0.838 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1775, allocations: 4 kB / 0.838 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002255/0.1777, allocations: 11.94 kB / 0.838 GB, free: 3.719 MB / 0.5762 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.0001674/0.1779, allocations: 111.2 kB / 0.8381 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.1781, allocations: 39.91 kB / 0.8381 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1781, allocations: 0 / 0.8381 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.874e-05/0.1781, allocations: 15.98 kB / 0.8381 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.1784, allocations: 16.91 kB / 0.8382 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.1787, allocations: 125 kB / 0.8383 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.179, allocations: 0.6729 MB / 0.8389 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.179, allocations: 7.438 kB / 0.8389 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.179, allocations: 0 / 0.8389 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of Templates: time 0.002273/0.1813, allocations: 0.7794 MB / 0.8397 GB, free: 1.895 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.247080956120044] Failed to read output from testmodel.py, exit status != 0: 0.18858918687328696 0.203309977 0.027109387000000002 Calling exit ...