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.00121/0.00121, allocations: 108.7 kB / 16.37 MB, free: 6.016 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.001261/0.001261, allocations: 197.4 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 280.2 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9018/0.9018, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 99.42 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1554, allocations: 86.97 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001792/0.1573, allocations: 0.5798 MB / 0.6822 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003262/0.1576, allocations: 107.8 kB / 0.6823 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.07e-05/0.1576, allocations: 0 / 0.6823 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.097e-05/0.1576, allocations: 3.938 kB / 0.6823 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.679e-06/0.1577, allocations: 0 / 0.6823 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.158, allocations: 27.91 kB / 0.6823 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.372e-05/0.158, allocations: 0 / 0.6823 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.1581, allocations: 4 kB / 0.6823 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.251e-05/0.1581, allocations: 0 / 0.6823 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.66e-05/0.1581, allocations: 7.984 kB / 0.6823 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.736e-06/0.1581, allocations: 0 / 0.6823 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.1583, allocations: 35.91 kB / 0.6824 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.178e-06/0.1583, allocations: 0 / 0.6824 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.1583, allocations: 11.94 kB / 0.6824 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.755e-05/0.1584, allocations: 27.95 kB / 0.6824 GB, free: 6.656 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1584, allocations: 4 kB / 0.6824 GB, free: 6.652 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1584, allocations: 0 / 0.6824 GB, free: 6.652 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1584, allocations: 0 / 0.6824 GB, free: 6.652 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.0002501/0.1587, allocations: 315.6 kB / 0.6827 GB, free: 6.293 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.1587, allocations: 12.03 kB / 0.6827 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.1588, allocations: 0.9375 kB / 0.6827 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.252e-05/0.1589, allocations: 160.4 kB / 0.6829 GB, free: 6.086 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-06/0.1589, allocations: 384 / 0.6829 GB, free: 6.086 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.1589, allocations: 8.312 kB / 0.6829 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.093e-05/0.159, allocations: 30.25 kB / 0.6829 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-06/0.159, allocations: 192 / 0.6829 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.159, allocations: 3.938 kB / 0.6829 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.159, allocations: 0 / 0.6829 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.905e-05/0.159, allocations: 4 kB / 0.6829 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.1591, allocations: 149.7 kB / 0.6831 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.061e-05/0.1592, allocations: 14.58 kB / 0.6831 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.1592, allocations: 12.89 kB / 0.6831 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.1594, allocations: 89.09 kB / 0.6832 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.1594, allocations: 30.56 kB / 0.6832 GB, free: 5.656 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1594, allocations: 0 / 0.6832 GB, free: 5.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001131/0.1595, allocations: 41.62 kB / 0.6832 GB, free: 5.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.1595, allocations: 51.41 kB / 0.6833 GB, free: 5.547 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.012e-05/0.1596, allocations: 89.86 kB / 0.6834 GB, free: 5.449 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.1596, allocations: 29.64 kB / 0.6834 GB, free: 5.414 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.134e-05/0.1596, allocations: 84.14 kB / 0.6835 GB, free: 5.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.1597, allocations: 0 / 0.6835 GB, free: 5.328 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.1597, allocations: 13.72 kB / 0.6835 GB, free: 5.309 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.393e-05/0.1598, allocations: 311 kB / 0.6838 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.1598, allocations: 11.94 kB / 0.6838 GB, free: 4.984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.1598, allocations: 3.938 kB / 0.6838 GB, free: 4.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.857e-05/0.1598, allocations: 4.859 kB / 0.6838 GB, free: 4.973 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1598, allocations: 4 kB / 0.6838 GB, free: 4.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.759e-05/0.1599, allocations: 33.69 kB / 0.6838 GB, free: 4.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.1599, allocations: 4 kB / 0.6838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1599, allocations: 0 / 0.6838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1599, allocations: 3.938 kB / 0.6839 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.182e-05/0.16, allocations: 8.094 kB / 0.6839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.16, allocations: 0 / 0.6839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.16, allocations: 4 kB / 0.6839 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.16, allocations: 0 / 0.6839 GB, free: 4.91 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.629e-05/0.1601, allocations: 109.8 kB / 0.684 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.1601, allocations: 7.984 kB / 0.684 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.356e-05/0.1602, allocations: 40.7 kB / 0.684 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.1602, allocations: 0 / 0.684 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1602, allocations: 8.031 kB / 0.684 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.1602, allocations: 0 / 0.684 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.575e-05/0.1603, allocations: 153.7 kB / 0.6842 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1603, allocations: 0 / 0.6842 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.13e-05/0.1603, allocations: 4 kB / 0.6842 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1603, allocations: 0 / 0.6842 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.1603, allocations: 3.938 kB / 0.6842 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.1603, allocations: 0 / 0.6842 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1603, allocations: 0 / 0.6842 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.928e-05/0.1604, allocations: 65.06 kB / 0.6842 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.1604, allocations: 77.11 kB / 0.6843 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.816e-06/0.1604, allocations: 3.938 kB / 0.6843 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-06/0.1604, allocations: 4 kB / 0.6843 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.1605, allocations: 0 / 0.6843 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.1605, allocations: 4 kB / 0.6843 GB, free: 4.336 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.095e-05/0.1605, allocations: 79.22 kB / 0.6844 GB, free: 4.258 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1605, allocations: 0 / 0.6844 GB, free: 4.258 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001826/0.1607, allocations: 4 kB / 0.6844 GB, free: 4.254 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 (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.0001496/0.1608, allocations: 119.3 kB / 0.6845 GB, free: 4.125 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.406e-05/0.1609, allocations: 4 kB / 0.6845 GB, free: 4.121 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1609, allocations: 0 / 0.6845 GB, free: 4.121 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.935e-06/0.1609, allocations: 7.938 kB / 0.6845 GB, free: 4.113 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.161, allocations: 3.938 kB / 0.6845 GB, free: 4.109 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001547/0.1612, allocations: 85.09 kB / 0.6846 GB, free: 4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.1614, allocations: 0.6729 MB / 0.6853 GB, free: 3.301 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.516e-06/0.1614, allocations: 0 / 0.6853 GB, free: 3.301 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.023e-05/0.1615, allocations: 11.38 kB / 0.6853 GB, free: 3.289 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1615, allocations: 0 / 0.6853 GB, free: 3.289 MB / 494.1 MB Notification: Performance of Templates: time 0.001985/0.1634, allocations: 402.2 kB / 0.6857 GB, free: 2.906 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)