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.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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001049/0.001049, allocations: 105.8 kB / 16.36 MB, free: 6.34 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.0009772/0.0009772, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.254/1.254, 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.003076/0.003076, allocations: 286.9 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.893/0.893, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 94.39 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1546, allocations: 86.97 MB / 0.6816 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002404/0.157, allocations: 1.434 MB / 0.683 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003782/0.1574, allocations: 164.3 kB / 0.6831 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.1575, allocations: 0 / 0.6831 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.1575, allocations: 3.938 kB / 0.6832 GB, free: 5.879 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.429e-05/0.1576, allocations: 3.938 kB / 0.6832 GB, free: 5.875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.1578, allocations: 35.91 kB / 0.6832 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.21e-05/0.1579, allocations: 19.92 kB / 0.6832 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.239e-05/0.158, allocations: 11.98 kB / 0.6832 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.13e-05/0.158, allocations: 3.938 kB / 0.6832 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.585e-05/0.1581, allocations: 15.98 kB / 0.6832 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1581, allocations: 4 kB / 0.6832 GB, free: 5.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1582, allocations: 31.97 kB / 0.6833 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.1582, allocations: 7.938 kB / 0.6833 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.1582, allocations: 15.98 kB / 0.6833 GB, free: 5.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.1584, allocations: 47.81 kB / 0.6833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1584, allocations: 0 / 0.6833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1584, allocations: 0 / 0.6833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1584, allocations: 0 / 0.6833 GB, free: 5.684 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003802/0.1588, allocations: 347.5 kB / 0.6837 GB, free: 5.293 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.1588, allocations: 8.031 kB / 0.6837 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.1589, allocations: 4.844 kB / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.159, allocations: 168.4 kB / 0.6838 GB, free: 5.078 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.159, allocations: 384 / 0.6838 GB, free: 5.078 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.159, allocations: 4.312 kB / 0.6838 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1592, allocations: 50.23 kB / 0.6839 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.1592, allocations: 192 / 0.6839 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.1592, allocations: 3.938 kB / 0.6839 GB, free: 5.016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1592, allocations: 4 kB / 0.6839 GB, free: 5.012 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.1593, allocations: 35.91 kB / 0.6839 GB, free: 4.977 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.1596, allocations: 245 kB / 0.6842 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.1598, allocations: 38.5 kB / 0.6842 GB, free: 4.641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.1598, allocations: 28.91 kB / 0.6842 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.16, allocations: 89.08 kB / 0.6843 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.16, allocations: 30.56 kB / 0.6844 GB, free: 4.465 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.324e-06/0.16, allocations: 0 / 0.6844 GB, free: 4.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003185/0.1604, allocations: 85.58 kB / 0.6844 GB, free: 4.375 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.1604, allocations: 55.53 kB / 0.6845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.098e-05/0.1605, allocations: 105.8 kB / 0.6846 GB, free: 4.195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1605, allocations: 25.7 kB / 0.6846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.1605, allocations: 80.14 kB / 0.6847 GB, free: 4.082 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.1606, allocations: 11.84 kB / 0.6847 GB, free: 4.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.1606, allocations: 9.719 kB / 0.6847 GB, free: 4.055 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1607, allocations: 322.8 kB / 0.685 GB, free: 3.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/0.1608, allocations: 15.98 kB / 0.685 GB, free: 3.715 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.571e-05/0.1609, allocations: 15.98 kB / 0.685 GB, free: 3.699 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.161, allocations: 44.75 kB / 0.6851 GB, free: 3.652 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.161, allocations: 0 / 0.6851 GB, free: 3.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001889/0.1612, allocations: 73.58 kB / 0.6852 GB, free: 3.574 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.1612, allocations: 4 kB / 0.6852 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.1612, allocations: 0 / 0.6852 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1612, allocations: 0 / 0.6852 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.1613, allocations: 11.98 kB / 0.6852 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1613, allocations: 0 / 0.6852 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.1614, allocations: 15.92 kB / 0.6852 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.1614, allocations: 0 / 0.6852 GB, free: 3.543 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 (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 6.882e-05/0.1615, allocations: 113.8 kB / 0.6853 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.1615, allocations: 8.031 kB / 0.6853 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.1617, allocations: 68.72 kB / 0.6854 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1617, allocations: 0 / 0.6854 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1617, allocations: 3.938 kB / 0.6854 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1617, allocations: 0 / 0.6854 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.1619, allocations: 165.6 kB / 0.6855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1619, allocations: 0 / 0.6855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.1619, allocations: 11.98 kB / 0.6855 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.162, allocations: 4.031 kB / 0.6855 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.162, allocations: 0 / 0.6855 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.162, allocations: 0 / 0.6855 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.162, allocations: 4 kB / 0.6856 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.1622, allocations: 159.4 kB / 0.6857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.1622, allocations: 85.02 kB / 0.6858 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.1623, allocations: 4.031 kB / 0.6858 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.1623, allocations: 7.984 kB / 0.6858 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.1624, allocations: 4 kB / 0.6858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1624, allocations: 0 / 0.6858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.799e-05/0.1624, allocations: 79.28 kB / 0.6859 GB, free: 2.738 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1624, allocations: 0 / 0.6859 GB, free: 2.738 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.1627, allocations: 12 kB / 0.6859 GB, free: 2.727 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 (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.0001513/0.1628, allocations: 115.2 kB / 0.686 GB, free: 2.602 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.163, allocations: 39.95 kB / 0.686 GB, free: 2.562 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.163, allocations: 0 / 0.686 GB, free: 2.562 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.649e-05/0.1631, allocations: 19.92 kB / 0.6861 GB, free: 2.543 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.1634, allocations: 21.31 kB / 0.6861 GB, free: 2.523 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.1636, allocations: 101.6 kB / 0.6862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.1638, allocations: 0.6768 MB / 0.6868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.807e-05/0.1638, allocations: 0 / 0.6868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.1638, allocations: 11.44 kB / 0.6868 GB, free: 1.684 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1639, allocations: 0 / 0.6868 GB, free: 1.684 MB / 494.1 MB Notification: Performance of Templates: time 0.002546/0.1664, allocations: 0.6381 MB / 0.6875 GB, free: 1.047 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.makefile (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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)