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.001281/0.001281, 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.00141/0.00141, allocations: 197.5 kB / 16.53 MB, free: 6.66 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002443/0.002443, allocations: 286.6 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.051/1.051, allocations: 178.6 MB / 0.5073 GB, free: 4.594 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002618, allocations: 107.8 kB / 0.6066 GB, free: 24.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1624, allocations: 89.15 MB / 0.6936 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001784/0.1642, allocations: 0.5759 MB / 0.6942 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003556/0.1646, allocations: 113.1 kB / 0.6943 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.072e-05/0.1646, allocations: 0 / 0.6943 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.1646, allocations: 0 / 0.6943 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.458e-06/0.1646, allocations: 0.5938 kB / 0.6943 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.165, allocations: 34.44 kB / 0.6943 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.006e-05/0.165, allocations: 0 / 0.6943 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.165, allocations: 7.984 kB / 0.6943 GB, free: 3.484 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.123e-05/0.1651, allocations: 0 / 0.6943 GB, free: 3.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.725e-05/0.1651, allocations: 4 kB / 0.6943 GB, free: 3.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.585e-06/0.1651, allocations: 0 / 0.6943 GB, free: 3.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.1652, allocations: 31.97 kB / 0.6944 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-06/0.1653, allocations: 5.562 kB / 0.6944 GB, free: 3.445 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.736e-05/0.1653, allocations: 7.984 kB / 0.6944 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.892e-05/0.1654, allocations: 23.97 kB / 0.6944 GB, free: 3.414 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1654, allocations: 7.938 kB / 0.6944 GB, free: 3.406 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1654, allocations: 0 / 0.6944 GB, free: 3.406 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1654, allocations: 0.6562 kB / 0.6944 GB, free: 3.406 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.0003216/0.1657, allocations: 313.2 kB / 0.6947 GB, free: 3.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1658, allocations: 12.02 kB / 0.6947 GB, free: 3.039 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.1658, allocations: 30.75 kB / 0.6947 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.1659, allocations: 0.9375 kB / 0.6947 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.166, allocations: 168.4 kB / 0.6949 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.166, allocations: 384 / 0.6949 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.166, allocations: 384 / 0.6949 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.1661, allocations: 30.27 kB / 0.6949 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1661, allocations: 3.938 kB / 0.6949 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.1661, allocations: 3.938 kB / 0.6949 GB, free: 2.754 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1662, allocations: 3.938 kB / 0.6949 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.1662, allocations: 4 kB / 0.6949 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.1663, allocations: 149.7 kB / 0.6951 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.843e-05/0.1664, allocations: 18.61 kB / 0.6951 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.1664, allocations: 8.859 kB / 0.6951 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/0.1666, allocations: 85.16 kB / 0.6952 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.1667, allocations: 30.56 kB / 0.6952 GB, free: 2.371 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/0.1667, allocations: 0 / 0.6952 GB, free: 2.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.1668, allocations: 37.7 kB / 0.6953 GB, free: 2.328 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.1668, allocations: 55.41 kB / 0.6953 GB, free: 2.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.599e-05/0.1669, allocations: 93.86 kB / 0.6954 GB, free: 2.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1669, allocations: 29.69 kB / 0.6954 GB, free: 2.125 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.167, allocations: 84.14 kB / 0.6955 GB, free: 2.039 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.167, allocations: 3.906 kB / 0.6955 GB, free: 2.035 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.167, allocations: 9.719 kB / 0.6955 GB, free: 2.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1672, allocations: 314.8 kB / 0.6958 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-06/0.1672, allocations: 0 / 0.6958 GB, free: 1.703 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-06/0.1672, allocations: 4 kB / 0.6958 GB, free: 1.699 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.1672, allocations: 12.8 kB / 0.6958 GB, free: 1.684 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1672, allocations: 0 / 0.6958 GB, free: 1.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.961e-05/0.1673, allocations: 37.69 kB / 0.6959 GB, free: 1.641 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1673, allocations: 7.938 kB / 0.6959 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1673, allocations: 3.938 kB / 0.6959 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1673, allocations: 4 kB / 0.6959 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.011e-05/0.1674, allocations: 0 / 0.6959 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1674, allocations: 4.094 kB / 0.6959 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-06/0.1674, allocations: 0 / 0.6959 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.1674, allocations: 0 / 0.6959 GB, free: 1.621 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 6.661e-05/0.1675, allocations: 110.1 kB / 0.696 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.1675, allocations: 0 / 0.696 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.675e-05/0.1676, allocations: 48.69 kB / 0.6961 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1676, allocations: 3.984 kB / 0.6961 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1676, allocations: 4 kB / 0.6961 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1676, allocations: 0 / 0.6961 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.894e-05/0.1677, allocations: 153.7 kB / 0.6962 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1677, allocations: 0 / 0.6962 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.246e-05/0.1678, allocations: 3.984 kB / 0.6962 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.1678, allocations: 0 / 0.6962 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.1678, allocations: 3.938 kB / 0.6962 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1678, allocations: 0 / 0.6962 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1678, allocations: 0 / 0.6962 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.029e-05/0.1679, allocations: 57.14 kB / 0.6963 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.1679, allocations: 89.02 kB / 0.6964 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.1679, allocations: 7.922 kB / 0.6964 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.352e-06/0.1679, allocations: 0 / 0.6964 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.168, allocations: 4 kB / 0.6964 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.168, allocations: 0 / 0.6964 GB, free: 1.047 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.211e-05/0.168, allocations: 77.3 kB / 0.6964 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.168, allocations: 0 / 0.6964 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001923/0.1682, allocations: 8 kB / 0.6964 GB, free: 0.9648 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.0004527/0.1687, allocations: 0.6124 MB / 0.697 GB, free: 328 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.815e-05/0.1687, allocations: 7.938 kB / 0.697 GB, free: 320 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1687, allocations: 0 / 0.697 GB, free: 320 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.869e-06/0.1688, allocations: 8.078 kB / 0.6971 GB, free: 312 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.1689, allocations: 4.75 kB / 0.6971 GB, free: 308 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.1692, allocations: 110.7 kB / 0.6972 GB, free: 156 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.1695, allocations: 0.669 MB / 0.6978 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.292e-05/0.1695, allocations: 3.984 kB / 0.6978 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.1696, allocations: 7.438 kB / 0.6978 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1696, allocations: 0 / 0.6978 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.1919, allocations: 1.146 MB / 0.699 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/7.508, allocations: 17.55 kB / 0.699 GB, free: 14.41 MB / 0.4981 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)