Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001488/0.001488, allocations: 177.3 kB / 15.95 MB, free: 216 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.326/1.326, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9865/0.9865, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003231, allocations: 12 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1522, allocations: 83.41 MB / 0.5973 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00135/0.1535, allocations: 1.14 MB / 0.5984 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003241/0.1539, allocations: 156.5 kB / 0.5985 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.768e-05/0.1539, allocations: 0 / 0.5985 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.1539, allocations: 0 / 0.5985 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.258e-05/0.154, allocations: 0 / 0.5985 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.1542, allocations: 35.89 kB / 0.5986 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.006e-05/0.1543, allocations: 8 kB / 0.5986 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.623e-05/0.1543, allocations: 7.984 kB / 0.5986 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.029e-05/0.1544, allocations: 7.984 kB / 0.5986 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.556e-05/0.1544, allocations: 15.92 kB / 0.5986 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.118e-06/0.1544, allocations: 0 / 0.5986 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1545, allocations: 39.91 kB / 0.5987 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.386e-06/0.1546, allocations: 4 kB / 0.5987 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.1546, allocations: 29.64 kB / 0.5987 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.037e-05/0.1547, allocations: 35.94 kB / 0.5987 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.1547, allocations: 0 / 0.5987 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1547, allocations: 0 / 0.5987 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.785e-06/0.1547, allocations: 4 kB / 0.5987 GB, free: 6.316 MB / 0.4981 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.0003981/0.1551, allocations: 339.5 kB / 0.599 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.1551, allocations: 12.03 kB / 0.5991 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.1552, allocations: 0 / 0.5991 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1553, allocations: 171 kB / 0.5992 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1553, allocations: 4 kB / 0.5992 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.1553, allocations: 4 kB / 0.5992 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1555, allocations: 53.67 kB / 0.5993 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.1555, allocations: 0 / 0.5993 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.1555, allocations: 0 / 0.5993 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.1555, allocations: 0 / 0.5993 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.1557, allocations: 47.91 kB / 0.5993 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.156, allocations: 248.9 kB / 0.5996 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1561, allocations: 42.56 kB / 0.5996 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.1563, allocations: 89.16 kB / 0.5997 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1563, allocations: 30.56 kB / 0.5997 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1563, allocations: 0 / 0.5997 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003645/0.1567, allocations: 101.6 kB / 0.5998 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.1568, allocations: 51.41 kB / 0.5999 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.34e-05/0.1568, allocations: 109.8 kB / 0.6 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.1569, allocations: 29.64 kB / 0.6 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.1569, allocations: 84.05 kB / 0.6001 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.1569, allocations: 0 / 0.6001 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.1569, allocations: 8.062 kB / 0.6001 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.157, allocations: 318.8 kB / 0.6004 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-05/0.1571, allocations: 15.98 kB / 0.6004 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.703e-05/0.1572, allocations: 27.97 kB / 0.6004 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.901e-05/0.1573, allocations: 20.05 kB / 0.6005 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1573, allocations: 0 / 0.6005 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00021/0.1575, allocations: 85.5 kB / 0.6005 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1575, allocations: 12.03 kB / 0.6005 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1575, allocations: 4 kB / 0.6005 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.1576, allocations: 0 / 0.6005 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.1576, allocations: 8 kB / 0.6006 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.1577, allocations: 0 / 0.6006 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.1577, allocations: 11.98 kB / 0.6006 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1577, allocations: 3.953 kB / 0.6006 GB, free: 4.191 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.892e-05/0.1578, allocations: 109.8 kB / 0.6007 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.1578, allocations: 4 kB / 0.6007 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.1581, allocations: 84.7 kB / 0.6008 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.1581, allocations: 4.188 kB / 0.6008 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1581, allocations: 4.031 kB / 0.6008 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1581, allocations: 3.984 kB / 0.6008 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.1582, allocations: 157.6 kB / 0.6009 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1583, allocations: 0 / 0.6009 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/0.1583, allocations: 11.98 kB / 0.6009 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1583, allocations: 0 / 0.6009 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.1583, allocations: 0 / 0.6009 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1583, allocations: 0 / 0.6009 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1583, allocations: 4 kB / 0.6009 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.1586, allocations: 179.4 kB / 0.6011 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.1586, allocations: 84.95 kB / 0.6012 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.1587, allocations: 0 / 0.6012 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.1587, allocations: 16.02 kB / 0.6012 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.1588, allocations: 0 / 0.6012 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.1588, allocations: 0 / 0.6012 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.1588, allocations: 87.2 kB / 0.6013 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1588, allocations: 3.938 kB / 0.6013 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002418/0.1591, allocations: 20 kB / 0.6013 GB, free: 3.34 MB / 0.4981 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 (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.0001722/0.1593, allocations: 119.2 kB / 0.6014 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.1595, allocations: 39.97 kB / 0.6015 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1595, allocations: 4 kB / 0.6015 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.687e-05/0.1596, allocations: 24.05 kB / 0.6015 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.1598, allocations: 7.953 kB / 0.6015 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.16, allocations: 104.7 kB / 0.6016 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.1602, allocations: 0.6809 MB / 0.6023 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.983e-05/0.1602, allocations: 64 / 0.6023 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.1603, allocations: 11.44 kB / 0.6023 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1603, allocations: 4 kB / 0.6023 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of Templates: time 0.00244/0.1627, allocations: 0.5713 MB / 0.6028 GB, free: 1.719 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) Environment - environmentSimulation: