Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_8_Buildings_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.001171/0.001171, 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.001241/0.001241, allocations: 195.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.146/1.146, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.479/1.479, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00249/0.00249, allocations: 68.66 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1764, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001509/0.178, allocations: 0.5862 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002896/0.1783, allocations: 103.6 kB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.849e-06/0.1783, allocations: 0 / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.087e-06/0.1783, allocations: 0 / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-06/0.1783, allocations: 4 kB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1786, allocations: 31.91 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.056e-05/0.1786, allocations: 4 kB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.1787, allocations: 0 / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.023e-05/0.1787, allocations: 0 / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.532e-05/0.1787, allocations: 3.938 kB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.093e-06/0.1787, allocations: 0 / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.1789, allocations: 43.89 kB / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.492e-06/0.1789, allocations: 0 / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.1789, allocations: 4 kB / 0.7842 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.946e-05/0.179, allocations: 31.95 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.179, allocations: 0 / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.179, allocations: 3.938 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.179, allocations: 0 / 0.7843 GB, free: 12.55 MB / 0.6075 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.0002267/0.1792, allocations: 315.6 kB / 0.7846 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.1793, allocations: 8.031 kB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.524e-05/0.1793, allocations: 34.75 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.1793, allocations: 0.9375 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.259e-05/0.1794, allocations: 164.4 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1794, allocations: 4.375 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.1795, allocations: 4.375 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.725e-05/0.1795, allocations: 30.2 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1795, allocations: 7.938 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-06/0.1796, allocations: 4 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.1796, allocations: 0 / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.551e-05/0.1796, allocations: 0 / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001025/0.1797, allocations: 141.7 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.327e-05/0.1797, allocations: 22.59 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.394e-05/0.1797, allocations: 12.8 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.1799, allocations: 89.11 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.18, allocations: 34.55 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.18, allocations: 0 / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001156/0.1801, allocations: 37.64 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.1801, allocations: 51.41 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.555e-05/0.1801, allocations: 89.98 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1802, allocations: 29.7 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.212e-05/0.1802, allocations: 80.14 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.1802, allocations: 7.906 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.1802, allocations: 13.72 kB / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.1803, allocations: 314.8 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-06/0.1803, allocations: 0 / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-06/0.1804, allocations: 3.938 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.161e-05/0.1804, allocations: 12.92 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1804, allocations: 0 / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.953e-05/0.1804, allocations: 33.7 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1805, allocations: 8 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1805, allocations: 3.938 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1805, allocations: 0 / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.081e-05/0.1805, allocations: 0 / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1805, allocations: 3.984 kB / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-06/0.1805, allocations: 0 / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1806, allocations: 4 kB / 0.7858 GB, free: 10.76 MB / 0.6075 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 5.038e-05/0.1806, allocations: 110.5 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.1806, allocations: 3.938 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.3e-05/0.1807, allocations: 40.98 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1807, allocations: 0 / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1807, allocations: 0 / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1807, allocations: 3.984 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.877e-05/0.1808, allocations: 149.7 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1808, allocations: 0 / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.091e-05/0.1808, allocations: 32 / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1808, allocations: 4 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1808, allocations: 7.938 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1808, allocations: 0 / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1808, allocations: 3.938 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.924e-05/0.1809, allocations: 57.06 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/0.181, allocations: 85.05 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.181, allocations: 11.94 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-06/0.181, allocations: 4.031 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.181, allocations: 0 / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.181, allocations: 0 / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.009e-05/0.181, allocations: 75.28 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.181, allocations: 0 / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000178/0.1812, allocations: 15.98 kB / 0.7863 GB, free: 10.09 MB / 0.6075 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.0003321/0.1816, allocations: 0.6124 MB / 0.7869 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.218e-05/0.1816, allocations: 4 kB / 0.7869 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1816, allocations: 0 / 0.7869 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.839e-06/0.1816, allocations: 0 / 0.7869 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.1817, allocations: 4 kB / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/0.182, allocations: 122.7 kB / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.1822, allocations: 0.669 MB / 0.7877 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.746e-06/0.1822, allocations: 0 / 0.7877 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.309e-05/0.1822, allocations: 7.438 kB / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.1822, allocations: 0 / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.121/1.303, allocations: 1.126 MB / 0.7888 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.947/11.25, allocations: 11.67 kB / 0.7888 GB, free: 7.535 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)