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.0009167/0.0009168, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.006449/0.006449, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.289/1.289, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001682/0.001683, allocations: 274.3 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9154/0.9154, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.0004208, allocations: 15.8 kB / 0.5988 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1556, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00144/0.1571, allocations: 1.153 MB / 0.6864 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004793/0.1576, allocations: 157.6 kB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.106e-05/0.1576, allocations: 0 / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.1576, allocations: 0.5625 kB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.425e-05/0.1577, allocations: 1.125 kB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.1579, allocations: 35.89 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.374e-05/0.158, allocations: 23.94 kB / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.221e-05/0.1581, allocations: 1.5 kB / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.222e-05/0.1581, allocations: 11.92 kB / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.834e-05/0.1582, allocations: 11.98 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1582, allocations: 1.25 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1583, allocations: 43.89 kB / 0.6866 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.1584, allocations: 3.938 kB / 0.6866 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.1584, allocations: 36.89 kB / 0.6867 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.1585, allocations: 44.14 kB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1585, allocations: 4 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1585, allocations: 0 / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1586, allocations: 0 / 0.6867 GB, free: 13.44 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.0004106/0.159, allocations: 344 kB / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.159, allocations: 8.531 kB / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.1591, allocations: 35.31 kB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.1591, allocations: 4.844 kB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1592, allocations: 170.4 kB / 0.6873 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1592, allocations: 8.312 kB / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1592, allocations: 4.375 kB / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1594, allocations: 50.98 kB / 0.6873 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1594, allocations: 4.719 kB / 0.6873 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.1595, allocations: 7.938 kB / 0.6873 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1595, allocations: 1.719 kB / 0.6873 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.1596, allocations: 40.62 kB / 0.6874 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.1599, allocations: 251.2 kB / 0.6876 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.1601, allocations: 48.72 kB / 0.6877 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.816e-05/0.1602, allocations: 21.5 kB / 0.6877 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.1604, allocations: 89.97 kB / 0.6878 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1604, allocations: 35.09 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.1604, allocations: 0 / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003926/0.1608, allocations: 99.64 kB / 0.6879 GB, free: 12.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.1609, allocations: 51.41 kB / 0.6879 GB, free: 12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.213e-05/0.1609, allocations: 101.8 kB / 0.688 GB, free: 11.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1609, allocations: 29.7 kB / 0.6881 GB, free: 11.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.161, allocations: 84.14 kB / 0.6881 GB, free: 11.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.161, allocations: 7.844 kB / 0.6882 GB, free: 11.76 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/0.161, allocations: 13.84 kB / 0.6882 GB, free: 11.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.1611, allocations: 310.8 kB / 0.6885 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.347e-05/0.1612, allocations: 27.97 kB / 0.6885 GB, free: 11.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.231e-05/0.1613, allocations: 19.98 kB / 0.6885 GB, free: 11.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.1614, allocations: 48.89 kB / 0.6886 GB, free: 11.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1614, allocations: 3.938 kB / 0.6886 GB, free: 11.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002073/0.1616, allocations: 89.5 kB / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1617, allocations: 4 kB / 0.6887 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1617, allocations: 0 / 0.6887 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.1617, allocations: 0 / 0.6887 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.796e-05/0.1618, allocations: 11.98 kB / 0.6887 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1618, allocations: 4 kB / 0.6887 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.1618, allocations: 12.02 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.1619, allocations: 0 / 0.6887 GB, free: 11.2 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.618e-05/0.1619, allocations: 115.1 kB / 0.6888 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.162, allocations: 0 / 0.6888 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.1622, allocations: 88.91 kB / 0.6889 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1622, allocations: 0 / 0.6889 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1622, allocations: 3.984 kB / 0.6889 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1622, allocations: 0 / 0.6889 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.1624, allocations: 161.6 kB / 0.689 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1624, allocations: 3.938 kB / 0.689 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.1624, allocations: 12 kB / 0.689 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1625, allocations: 3.938 kB / 0.689 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.1625, allocations: 4.016 kB / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1625, allocations: 4 kB / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1625, allocations: 0 / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1627, allocations: 175.5 kB / 0.6892 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.1628, allocations: 85.02 kB / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.1628, allocations: 4 kB / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.1629, allocations: 4 kB / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.1629, allocations: 7.984 kB / 0.6893 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1629, allocations: 0 / 0.6893 GB, free: 10.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.66e-05/0.163, allocations: 87.22 kB / 0.6894 GB, free: 10.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.163, allocations: 0 / 0.6894 GB, free: 10.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.1632, allocations: 8 kB / 0.6894 GB, free: 10.35 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.0005443/0.1637, allocations: 0.7203 MB / 0.6901 GB, free: 9.598 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.164, allocations: 47.95 kB / 0.6902 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.164, allocations: 4.062 kB / 0.6902 GB, free: 9.547 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.717e-05/0.1641, allocations: 23.92 kB / 0.6902 GB, free: 9.523 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.1643, allocations: 4 kB / 0.6902 GB, free: 9.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.1647, allocations: 142.4 kB / 0.6903 GB, free: 9.344 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.1649, allocations: 0.6771 MB / 0.691 GB, free: 8.641 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.026e-05/0.1649, allocations: 7.938 kB / 0.691 GB, free: 8.633 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.165, allocations: 7.438 kB / 0.691 GB, free: 8.625 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.165, allocations: 0 / 0.691 GB, free: 8.625 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01043/0.1754, allocations: 1.265 MB / 0.6922 GB, free: 7.512 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/0.1757, allocations: 221 kB / 0.6924 GB, free: 7.254 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/1.827, allocations: 0 / 0.6924 GB, free: 7.254 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)