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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.006949/0.006949, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001635/0.001635, allocations: 198.6 kB / 16.68 MB, free: 5.969 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002222/0.002223, allocations: 274.9 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9467/0.9467, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 95.66 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1724, allocations: 86.97 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001775/0.1743, allocations: 0.58 MB / 0.7665 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003674/0.1747, allocations: 103.5 kB / 0.7666 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.39e-05/0.1747, allocations: 4 kB / 0.7666 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.1747, allocations: 0 / 0.7666 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.753e-06/0.1747, allocations: 0 / 0.7666 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.1751, allocations: 39.84 kB / 0.7667 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.273e-05/0.1752, allocations: 0 / 0.7667 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.1752, allocations: 4 kB / 0.7667 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.299e-05/0.1752, allocations: 0 / 0.7667 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.886e-05/0.1753, allocations: 3.984 kB / 0.7667 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.1753, allocations: 0 / 0.7667 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.1754, allocations: 35.97 kB / 0.7667 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.295e-06/0.1755, allocations: 0 / 0.7667 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.725e-05/0.1755, allocations: 0 / 0.7667 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.1756, allocations: 36.11 kB / 0.7667 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1756, allocations: 0 / 0.7667 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1756, allocations: 4 kB / 0.7667 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1756, allocations: 7.938 kB / 0.7667 GB, free: 8.109 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00029/0.1759, allocations: 323.5 kB / 0.767 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.176, allocations: 8.031 kB / 0.7671 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.176, allocations: 30.75 kB / 0.7671 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.1761, allocations: 0.9375 kB / 0.7671 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.436e-05/0.1762, allocations: 160.4 kB / 0.7672 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1762, allocations: 384 / 0.7672 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.1762, allocations: 4.375 kB / 0.7672 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.703e-05/0.1763, allocations: 30.27 kB / 0.7673 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1763, allocations: 7.922 kB / 0.7673 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.1763, allocations: 0 / 0.7673 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1763, allocations: 0 / 0.7673 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.1763, allocations: 7.938 kB / 0.7673 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.1765, allocations: 145.7 kB / 0.7674 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.841e-05/0.1765, allocations: 14.58 kB / 0.7674 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.1766, allocations: 12.95 kB / 0.7675 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.1768, allocations: 85.09 kB / 0.7675 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1768, allocations: 30.56 kB / 0.7676 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1768, allocations: 0 / 0.7676 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001533/0.177, allocations: 45.56 kB / 0.7676 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.177, allocations: 51.41 kB / 0.7677 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.525e-05/0.1771, allocations: 89.86 kB / 0.7677 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1771, allocations: 25.83 kB / 0.7678 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.654e-05/0.1771, allocations: 88.14 kB / 0.7678 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.1772, allocations: 3.953 kB / 0.7679 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.1772, allocations: 9.719 kB / 0.7679 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1773, allocations: 314.8 kB / 0.7682 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.1773, allocations: 4 kB / 0.7682 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.1773, allocations: 0 / 0.7682 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.509e-05/0.1774, allocations: 4.859 kB / 0.7682 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1774, allocations: 12 kB / 0.7682 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.937e-05/0.1774, allocations: 33.69 kB / 0.7682 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1775, allocations: 4 kB / 0.7682 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1775, allocations: 3.938 kB / 0.7682 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1775, allocations: 0 / 0.7682 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-05/0.1775, allocations: 4 kB / 0.7682 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1776, allocations: 7.938 kB / 0.7682 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.968e-06/0.1776, allocations: 0 / 0.7682 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1776, allocations: 3.984 kB / 0.7682 GB, free: 6.32 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 (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 7.405e-05/0.1777, allocations: 118.5 kB / 0.7684 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.1777, allocations: 3.984 kB / 0.7684 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.898e-05/0.1778, allocations: 44.69 kB / 0.7684 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1778, allocations: 3.938 kB / 0.7684 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1778, allocations: 0 / 0.7684 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1778, allocations: 0 / 0.7684 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.272e-05/0.1779, allocations: 145.7 kB / 0.7685 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1779, allocations: 0 / 0.7685 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.1779, allocations: 4 kB / 0.7685 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1779, allocations: 4.031 kB / 0.7685 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1779, allocations: 3.938 kB / 0.7686 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1779, allocations: 0 / 0.7686 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1779, allocations: 0 / 0.7686 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.096e-05/0.178, allocations: 61.12 kB / 0.7686 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.1781, allocations: 77.11 kB / 0.7687 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1781, allocations: 3.938 kB / 0.7687 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-06/0.1781, allocations: 3.938 kB / 0.7687 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.1781, allocations: 4.031 kB / 0.7687 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.1781, allocations: 4 kB / 0.7687 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.586e-05/0.1782, allocations: 75.28 kB / 0.7688 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1782, allocations: 0 / 0.7688 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002058/0.1784, allocations: 7.938 kB / 0.7688 GB, free: 5.668 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 (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.0004271/0.1788, allocations: 0.6125 MB / 0.7694 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.422e-05/0.1789, allocations: 11.94 kB / 0.7694 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1789, allocations: 0 / 0.7694 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.591e-06/0.1789, allocations: 0 / 0.7694 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.1791, allocations: 4.406 kB / 0.7694 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.1794, allocations: 110.7 kB / 0.7695 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.1796, allocations: 0.6768 MB / 0.7702 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.113e-05/0.1796, allocations: 3.938 kB / 0.7702 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.1797, allocations: 11.44 kB / 0.7702 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.1797, allocations: 0 / 0.7702 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.1968, allocations: 1.164 MB / 0.7713 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.476, allocations: 6.875 kB / 0.7713 GB, free: 3.113 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.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_Functions_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)