Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004945/0.004945, allocations: 101.7 kB / 15.73 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009506/0.0009507, allocations: 195.1 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.381/1.381, allocations: 251.7 MB / 0.5094 GB, free: 3.105 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 78.27 kB / 0.7258 GB, free: 9.078 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1732, allocations: 104.7 MB / 0.8281 GB, free: 272 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001539/0.1747, allocations: 0.5827 MB / 0.8287 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003161/0.1751, allocations: 103.5 kB / 0.8288 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.039e-05/0.1751, allocations: 0 / 0.8288 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.31e-05/0.1751, allocations: 0 / 0.8288 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.698e-06/0.1751, allocations: 0 / 0.8288 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.1754, allocations: 31.89 kB / 0.8288 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.019e-05/0.1754, allocations: 0 / 0.8288 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.1755, allocations: 4.344 kB / 0.8288 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.271e-05/0.1755, allocations: 0 / 0.8288 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.417e-05/0.1755, allocations: 7.938 kB / 0.8288 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.882e-06/0.1755, allocations: 0 / 0.8288 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.1757, allocations: 31.97 kB / 0.8288 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.1757, allocations: 3.984 kB / 0.8288 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.24e-05/0.1757, allocations: 0 / 0.8288 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.686e-05/0.1758, allocations: 27.97 kB / 0.8289 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1758, allocations: 4 kB / 0.8289 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.415e-06/0.1758, allocations: 3.938 kB / 0.8289 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.1758, allocations: 11.86 kB / 0.8289 GB, free: 15.46 MB / 0.6544 GB 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.0002634/0.1761, allocations: 315.6 kB / 0.8292 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.1761, allocations: 12.03 kB / 0.8292 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.1762, allocations: 0.9375 kB / 0.8292 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.399e-05/0.1763, allocations: 164.4 kB / 0.8294 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.1763, allocations: 384 / 0.8294 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.1763, allocations: 4.375 kB / 0.8294 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.211e-05/0.1764, allocations: 26.27 kB / 0.8294 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1764, allocations: 192 / 0.8294 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1764, allocations: 3.938 kB / 0.8294 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.1764, allocations: 3.984 kB / 0.8294 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.1764, allocations: 4 kB / 0.8294 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.1765, allocations: 153.6 kB / 0.8295 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.41e-05/0.1766, allocations: 26.5 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/0.1766, allocations: 8.953 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.1768, allocations: 81.11 kB / 0.8296 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1768, allocations: 34.55 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1768, allocations: 0 / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001225/0.1769, allocations: 45.58 kB / 0.8297 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.177, allocations: 51.41 kB / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.025e-05/0.177, allocations: 89.86 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.177, allocations: 25.7 kB / 0.8299 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.1771, allocations: 84.14 kB / 0.83 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1771, allocations: 7.922 kB / 0.83 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.1771, allocations: 9.719 kB / 0.83 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.851e-05/0.1772, allocations: 315 kB / 0.8303 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.1772, allocations: 12 kB / 0.8303 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-06/0.1772, allocations: 0 / 0.8303 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.899e-05/0.1773, allocations: 4.859 kB / 0.8303 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1773, allocations: 4 kB / 0.8303 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.447e-05/0.1773, allocations: 33.64 kB / 0.8303 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.1773, allocations: 4 kB / 0.8303 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1773, allocations: 0 / 0.8303 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1774, allocations: 7.875 kB / 0.8303 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.955e-05/0.1774, allocations: 8.094 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1774, allocations: 0 / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/0.1774, allocations: 3.984 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.1774, allocations: 0 / 0.8304 GB, free: 13.7 MB / 0.6544 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.734e-05/0.1775, allocations: 105.8 kB / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.1775, allocations: 4 kB / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.319e-05/0.1776, allocations: 40.77 kB / 0.8305 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.1776, allocations: 0 / 0.8305 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1776, allocations: 7.969 kB / 0.8305 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1776, allocations: 3.984 kB / 0.8305 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.683e-05/0.1777, allocations: 141.7 kB / 0.8306 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1777, allocations: 0 / 0.8306 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.301e-05/0.1777, allocations: 7.938 kB / 0.8307 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1777, allocations: 0 / 0.8307 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1777, allocations: 3.938 kB / 0.8307 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1777, allocations: 4 kB / 0.8307 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1777, allocations: 0 / 0.8307 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.142e-05/0.1778, allocations: 65.12 kB / 0.8307 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.1778, allocations: 77.11 kB / 0.8308 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-06/0.1779, allocations: 3.938 kB / 0.8308 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-06/0.1779, allocations: 0 / 0.8308 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-06/0.1779, allocations: 0 / 0.8308 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.1779, allocations: 4 kB / 0.8308 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.128e-05/0.1779, allocations: 75.28 kB / 0.8309 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.1779, allocations: 0 / 0.8309 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001916/0.1781, allocations: 7.984 kB / 0.8309 GB, free: 13.05 MB / 0.6544 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.0001568/0.1783, allocations: 115.3 kB / 0.831 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 5.742e-05/0.1783, allocations: 11.94 kB / 0.831 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1783, allocations: 0 / 0.831 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.508e-06/0.1784, allocations: 7.984 kB / 0.831 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.1785, allocations: 0 / 0.831 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001384/0.1786, allocations: 81.11 kB / 0.8311 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.1788, allocations: 0.6727 MB / 0.8317 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.038e-05/0.1789, allocations: 7.938 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.079e-05/0.1789, allocations: 7.438 kB / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.1789, allocations: 0 / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.001924/0.1808, allocations: 407.8 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)