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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001974/0.001974, allocations: 279 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9123/0.9123, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 95.59 kB / 0.5953 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1534, allocations: 86.97 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002498/0.1559, allocations: 1.428 MB / 0.6817 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003783/0.1563, allocations: 160.3 kB / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.1564, allocations: 0 / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.1564, allocations: 10 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.498e-05/0.1565, allocations: 0 / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.1567, allocations: 35.84 kB / 0.6819 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.846e-05/0.1568, allocations: 15.98 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.1569, allocations: 8.703 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.624e-05/0.1569, allocations: 15.92 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.157, allocations: 8.875 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.157, allocations: 0 / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.1571, allocations: 40.53 kB / 0.682 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.1571, allocations: 7.922 kB / 0.682 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.1572, allocations: 9.312 kB / 0.682 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.1573, allocations: 44.16 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1573, allocations: 4 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1573, allocations: 0.75 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1573, allocations: 0 / 0.682 GB, free: 14.82 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.0003872/0.1577, allocations: 349.4 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1577, allocations: 12.03 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.278e-05/0.1578, allocations: 34.69 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.1578, allocations: 4.844 kB / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1579, allocations: 172.4 kB / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.158, allocations: 384 / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.158, allocations: 384 / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1581, allocations: 54.17 kB / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.1582, allocations: 7.938 kB / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.1582, allocations: 0 / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1582, allocations: 0 / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.1584, allocations: 35.95 kB / 0.6827 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.1587, allocations: 244.9 kB / 0.6829 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1588, allocations: 46.48 kB / 0.6829 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/0.1589, allocations: 24.91 kB / 0.683 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.1591, allocations: 81.09 kB / 0.683 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.1591, allocations: 34.56 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1591, allocations: 0 / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003499/0.1595, allocations: 89.48 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.1595, allocations: 55.41 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.002e-05/0.1596, allocations: 93.86 kB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.1596, allocations: 29.64 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.1596, allocations: 92.11 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.1597, allocations: 11.84 kB / 0.6834 GB, free: 13.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.1597, allocations: 9.719 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.568e-05/0.1598, allocations: 319 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.1599, allocations: 15.98 kB / 0.6838 GB, free: 12.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.236e-05/0.1599, allocations: 19.97 kB / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1601, allocations: 36.83 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1601, allocations: 3.938 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002023/0.1603, allocations: 69.66 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1603, allocations: 8 kB / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1604, allocations: 0 / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1604, allocations: 0 / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.746e-05/0.1604, allocations: 7.984 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1605, allocations: 4 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.1605, allocations: 4 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.1605, allocations: 32 / 0.6839 GB, free: 12.64 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.454e-05/0.1606, allocations: 119.1 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.1606, allocations: 3.984 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.1609, allocations: 72.72 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1609, allocations: 0 / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1609, allocations: 0 / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1609, allocations: 3.938 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.161, allocations: 161.6 kB / 0.6843 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.161, allocations: 4 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.313e-05/0.1611, allocations: 11.98 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1611, allocations: 0 / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1611, allocations: 0 / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1611, allocations: 0 / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1611, allocations: 0 / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.1614, allocations: 167.6 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.1614, allocations: 89 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1614, allocations: 3.984 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-05/0.1615, allocations: 4 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.1616, allocations: 7.938 kB / 0.6845 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.1616, allocations: 0 / 0.6845 GB, free: 11.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.753e-05/0.1616, allocations: 83.27 kB / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1616, allocations: 0 / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1619, allocations: 8 kB / 0.6846 GB, free: 11.81 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.000596/0.1625, allocations: 0.7085 MB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.1627, allocations: 47.88 kB / 0.6854 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1627, allocations: 0 / 0.6854 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.066e-05/0.1628, allocations: 19.98 kB / 0.6854 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.1631, allocations: 3.984 kB / 0.6854 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.1636, allocations: 141.1 kB / 0.6855 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.1638, allocations: 0.6768 MB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.163e-05/0.1639, allocations: 0 / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.1639, allocations: 11.44 kB / 0.6862 GB, free: 10.11 MB / 494.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1639, allocations: 0 / 0.6862 GB, free: 10.11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.1799, allocations: 1.491 MB / 0.6876 GB, free: 8.719 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/7.077, allocations: 3.094 kB / 0.6876 GB, free: 8.719 MB / 494.1 MB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)