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.00109/0.00109, 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.001072/0.001072, allocations: 190.4 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.33/1.33, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.66/1.66, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.00139/0.00139, allocations: 65.77 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2145, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003039/0.2176, allocations: 1.434 MB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003853/0.218, allocations: 160.3 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.218, allocations: 4 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.2181, allocations: 0 / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.569e-05/0.2181, allocations: 3.938 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.2184, allocations: 39.84 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.217e-05/0.2184, allocations: 27.94 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.117e-05/0.2185, allocations: 7.969 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.2186, allocations: 8 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.2186, allocations: 11.92 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.2186, allocations: 0 / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.2187, allocations: 39.91 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.2188, allocations: 4 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.2188, allocations: 11.94 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.2189, allocations: 47.86 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2189, allocations: 4 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2189, allocations: 0 / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.2189, allocations: 0 / 0.7852 GB, free: 11.57 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.0003808/0.2193, allocations: 343.7 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.2194, allocations: 12.03 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.2194, allocations: 30.75 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.2194, allocations: 0.9375 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.719e-05/0.2195, allocations: 168.4 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.098e-06/0.2195, allocations: 384 / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.2196, allocations: 4.375 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.2197, allocations: 54.17 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.2197, allocations: 3.938 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.2197, allocations: 3.984 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2198, allocations: 0 / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.2199, allocations: 31.97 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.2202, allocations: 252.9 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.2203, allocations: 38.5 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.086e-05/0.2204, allocations: 28.84 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.2205, allocations: 85.09 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.2206, allocations: 34.56 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2206, allocations: 0 / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003286/0.2209, allocations: 81.64 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.221, allocations: 51.41 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.554e-05/0.221, allocations: 101.8 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.221, allocations: 25.7 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.2211, allocations: 80.27 kB / 0.7866 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.2211, allocations: 11.91 kB / 0.7866 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.2211, allocations: 13.72 kB / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.572e-05/0.2212, allocations: 322.7 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.2213, allocations: 19.98 kB / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.154e-05/0.2214, allocations: 11.98 kB / 0.7869 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.2215, allocations: 44.88 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2215, allocations: 7.875 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001854/0.2217, allocations: 61.67 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.2217, allocations: 4 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.2217, allocations: 0 / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.2218, allocations: 0 / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.2218, allocations: 11.98 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2219, allocations: 7.969 kB / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.2219, allocations: 11.98 kB / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.2219, allocations: 0 / 0.7871 GB, free: 9.395 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/0.222, allocations: 114.4 kB / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.222, allocations: 4 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.2222, allocations: 68.78 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2222, allocations: 4.031 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2223, allocations: 0 / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2223, allocations: 0 / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.2224, allocations: 173.5 kB / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2224, allocations: 4 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.2225, allocations: 7.984 kB / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2225, allocations: 0 / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.2225, allocations: 0 / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2225, allocations: 0 / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.2225, allocations: 7.938 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.2227, allocations: 163.5 kB / 0.7876 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.2228, allocations: 81.11 kB / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.2228, allocations: 0 / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.2228, allocations: 7.984 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.2229, allocations: 0 / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.2229, allocations: 0 / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.324e-05/0.2229, allocations: 83.31 kB / 0.7878 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2229, allocations: 0 / 0.7878 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002147/0.2232, allocations: 16 kB / 0.7878 GB, free: 8.574 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 (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.0005015/0.2237, allocations: 0.7127 MB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.2239, allocations: 35.95 kB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2239, allocations: 0 / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.567e-05/0.2239, allocations: 19.92 kB / 0.7885 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.2242, allocations: 22.45 kB / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.2246, allocations: 143 kB / 0.7887 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.2248, allocations: 0.6768 MB / 0.7894 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.184e-05/0.2248, allocations: 3.984 kB / 0.7894 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.2248, allocations: 7.438 kB / 0.7894 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2248, allocations: 0 / 0.7894 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05616/0.281, allocations: 1.471 MB / 0.7908 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/7.604, allocations: 13.98 kB / 0.7908 GB, free: 5.457 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/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)