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.001307/0.001307, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001396/0.001396, allocations: 217.9 kB / 23.05 MB, free: 5.074 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.002541/0.002541, allocations: 278.8 kB / 313.5 MB, free: 2.918 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.219/1.219, allocations: 180.6 MB / 0.5377 GB, free: 12.94 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.002777/0.002777, allocations: 101.4 kB / 0.7404 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1682, allocations: 95.38 MB / 0.8335 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001658/0.1698, allocations: 0.5977 MB / 0.8341 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003707/0.1702, allocations: 108 kB / 0.8342 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.202e-05/0.1702, allocations: 0 / 0.8342 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.1702, allocations: 3.938 kB / 0.8342 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.1702, allocations: 0 / 0.8342 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.1706, allocations: 35.91 kB / 0.8343 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.342e-05/0.1706, allocations: 0 / 0.8343 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.1706, allocations: 3.984 kB / 0.8343 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.078e-05/0.1706, allocations: 0 / 0.8343 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.765e-05/0.1707, allocations: 4 kB / 0.8343 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.723e-06/0.1707, allocations: 0 / 0.8343 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.1708, allocations: 47.89 kB / 0.8343 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.1708, allocations: 7.984 kB / 0.8343 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.349e-05/0.1708, allocations: 0 / 0.8343 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.171, allocations: 28.19 kB / 0.8344 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.171, allocations: 0 / 0.8344 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/0.171, allocations: 3.938 kB / 0.8344 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.171, allocations: 0 / 0.8344 GB, free: 7.746 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.0002848/0.1712, allocations: 238.4 kB / 0.8346 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 8.034e-05/0.1713, allocations: 9.344 kB / 0.8346 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.126e-05/0.1713, allocations: 192 / 0.8346 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.814e-05/0.1714, allocations: 38.73 kB / 0.8346 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.1714, allocations: 4.938 kB / 0.8346 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.426e-05/0.1715, allocations: 110.5 kB / 0.8347 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1715, allocations: 384 / 0.8347 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.1715, allocations: 384 / 0.8347 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.949e-05/0.1716, allocations: 30.02 kB / 0.8348 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1716, allocations: 0 / 0.8348 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1716, allocations: 4 kB / 0.8348 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.1716, allocations: 0 / 0.8348 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.622e-05/0.1716, allocations: 0 / 0.8348 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.1718, allocations: 124.8 kB / 0.8349 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.966e-05/0.1718, allocations: 22.55 kB / 0.8349 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.1718, allocations: 4.859 kB / 0.8349 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.172, allocations: 8.047 kB / 0.8349 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.022e-05/0.172, allocations: 34.5 kB / 0.835 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.172, allocations: 0 / 0.835 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001385/0.1722, allocations: 45.64 kB / 0.835 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.1722, allocations: 51.41 kB / 0.835 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.297e-05/0.1723, allocations: 89.86 kB / 0.8351 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1723, allocations: 25.7 kB / 0.8352 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.1723, allocations: 80.14 kB / 0.8352 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.1723, allocations: 3.984 kB / 0.8352 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.1724, allocations: 21.64 kB / 0.8353 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1725, allocations: 311 kB / 0.8356 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.1725, allocations: 8 kB / 0.8356 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-06/0.1725, allocations: 0 / 0.8356 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.97e-05/0.1725, allocations: 8.859 kB / 0.8356 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1725, allocations: 0 / 0.8356 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.33e-05/0.1726, allocations: 29.7 kB / 0.8356 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1726, allocations: 15.88 kB / 0.8356 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1726, allocations: 0 / 0.8356 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1726, allocations: 3.984 kB / 0.8356 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.196e-05/0.1727, allocations: 4.094 kB / 0.8356 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1727, allocations: 3.938 kB / 0.8356 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.249e-05/0.1727, allocations: 8 kB / 0.8356 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.1727, allocations: 0 / 0.8356 GB, free: 6.238 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 7.372e-05/0.1728, allocations: 106.5 kB / 0.8357 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.1728, allocations: 3.938 kB / 0.8357 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.888e-05/0.1729, allocations: 40.69 kB / 0.8358 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1729, allocations: 3.984 kB / 0.8358 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1729, allocations: 4.031 kB / 0.8358 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1729, allocations: 4 kB / 0.8358 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.277e-05/0.173, allocations: 112.8 kB / 0.8359 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.173, allocations: 0 / 0.8359 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.011e-05/0.173, allocations: 0 / 0.8359 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.173, allocations: 7.938 kB / 0.8359 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.173, allocations: 0 / 0.8359 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.173, allocations: 0 / 0.8359 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.173, allocations: 3.984 kB / 0.8359 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.815e-05/0.1731, allocations: 61.08 kB / 0.836 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.1731, allocations: 4 kB / 0.836 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.1731, allocations: 3.938 kB / 0.836 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.1731, allocations: 0 / 0.836 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.289e-05/0.1731, allocations: 3.984 kB / 0.836 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.1731, allocations: 0 / 0.836 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.099e-05/0.1732, allocations: 75.28 kB / 0.8361 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1732, allocations: 0 / 0.8361 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002134/0.1734, allocations: 11.94 kB / 0.8361 GB, free: 5.723 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.0004742/0.1738, allocations: 0.6162 MB / 0.8367 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.914e-05/0.1739, allocations: 8.031 kB / 0.8367 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1739, allocations: 0 / 0.8367 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.1739, allocations: 4 kB / 0.8367 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.174, allocations: 2.578 kB / 0.8367 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.1743, allocations: 110.6 kB / 0.8368 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1746, allocations: 0.6729 MB / 0.8374 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.837e-06/0.1746, allocations: 0 / 0.8374 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.598e-05/0.1746, allocations: 7.438 kB / 0.8374 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.1746, allocations: 0 / 0.8374 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.2023, allocations: 1.294 MB / 0.8387 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.06, allocations: 1.5 kB / 0.8387 GB, free: 3.062 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.258850826008711] Failed to read output from testmodel.py, exit status != 0: 11.22262585599674 11.245209055 11.070193034 Calling exit ...