Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_8_Buildings_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.001102/0.001102, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001195/0.001195, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.799/1.799, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005126/0.0005127, allocations: 14.5 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2271, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001633/0.2288, allocations: 1.144 MB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004689/0.2293, allocations: 156.5 kB / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.2293, allocations: 0 / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.2294, allocations: 0 / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.927e-05/0.2294, allocations: 4 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.2297, allocations: 31.91 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.344e-05/0.2298, allocations: 15.92 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.9e-05/0.2299, allocations: 4 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.2299, allocations: 8 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.223e-05/0.23, allocations: 15.91 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.23, allocations: 4 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.2302, allocations: 39.91 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.2302, allocations: 0 / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.2302, allocations: 29.64 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.2303, allocations: 35.94 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.2303, allocations: 4 kB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2303, allocations: 3.938 kB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2303, allocations: 0 / 0.7889 GB, free: 10.33 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004626/0.2308, allocations: 351.5 kB / 0.7892 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.2309, allocations: 8.031 kB / 0.7892 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/0.2309, allocations: 38.5 kB / 0.7892 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.231, allocations: 3.984 kB / 0.7892 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.2311, allocations: 163 kB / 0.7894 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2312, allocations: 4 kB / 0.7894 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.2312, allocations: 0 / 0.7894 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.2314, allocations: 57.67 kB / 0.7895 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2314, allocations: 0 / 0.7895 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.2314, allocations: 3.984 kB / 0.7895 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2314, allocations: 0 / 0.7895 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.2316, allocations: 39.97 kB / 0.7895 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.2319, allocations: 260.9 kB / 0.7897 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.232, allocations: 38.56 kB / 0.7898 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.601e-05/0.2321, allocations: 32.89 kB / 0.7898 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.2323, allocations: 81.11 kB / 0.7899 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.2323, allocations: 38.55 kB / 0.7899 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.2323, allocations: 0 / 0.7899 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003567/0.2327, allocations: 105.5 kB / 0.79 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.2328, allocations: 51.41 kB / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.613e-05/0.2328, allocations: 101.8 kB / 0.7902 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.2328, allocations: 25.7 kB / 0.7902 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.2329, allocations: 84.14 kB / 0.7903 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.2329, allocations: 12.03 kB / 0.7903 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.2329, allocations: 0 / 0.7903 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.987e-05/0.233, allocations: 318.8 kB / 0.7906 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.632e-05/0.2331, allocations: 19.98 kB / 0.7906 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.797e-05/0.2332, allocations: 19.98 kB / 0.7906 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.31e-05/0.2333, allocations: 24.05 kB / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2333, allocations: 0 / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002024/0.2335, allocations: 85.59 kB / 0.7907 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2335, allocations: 4 kB / 0.7907 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2335, allocations: 3.938 kB / 0.7907 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2335, allocations: 0 / 0.7907 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.064e-05/0.2336, allocations: 15.98 kB / 0.7908 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2336, allocations: 0 / 0.7908 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.2337, allocations: 7.984 kB / 0.7908 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.2337, allocations: 3.938 kB / 0.7908 GB, free: 8.121 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.977e-05/0.2338, allocations: 121.8 kB / 0.7909 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.2338, allocations: 0 / 0.7909 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.234, allocations: 80.78 kB / 0.791 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2341, allocations: 4.031 kB / 0.791 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2341, allocations: 0 / 0.791 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.2341, allocations: 3.938 kB / 0.791 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.2342, allocations: 161.6 kB / 0.7911 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2343, allocations: 4 kB / 0.7911 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.2343, allocations: 8 kB / 0.7911 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2343, allocations: 0 / 0.7911 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.2343, allocations: 3.984 kB / 0.7911 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2343, allocations: 0 / 0.7911 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2344, allocations: 0 / 0.7911 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.2346, allocations: 179.4 kB / 0.7913 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.2347, allocations: 81.11 kB / 0.7914 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.2347, allocations: 32 / 0.7914 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.2348, allocations: 8 kB / 0.7914 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.2348, allocations: 7.984 kB / 0.7914 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.2348, allocations: 0 / 0.7914 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.2349, allocations: 83.28 kB / 0.7915 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2349, allocations: 0 / 0.7915 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000251/0.2351, allocations: 8 kB / 0.7915 GB, free: 7.281 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005687/0.2357, allocations: 0.7244 MB / 0.7922 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.2359, allocations: 43.95 kB / 0.7922 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2359, allocations: 0 / 0.7922 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.133e-05/0.236, allocations: 31.98 kB / 0.7923 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.2363, allocations: 4 kB / 0.7923 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.2367, allocations: 142.3 kB / 0.7924 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.2369, allocations: 0.677 MB / 0.7931 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.411e-05/0.2369, allocations: 4 kB / 0.7931 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.237, allocations: 11.5 kB / 0.7931 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.237, allocations: 0 / 0.7931 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.2511, allocations: 1.248 MB / 0.7943 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.2514, allocations: 194.1 kB / 0.7945 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.002, allocations: 0 / 0.7945 GB, free: 4.199 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) Environment - environmentSimulation: