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.001338/0.001338, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001614/0.001614, allocations: 214.8 kB / 22.25 MB, free: 4.859 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.801 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.003705/0.003705, allocations: 289.9 kB / 312.7 MB, free: 2.617 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.158/1.158, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",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.00283/0.00283, allocations: 102.3 kB / 0.7395 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1735, allocations: 95.38 MB / 0.8327 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001662/0.1752, allocations: 0.5999 MB / 0.8333 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003549/0.1756, allocations: 92.08 kB / 0.8334 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.17e-05/0.1756, allocations: 0 / 0.8334 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.113e-05/0.1756, allocations: 0 / 0.8334 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.15e-06/0.1756, allocations: 4 kB / 0.8334 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.1759, allocations: 35.89 kB / 0.8334 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 2.985e-05/0.176, allocations: 0 / 0.8334 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.176, allocations: 0 / 0.8334 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.462e-05/0.176, allocations: 8 kB / 0.8334 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.522e-05/0.176, allocations: 0 / 0.8334 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.594e-06/0.176, allocations: 0 / 0.8334 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.1762, allocations: 39.89 kB / 0.8334 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.835e-06/0.1762, allocations: 0 / 0.8334 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.1762, allocations: 7.922 kB / 0.8334 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.1763, allocations: 28.19 kB / 0.8335 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.1763, allocations: 0 / 0.8335 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1763, allocations: 0 / 0.8335 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.1763, allocations: 0 / 0.8335 GB, free: 7.512 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.0002917/0.1766, allocations: 247.9 kB / 0.8337 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1766, allocations: 13.34 kB / 0.8337 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.1767, allocations: 34.73 kB / 0.8338 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.1767, allocations: 4.938 kB / 0.8338 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.249e-05/0.1768, allocations: 106.5 kB / 0.8339 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1768, allocations: 384 / 0.8339 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-06/0.1768, allocations: 384 / 0.8339 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.767e-05/0.1769, allocations: 26.27 kB / 0.8339 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1769, allocations: 7.938 kB / 0.8339 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.1769, allocations: 0 / 0.8339 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.163e-05/0.177, allocations: 7.922 kB / 0.8339 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.686e-05/0.177, allocations: 4 kB / 0.8339 GB, free: 7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.1772, allocations: 124.8 kB / 0.834 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.06e-05/0.1772, allocations: 18.52 kB / 0.834 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.1772, allocations: 4.859 kB / 0.834 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.1774, allocations: 8.078 kB / 0.8341 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.1774, allocations: 34.56 kB / 0.8341 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1774, allocations: 0 / 0.8341 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001545/0.1776, allocations: 41.58 kB / 0.8341 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.1776, allocations: 51.41 kB / 0.8342 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.025e-05/0.1777, allocations: 89.98 kB / 0.8343 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.1777, allocations: 29.7 kB / 0.8343 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.1777, allocations: 88.08 kB / 0.8344 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.1778, allocations: 0 / 0.8344 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.1778, allocations: 9.719 kB / 0.8344 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1779, allocations: 314.8 kB / 0.8347 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.1779, allocations: 8 kB / 0.8347 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-06/0.1779, allocations: 0 / 0.8347 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.411e-05/0.178, allocations: 8.859 kB / 0.8347 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.178, allocations: 0 / 0.8347 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.241e-05/0.178, allocations: 37.7 kB / 0.8347 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.178, allocations: 4 kB / 0.8347 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.178, allocations: 7.938 kB / 0.8347 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1781, allocations: 0 / 0.8347 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.62e-05/0.1781, allocations: 3.984 kB / 0.8348 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.1781, allocations: 0 / 0.8348 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.448e-06/0.1781, allocations: 0 / 0.8348 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.1781, allocations: 0 / 0.8348 GB, free: 6.008 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.218e-05/0.1782, allocations: 110.5 kB / 0.8349 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.1782, allocations: 4 kB / 0.8349 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.733e-05/0.1783, allocations: 40.67 kB / 0.8349 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1783, allocations: 3.984 kB / 0.8349 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1783, allocations: 0 / 0.8349 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1783, allocations: 0 / 0.8349 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.681e-05/0.1784, allocations: 116.8 kB / 0.835 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1784, allocations: 3.938 kB / 0.835 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-06/0.1784, allocations: 0 / 0.835 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1784, allocations: 0 / 0.835 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1784, allocations: 11.94 kB / 0.835 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1784, allocations: 0 / 0.835 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1784, allocations: 0 / 0.835 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.613e-05/0.1785, allocations: 65.16 kB / 0.8351 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-06/0.1785, allocations: 3.938 kB / 0.8351 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-06/0.1785, allocations: 3.938 kB / 0.8351 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.1785, allocations: 0 / 0.8351 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-06/0.1785, allocations: 0 / 0.8351 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-06/0.1785, allocations: 0 / 0.8351 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.1786, allocations: 79.28 kB / 0.8352 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1786, allocations: 3.938 kB / 0.8352 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002134/0.1788, allocations: 11.92 kB / 0.8352 GB, free: 5.48 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.000488/0.1793, allocations: 0.6163 MB / 0.8358 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.023e-05/0.1793, allocations: 4 kB / 0.8358 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1793, allocations: 0 / 0.8358 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.139e-06/0.1793, allocations: 0 / 0.8358 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.1795, allocations: 8.156 kB / 0.8358 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.1798, allocations: 119.2 kB / 0.8359 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.923e-05/0.1798, allocations: 59.52 kB / 0.836 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.738e-06/0.1798, allocations: 0 / 0.836 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.1798, allocations: 7.438 kB / 0.836 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.1798, allocations: 0 / 0.836 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.209, allocations: 1.658 MB / 0.8376 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.93, allocations: 2.578 kB / 0.8376 GB, free: 3.059 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: 14.871533367782831] Failed to read output from testmodel.py, exit status != 0: 11.033902787137777 11.058688966 10.878021913 Calling exit ...