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.001529/0.001529, allocations: 108 kB / 15.61 MB, free: 148 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.001536/0.001536, allocations: 195.2 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002469/0.002469, allocations: 278.5 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002645/0.002645, allocations: 96.31 kB / 0.6065 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1588, allocations: 89.14 MB / 0.6936 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002683/0.1615, allocations: 1.435 MB / 0.695 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003927/0.1619, allocations: 163 kB / 0.6952 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.1619, allocations: 1.969 kB / 0.6952 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.428e-05/0.162, allocations: 0 / 0.6952 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.573e-05/0.162, allocations: 3.938 kB / 0.6952 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.1623, allocations: 43.88 kB / 0.6952 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.979e-05/0.1623, allocations: 19.94 kB / 0.6952 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.039e-05/0.1624, allocations: 6.625 kB / 0.6952 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.221e-05/0.1624, allocations: 11.92 kB / 0.6952 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.094e-05/0.1625, allocations: 7.984 kB / 0.6952 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1625, allocations: 4 kB / 0.6952 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1626, allocations: 43.83 kB / 0.6953 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.1626, allocations: 6.25 kB / 0.6953 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.1627, allocations: 11.94 kB / 0.6953 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.1628, allocations: 47.92 kB / 0.6954 GB, free: 2.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1628, allocations: 0 / 0.6954 GB, free: 2.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1628, allocations: 0 / 0.6954 GB, free: 2.457 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1628, allocations: 0 / 0.6954 GB, free: 2.457 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.0004361/0.1632, allocations: 352.3 kB / 0.6957 GB, free: 2.062 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.1633, allocations: 8.031 kB / 0.6957 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.1633, allocations: 30.75 kB / 0.6957 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.1634, allocations: 4.938 kB / 0.6957 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.1635, allocations: 160.4 kB / 0.6959 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.1635, allocations: 4.312 kB / 0.6959 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.1635, allocations: 4.375 kB / 0.6959 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1637, allocations: 50.17 kB / 0.6959 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1637, allocations: 3.938 kB / 0.6959 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.1637, allocations: 8 kB / 0.6959 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.1637, allocations: 0 / 0.6959 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.1639, allocations: 31.95 kB / 0.696 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.1642, allocations: 244.8 kB / 0.6962 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.1643, allocations: 46.47 kB / 0.6963 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.475e-05/0.1644, allocations: 28.91 kB / 0.6963 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.1646, allocations: 89.08 kB / 0.6964 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1646, allocations: 30.56 kB / 0.6964 GB, free: 1.191 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1647, allocations: 0 / 0.6964 GB, free: 1.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003422/0.165, allocations: 85.73 kB / 0.6965 GB, free: 1.102 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.165, allocations: 51.41 kB / 0.6965 GB, free: 1.039 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.94e-05/0.1651, allocations: 105.8 kB / 0.6966 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1652, allocations: 25.7 kB / 0.6967 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.1652, allocations: 84.14 kB / 0.6967 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.1652, allocations: 7.844 kB / 0.6967 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.1653, allocations: 17.72 kB / 0.6968 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1654, allocations: 310.8 kB / 0.6971 GB, free: 476 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.1655, allocations: 24 kB / 0.6971 GB, free: 452 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/0.1656, allocations: 11.98 kB / 0.6971 GB, free: 440 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1657, allocations: 36.83 kB / 0.6971 GB, free: 400 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1657, allocations: 3.938 kB / 0.6971 GB, free: 396 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002189/0.1659, allocations: 69.72 kB / 0.6972 GB, free: 320 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.166, allocations: 4 kB / 0.6972 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.166, allocations: 0 / 0.6972 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.166, allocations: 0 / 0.6972 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.1661, allocations: 19.92 kB / 0.6972 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1661, allocations: 0 / 0.6972 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.1661, allocations: 7.938 kB / 0.6972 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.1661, allocations: 3.984 kB / 0.6972 GB, free: 284 kB / 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 7.622e-05/0.1662, allocations: 117.8 kB / 0.6973 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.1663, allocations: 0 / 0.6973 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.1665, allocations: 68.78 kB / 0.6974 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1665, allocations: 3.938 kB / 0.6974 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.1665, allocations: 4 kB / 0.6974 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.1665, allocations: 0 / 0.6974 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.1667, allocations: 165.6 kB / 0.6976 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1667, allocations: 0 / 0.6976 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.311e-05/0.1668, allocations: 8.031 kB / 0.6976 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1668, allocations: 0 / 0.6976 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.1668, allocations: 4 kB / 0.6976 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/0.1668, allocations: 3.938 kB / 0.6976 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1668, allocations: 3.984 kB / 0.6976 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.1671, allocations: 163.4 kB / 0.6977 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.1671, allocations: 85.12 kB / 0.6978 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.1671, allocations: 0 / 0.6978 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.1672, allocations: 4 kB / 0.6978 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.1673, allocations: 3.984 kB / 0.6978 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1673, allocations: 4 kB / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.809e-05/0.1673, allocations: 75.28 kB / 0.6979 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1673, allocations: 0 / 0.6979 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002215/0.1675, allocations: 16 kB / 0.6979 GB, free: 15.46 MB / 0.4981 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.0006144/0.1682, allocations: 0.7201 MB / 0.6986 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.1684, allocations: 36 kB / 0.6987 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1684, allocations: 4 kB / 0.6987 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.179e-05/0.1685, allocations: 15.97 kB / 0.6987 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1687, allocations: 8 kB / 0.6987 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.1691, allocations: 135.1 kB / 0.6988 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.1694, allocations: 0.6808 MB / 0.6995 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.029e-05/0.1694, allocations: 3.984 kB / 0.6995 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.1695, allocations: 11.44 kB / 0.6995 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1695, allocations: 0 / 0.6995 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.1916, allocations: 1.498 MB / 0.701 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.44/7.632, allocations: 4.375 kB / 0.701 GB, free: 12.35 MB / 0.4981 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)