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.0008525/0.0008525, allocations: 91.77 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.005881/0.005881, allocations: 171.4 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.246/1.246, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001688/0.001688, allocations: 270.9 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8999/0.8999, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003952, allocations: 16.67 kB / 0.5988 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1438, allocations: 88.55 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0005475/0.1444, allocations: 310.5 kB / 0.6855 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002819/0.1446, allocations: 107.6 kB / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-06/0.1447, allocations: 1.562 kB / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.933e-06/0.1447, allocations: 0 / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.996e-06/0.1447, allocations: 0 / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.1449, allocations: 27.91 kB / 0.6857 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.367e-05/0.1449, allocations: 9.156 kB / 0.6857 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.622e-05/0.145, allocations: 0 / 0.6857 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.664e-06/0.145, allocations: 0 / 0.6857 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.293e-05/0.145, allocations: 0 / 0.6857 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.931e-06/0.145, allocations: 1.906 kB / 0.6857 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1451, allocations: 43.89 kB / 0.6857 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.743e-06/0.1451, allocations: 3.984 kB / 0.6857 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.1452, allocations: 25.7 kB / 0.6857 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.002e-05/0.1452, allocations: 30.5 kB / 0.6858 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.1453, allocations: 7.875 kB / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1453, allocations: 0 / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.405e-06/0.1453, allocations: 0 / 0.6858 GB, free: 14.4 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.0001833/0.1455, allocations: 311.6 kB / 0.6861 GB, free: 14.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.1455, allocations: 8.031 kB / 0.6861 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.1455, allocations: 35.25 kB / 0.6861 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.1456, allocations: 4.938 kB / 0.6861 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.625e-05/0.1456, allocations: 165 kB / 0.6863 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.811e-06/0.1456, allocations: 1.469 kB / 0.6863 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-06/0.1457, allocations: 384 / 0.6863 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.989e-05/0.1457, allocations: 27.83 kB / 0.6863 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-06/0.1457, allocations: 11.88 kB / 0.6863 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-06/0.1457, allocations: 0 / 0.6863 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-06/0.1457, allocations: 0 / 0.6863 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.22e-05/0.1458, allocations: 4.688 kB / 0.6863 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.806e-05/0.1459, allocations: 152.3 kB / 0.6865 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.166e-05/0.1459, allocations: 22.61 kB / 0.6865 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.13e-05/0.1459, allocations: 4.859 kB / 0.6865 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.1461, allocations: 85.16 kB / 0.6866 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.1461, allocations: 32.41 kB / 0.6866 GB, free: 13.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.1461, allocations: 0 / 0.6866 GB, free: 13.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 9.64e-05/0.1462, allocations: 45.58 kB / 0.6867 GB, free: 13.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.1462, allocations: 51.41 kB / 0.6867 GB, free: 13.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.576e-05/0.1463, allocations: 91.58 kB / 0.6868 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.1463, allocations: 25.7 kB / 0.6868 GB, free: 13.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.299e-05/0.1463, allocations: 80.14 kB / 0.6869 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.1463, allocations: 0.875 kB / 0.6869 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.1464, allocations: 9.719 kB / 0.6869 GB, free: 13.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.1464, allocations: 315.5 kB / 0.6872 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-06/0.1464, allocations: 4.875 kB / 0.6872 GB, free: 12.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-06/0.1465, allocations: 0 / 0.6872 GB, free: 12.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.948e-05/0.1465, allocations: 14.89 kB / 0.6872 GB, free: 12.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1465, allocations: 0 / 0.6872 GB, free: 12.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.463e-05/0.1465, allocations: 33.64 kB / 0.6873 GB, free: 12.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.745e-06/0.1466, allocations: 8.594 kB / 0.6873 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.1466, allocations: 3.938 kB / 0.6873 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.1466, allocations: 224 / 0.6873 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.954e-05/0.1466, allocations: 11.98 kB / 0.6873 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-06/0.1466, allocations: 0 / 0.6873 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.513e-05/0.1466, allocations: 3.938 kB / 0.6873 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.1466, allocations: 3.984 kB / 0.6873 GB, free: 12.62 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 5.331e-05/0.1467, allocations: 111.2 kB / 0.6874 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.1467, allocations: 0 / 0.6874 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.639e-05/0.1468, allocations: 44.75 kB / 0.6874 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1468, allocations: 7.922 kB / 0.6874 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1468, allocations: 4.031 kB / 0.6874 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1468, allocations: 4 kB / 0.6875 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.077e-05/0.1469, allocations: 145.6 kB / 0.6876 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1469, allocations: 0 / 0.6876 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.999e-06/0.1469, allocations: 4 kB / 0.6876 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1469, allocations: 0 / 0.6876 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-06/0.1469, allocations: 3.938 kB / 0.6876 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1469, allocations: 0 / 0.6876 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1469, allocations: 3.938 kB / 0.6876 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.246e-05/0.147, allocations: 65.12 kB / 0.6877 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.147, allocations: 77.11 kB / 0.6877 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-06/0.147, allocations: 3.938 kB / 0.6877 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-06/0.1471, allocations: 0 / 0.6877 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-06/0.1471, allocations: 0 / 0.6877 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.1471, allocations: 7.984 kB / 0.6877 GB, free: 12.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 1.918e-05/0.1471, allocations: 75.28 kB / 0.6878 GB, free: 11.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.1471, allocations: 0 / 0.6878 GB, free: 11.97 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001767/0.1473, allocations: 7.938 kB / 0.6878 GB, free: 11.96 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.0003313/0.1476, allocations: 0.6125 MB / 0.6884 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.371e-05/0.1477, allocations: 0 / 0.6884 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1477, allocations: 8.094 kB / 0.6884 GB, free: 11.31 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.192e-06/0.1477, allocations: 3.938 kB / 0.6884 GB, free: 11.31 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.1478, allocations: 2.859 kB / 0.6884 GB, free: 11.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/0.148, allocations: 112.3 kB / 0.6885 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.1482, allocations: 0.6731 MB / 0.6892 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.296e-06/0.1482, allocations: 0 / 0.6892 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.047e-05/0.1482, allocations: 7.438 kB / 0.6892 GB, free: 10.45 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1482, allocations: 0 / 0.6892 GB, free: 10.45 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5606/0.7088, allocations: 0.9724 MB / 0.6902 GB, free: 9.656 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.7091, allocations: 236.1 kB / 0.6904 GB, free: 9.395 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.22, allocations: 0 / 0.6904 GB, free: 9.395 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)