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.007593/0.007593, allocations: 101.5 kB / 15.73 MB, free: 6.453 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.001699/0.001699, allocations: 194.8 kB / 16.67 MB, free: 6.355 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 282.5 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9763/0.9763, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 95.92 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1682, allocations: 86.98 MB / 0.7659 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00241/0.1707, allocations: 1.439 MB / 0.7673 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003911/0.1711, allocations: 156.4 kB / 0.7675 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.1712, allocations: 0 / 0.7675 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.1712, allocations: 3.938 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.964e-05/0.1712, allocations: 0 / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.1716, allocations: 39.84 kB / 0.7675 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.965e-05/0.1716, allocations: 19.98 kB / 0.7675 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.612e-05/0.1717, allocations: 11.98 kB / 0.7675 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.26e-05/0.1717, allocations: 11.94 kB / 0.7676 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.121e-05/0.1718, allocations: 7.984 kB / 0.7676 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.1718, allocations: 4 kB / 0.7676 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1719, allocations: 39.91 kB / 0.7676 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.1719, allocations: 7.938 kB / 0.7676 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.172, allocations: 7.984 kB / 0.7676 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.1721, allocations: 48.09 kB / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1721, allocations: 0 / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1721, allocations: 0 / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1721, allocations: 0 / 0.7677 GB, free: 7.074 MB / 0.5606 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.0003946/0.1725, allocations: 347.4 kB / 0.768 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1726, allocations: 8.031 kB / 0.768 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.1726, allocations: 38.69 kB / 0.768 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.1726, allocations: 0.9375 kB / 0.768 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.629e-05/0.1727, allocations: 168.3 kB / 0.7682 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1728, allocations: 4.375 kB / 0.7682 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.1728, allocations: 4.375 kB / 0.7682 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.173, allocations: 58.17 kB / 0.7683 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.173, allocations: 3.938 kB / 0.7683 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.173, allocations: 3.938 kB / 0.7683 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.173, allocations: 0 / 0.7683 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.1732, allocations: 31.97 kB / 0.7683 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/0.1735, allocations: 256.8 kB / 0.7685 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1736, allocations: 42.5 kB / 0.7686 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.1737, allocations: 16.91 kB / 0.7686 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.1738, allocations: 89.09 kB / 0.7687 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.1739, allocations: 30.56 kB / 0.7687 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1739, allocations: 0 / 0.7687 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003527/0.1742, allocations: 85.58 kB / 0.7688 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.1743, allocations: 51.41 kB / 0.7688 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.302e-05/0.1743, allocations: 105.8 kB / 0.7689 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.1744, allocations: 25.7 kB / 0.769 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.1744, allocations: 88.12 kB / 0.7691 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.1744, allocations: 3.953 kB / 0.7691 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.1745, allocations: 13.72 kB / 0.7691 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.1745, allocations: 319 kB / 0.7694 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.049e-05/0.1746, allocations: 15.98 kB / 0.7694 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.015e-05/0.1747, allocations: 15.98 kB / 0.7694 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.1749, allocations: 40.81 kB / 0.7694 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1749, allocations: 3.938 kB / 0.7695 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002008/0.1751, allocations: 69.67 kB / 0.7695 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1751, allocations: 4 kB / 0.7695 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1751, allocations: 4.188 kB / 0.7695 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1751, allocations: 0 / 0.7695 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.1752, allocations: 7.984 kB / 0.7695 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1752, allocations: 0 / 0.7695 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.1753, allocations: 11.97 kB / 0.7695 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.1753, allocations: 0 / 0.7695 GB, free: 4.891 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/0.1754, allocations: 118.5 kB / 0.7697 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.1754, allocations: 3.953 kB / 0.7697 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.1756, allocations: 76.72 kB / 0.7697 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1756, allocations: 0 / 0.7697 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1757, allocations: 0 / 0.7697 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1757, allocations: 7.922 kB / 0.7697 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.1758, allocations: 157.6 kB / 0.7699 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1758, allocations: 4 kB / 0.7699 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.1759, allocations: 11.98 kB / 0.7699 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1759, allocations: 0 / 0.7699 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1759, allocations: 0 / 0.7699 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1759, allocations: 0 / 0.7699 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1759, allocations: 0 / 0.7699 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.1762, allocations: 175.4 kB / 0.7701 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.1762, allocations: 77.11 kB / 0.7701 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1763, allocations: 4 kB / 0.7702 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.473e-05/0.1764, allocations: 11.92 kB / 0.7702 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.1764, allocations: 4 kB / 0.7702 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.1764, allocations: 0 / 0.7702 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.709e-05/0.1765, allocations: 83.28 kB / 0.7702 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.71e-07/0.1765, allocations: 0 / 0.7702 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002477/0.1767, allocations: 15.92 kB / 0.7703 GB, free: 4.059 MB / 0.5606 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 (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.000638/0.1774, allocations: 0.7085 MB / 0.771 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.1776, allocations: 43.89 kB / 0.771 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1776, allocations: 0 / 0.771 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.543e-05/0.1777, allocations: 19.98 kB / 0.771 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.178, allocations: 0 / 0.771 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.1785, allocations: 139.2 kB / 0.7711 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1788, allocations: 0.6768 MB / 0.7718 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.1788, allocations: 0 / 0.7718 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.1789, allocations: 11.44 kB / 0.7718 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1789, allocations: 0 / 0.7718 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.196, allocations: 1.527 MB / 0.7733 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.292/7.488, allocations: 14.56 kB / 0.7733 GB, free: 0.9453 MB / 0.5606 GB (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)