Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008422/0.0008418, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009064/0.0009066, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001704/0.001704, allocations: 275.1 kB / 291.3 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9273/0.9273, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004361, allocations: 17.47 kB / 0.598 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.159, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0005926/0.1596, allocations: 307.3 kB / 0.6848 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002606/0.1599, allocations: 87.75 kB / 0.6849 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-06/0.1599, allocations: 0 / 0.6849 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.746e-06/0.1599, allocations: 0.6562 kB / 0.6849 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.5e-06/0.1599, allocations: 0 / 0.6849 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.1602, allocations: 28.72 kB / 0.6849 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.759e-05/0.1602, allocations: 0 / 0.6849 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.1602, allocations: 9.734 kB / 0.6849 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.269e-05/0.1602, allocations: 4 kB / 0.6849 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.579e-05/0.1603, allocations: 3.938 kB / 0.6849 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.1603, allocations: 0 / 0.6849 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.1604, allocations: 39.91 kB / 0.685 GB, free: 15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-06/0.1604, allocations: 5.172 kB / 0.685 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.1605, allocations: 33.64 kB / 0.685 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.154e-05/0.1605, allocations: 15.98 kB / 0.685 GB, free: 14.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1605, allocations: 1.688 kB / 0.685 GB, free: 14.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1605, allocations: 0 / 0.685 GB, free: 14.94 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.1606, allocations: 0 / 0.685 GB, free: 14.94 MB / 494.1 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.0002174/0.1608, allocations: 316.5 kB / 0.6853 GB, free: 14.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.1608, allocations: 8.031 kB / 0.6853 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.1609, allocations: 0 / 0.6853 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.588e-05/0.1609, allocations: 165.1 kB / 0.6855 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.161, allocations: 0 / 0.6855 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.161, allocations: 4 kB / 0.6855 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.975e-05/0.161, allocations: 29.69 kB / 0.6855 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.1611, allocations: 2.406 kB / 0.6855 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-06/0.1611, allocations: 0 / 0.6855 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1611, allocations: 0 / 0.6855 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.729e-05/0.1611, allocations: 7.938 kB / 0.6855 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.1612, allocations: 149.6 kB / 0.6857 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.122e-05/0.1613, allocations: 15.08 kB / 0.6857 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.1613, allocations: 10.17 kB / 0.6857 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.1615, allocations: 89.09 kB / 0.6858 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.1615, allocations: 32 kB / 0.6858 GB, free: 13.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.044e-06/0.1615, allocations: 3.984 kB / 0.6858 GB, free: 13.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001097/0.1616, allocations: 38.38 kB / 0.6858 GB, free: 13.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.1616, allocations: 54.22 kB / 0.6859 GB, free: 13.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.033e-05/0.1617, allocations: 89.86 kB / 0.686 GB, free: 13.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.1617, allocations: 25.7 kB / 0.686 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.119e-05/0.1617, allocations: 80.14 kB / 0.6861 GB, free: 13.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1617, allocations: 4 kB / 0.6861 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-06/0.1618, allocations: 0 / 0.6861 GB, free: 13.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.1618, allocations: 320.5 kB / 0.6864 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.941e-06/0.1619, allocations: 0 / 0.6864 GB, free: 13.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-06/0.1619, allocations: 0 / 0.6864 GB, free: 13.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.411e-05/0.1619, allocations: 7.938 kB / 0.6864 GB, free: 13.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1619, allocations: 1.719 kB / 0.6864 GB, free: 13.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.155e-05/0.162, allocations: 41.56 kB / 0.6864 GB, free: 13.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.162, allocations: 5.875 kB / 0.6864 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.162, allocations: 0 / 0.6864 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.076e-06/0.162, allocations: 4.719 kB / 0.6865 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.915e-05/0.162, allocations: 0 / 0.6865 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.162, allocations: 0.875 kB / 0.6865 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-06/0.1621, allocations: 288 / 0.6865 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.1621, allocations: 0.625 kB / 0.6865 GB, free: 13.25 MB / 494.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.857e-05/0.1621, allocations: 115.9 kB / 0.6866 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.1622, allocations: 0 / 0.6866 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.899e-05/0.1622, allocations: 45.41 kB / 0.6866 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1622, allocations: 0 / 0.6866 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1623, allocations: 4.25 kB / 0.6866 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1623, allocations: 4 kB / 0.6866 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.962e-05/0.1623, allocations: 157.6 kB / 0.6868 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1624, allocations: 0 / 0.6868 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.006e-05/0.1624, allocations: 0 / 0.6868 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1624, allocations: 0 / 0.6868 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.1624, allocations: 0 / 0.6868 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1624, allocations: 0 / 0.6868 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1624, allocations: 0 / 0.6868 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.854e-05/0.1625, allocations: 65.05 kB / 0.6868 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.747e-05/0.1625, allocations: 85.05 kB / 0.6869 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-06/0.1625, allocations: 0 / 0.6869 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-06/0.1625, allocations: 0 / 0.6869 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-06/0.1625, allocations: 4 kB / 0.6869 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.1625, allocations: 0 / 0.6869 GB, free: 12.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.172e-05/0.1626, allocations: 75.28 kB / 0.687 GB, free: 12.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1626, allocations: 0 / 0.687 GB, free: 12.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001909/0.1628, allocations: 8 kB / 0.687 GB, free: 12.59 MB / 494.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.1629, allocations: 123.2 kB / 0.6871 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.015e-05/0.163, allocations: 8 kB / 0.6871 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.163, allocations: 3.938 kB / 0.6871 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.013e-06/0.163, allocations: 4 kB / 0.6871 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.1631, allocations: 0 / 0.6871 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001333/0.1633, allocations: 78.88 kB / 0.6872 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.1634, allocations: 0.6692 MB / 0.6879 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.798e-06/0.1635, allocations: 4 kB / 0.6879 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.358e-06/0.1635, allocations: 7.438 kB / 0.6879 GB, free: 11.64 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1635, allocations: 0 / 0.6879 GB, free: 11.64 MB / 494.1 MB Notification: Performance of Templates: time 0.002043/0.1655, allocations: 401 kB / 0.6882 GB, free: 11.25 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)