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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 216.4 kB / 23.03 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002511/0.002511, allocations: 289.6 kB / 313.5 MB, free: 2.734 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.221/1.221, allocations: 180.6 MB / 0.5377 GB, free: 14.57 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004123/0.004123, allocations: 102.6 kB / 0.7403 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2091, allocations: 95.38 MB / 0.8334 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002474/0.2116, allocations: 0.5999 MB / 0.834 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004156/0.212, allocations: 88.14 kB / 0.8341 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.239e-05/0.2121, allocations: 0 / 0.8341 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.2121, allocations: 0 / 0.8341 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.684e-06/0.2121, allocations: 0 / 0.8341 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.2125, allocations: 31.86 kB / 0.8341 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.689e-05/0.2126, allocations: 4 kB / 0.8341 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.187e-05/0.2126, allocations: 7.969 kB / 0.8342 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.2126, allocations: 11.92 kB / 0.8342 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.828e-05/0.2126, allocations: 0 / 0.8342 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.2127, allocations: 0 / 0.8342 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.2128, allocations: 39.91 kB / 0.8342 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.2128, allocations: 0 / 0.8342 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.2129, allocations: 7.938 kB / 0.8342 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.213, allocations: 32.17 kB / 0.8342 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.213, allocations: 0 / 0.8342 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.294e-06/0.213, allocations: 0 / 0.8342 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.213, allocations: 3.984 kB / 0.8342 GB, free: 7.469 MB / 0.5762 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.0003434/0.2134, allocations: 239.2 kB / 0.8345 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.2134, allocations: 17.34 kB / 0.8345 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.659e-05/0.2134, allocations: 192 / 0.8345 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.123e-05/0.2135, allocations: 30.75 kB / 0.8345 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.2135, allocations: 4.938 kB / 0.8345 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.2136, allocations: 106.5 kB / 0.8346 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2136, allocations: 384 / 0.8346 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.2136, allocations: 4.375 kB / 0.8346 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.2138, allocations: 33.95 kB / 0.8347 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2138, allocations: 0 / 0.8347 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.2138, allocations: 0 / 0.8347 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2138, allocations: 3.938 kB / 0.8347 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.36e-05/0.2138, allocations: 8 kB / 0.8347 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.2139, allocations: 116.8 kB / 0.8348 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.337e-05/0.214, allocations: 18.61 kB / 0.8348 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.214, allocations: 8.844 kB / 0.8348 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/0.2142, allocations: 8 kB / 0.8348 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.2143, allocations: 34.5 kB / 0.8349 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2143, allocations: 4 kB / 0.8349 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001695/0.2144, allocations: 37.69 kB / 0.8349 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.2145, allocations: 51.41 kB / 0.8349 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.037e-05/0.2145, allocations: 93.98 kB / 0.835 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.2146, allocations: 25.7 kB / 0.8351 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.2146, allocations: 80.14 kB / 0.8351 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.2146, allocations: 0 / 0.8351 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.2147, allocations: 13.72 kB / 0.8351 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2148, allocations: 310.8 kB / 0.8354 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.2148, allocations: 4 kB / 0.8354 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/0.2148, allocations: 11.92 kB / 0.8355 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.762e-05/0.2148, allocations: 4.859 kB / 0.8355 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2148, allocations: 64 / 0.8355 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.545e-05/0.2149, allocations: 37.7 kB / 0.8355 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2149, allocations: 7.938 kB / 0.8355 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2149, allocations: 0 / 0.8355 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.215, allocations: 0 / 0.8355 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.696e-05/0.215, allocations: 4 kB / 0.8355 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.215, allocations: 3.938 kB / 0.8355 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.215, allocations: 4 kB / 0.8355 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.215, allocations: 0 / 0.8355 GB, free: 5.973 MB / 0.5762 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 9.154e-05/0.2151, allocations: 110.5 kB / 0.8356 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.2152, allocations: 11.97 kB / 0.8356 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.682e-05/0.2153, allocations: 40.64 kB / 0.8357 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2153, allocations: 0 / 0.8357 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2153, allocations: 0 / 0.8357 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2153, allocations: 0 / 0.8357 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.2154, allocations: 116.8 kB / 0.8358 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2154, allocations: 4 kB / 0.8358 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-05/0.2154, allocations: 3.938 kB / 0.8358 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.2154, allocations: 3.938 kB / 0.8358 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.2154, allocations: 0 / 0.8358 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2154, allocations: 0 / 0.8358 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2154, allocations: 4.031 kB / 0.8358 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.2155, allocations: 65.06 kB / 0.8359 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.2155, allocations: 0 / 0.8359 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.2155, allocations: 7.938 kB / 0.8359 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-06/0.2155, allocations: 0 / 0.8359 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.2156, allocations: 0 / 0.8359 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.2156, allocations: 0 / 0.8359 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.942e-05/0.2156, allocations: 75.28 kB / 0.8359 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2156, allocations: 0 / 0.8359 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002157/0.2158, allocations: 11.94 kB / 0.836 GB, free: 5.449 MB / 0.5762 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.0005697/0.2164, allocations: 0.6125 MB / 0.8365 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.5e-05/0.2165, allocations: 3.938 kB / 0.8366 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.2165, allocations: 4 kB / 0.8366 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.532e-06/0.2165, allocations: 0 / 0.8366 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.2166, allocations: 0 / 0.8366 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.217, allocations: 122.8 kB / 0.8367 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.828e-05/0.2171, allocations: 59.34 kB / 0.8367 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.455e-05/0.2171, allocations: 3.984 kB / 0.8367 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.2171, allocations: 7.438 kB / 0.8367 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.2171, allocations: 0 / 0.8367 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.2383, allocations: 1.312 MB / 0.838 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.31, allocations: 17.59 kB / 0.838 GB, free: 3.371 MB / 0.5762 GB " [Timeout remaining time 649] (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 --stepSize=0.001196 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.625711785978638] Failed to read output from testmodel.py, exit status != 0: 11.47635108709801 11.503840158 11.285875247 Calling exit ...