Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.002064/0.002064, allocations: 101.3 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.00237/0.00237, allocations: 223.7 kB / 23.03 MB, free: 4.945 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.762 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.002529/0.002529, allocations: 293.4 kB / 313.5 MB, free: 2.598 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.222/1.222, allocations: 180.6 MB / 0.5377 GB, free: 14.48 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.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.002825/0.002825, allocations: 100.2 kB / 0.7403 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1697, allocations: 95.38 MB / 0.8334 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002739/0.1724, allocations: 1.464 MB / 0.8348 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000405/0.1728, allocations: 148.4 kB / 0.835 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.1729, allocations: 0 / 0.835 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.374e-05/0.1729, allocations: 7.938 kB / 0.835 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.686e-05/0.1729, allocations: 3.938 kB / 0.835 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.1732, allocations: 47.78 kB / 0.835 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.1733, allocations: 19.98 kB / 0.835 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.648e-05/0.1734, allocations: 0 / 0.835 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.701e-05/0.1734, allocations: 8 kB / 0.8351 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.1735, allocations: 19.91 kB / 0.8351 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1735, allocations: 4 kB / 0.8351 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1736, allocations: 39.89 kB / 0.8351 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.1736, allocations: 4 kB / 0.8351 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.1737, allocations: 11.94 kB / 0.8351 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.1738, allocations: 52.08 kB / 0.8352 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1738, allocations: 0 / 0.8352 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1738, allocations: 3.938 kB / 0.8352 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1738, allocations: 0 / 0.8352 GB, free: 6.477 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000445/0.1743, allocations: 266.3 kB / 0.8354 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1743, allocations: 9.344 kB / 0.8354 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.396e-05/0.1743, allocations: 4.188 kB / 0.8355 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.1743, allocations: 34.75 kB / 0.8355 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.1744, allocations: 4.891 kB / 0.8355 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1745, allocations: 114.5 kB / 0.8356 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.1745, allocations: 384 / 0.8356 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.1745, allocations: 384 / 0.8356 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1747, allocations: 53.98 kB / 0.8357 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.1747, allocations: 0 / 0.8357 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-06/0.1747, allocations: 0 / 0.8357 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1747, allocations: 0 / 0.8357 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.1749, allocations: 39.89 kB / 0.8357 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.1752, allocations: 216 kB / 0.8359 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.1753, allocations: 42.58 kB / 0.8359 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.1754, allocations: 24.91 kB / 0.836 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.1755, allocations: 7.984 kB / 0.836 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1756, allocations: 30.56 kB / 0.836 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1756, allocations: 3.938 kB / 0.836 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003617/0.1759, allocations: 85.64 kB / 0.8361 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.176, allocations: 51.41 kB / 0.8361 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.73e-05/0.176, allocations: 101.8 kB / 0.8362 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.176, allocations: 29.7 kB / 0.8363 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.1761, allocations: 84.09 kB / 0.8363 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.1761, allocations: 3.953 kB / 0.8363 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.1761, allocations: 13.72 kB / 0.8364 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1763, allocations: 314.8 kB / 0.8367 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.1763, allocations: 15.97 kB / 0.8367 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.84e-05/0.1764, allocations: 24.11 kB / 0.8367 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1766, allocations: 48.64 kB / 0.8367 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1766, allocations: 4 kB / 0.8367 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000196/0.1768, allocations: 61.66 kB / 0.8368 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1768, allocations: 14.44 kB / 0.8368 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1768, allocations: 4.094 kB / 0.8368 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1768, allocations: 0 / 0.8368 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.728e-05/0.1769, allocations: 7.984 kB / 0.8368 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1769, allocations: 0 / 0.8368 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.148e-05/0.1769, allocations: 4 kB / 0.8368 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1769, allocations: 7.984 kB / 0.8368 GB, free: 4.59 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 (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 7.89e-05/0.177, allocations: 114.4 kB / 0.8369 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.177, allocations: 0 / 0.8369 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.1773, allocations: 76.91 kB / 0.837 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1773, allocations: 0 / 0.837 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1773, allocations: 0 / 0.837 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1773, allocations: 0 / 0.837 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.1774, allocations: 128.7 kB / 0.8371 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1774, allocations: 4 kB / 0.8371 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.1775, allocations: 7.984 kB / 0.8372 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1775, allocations: 0 / 0.8372 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.1775, allocations: 0 / 0.8372 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1775, allocations: 0 / 0.8372 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1775, allocations: 8.031 kB / 0.8372 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.1777, allocations: 173 kB / 0.8373 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.1777, allocations: 0 / 0.8373 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.1777, allocations: 0 / 0.8373 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.1778, allocations: 7.984 kB / 0.8373 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.1779, allocations: 4 kB / 0.8373 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1779, allocations: 4 kB / 0.8373 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.285e-05/0.1779, allocations: 79.28 kB / 0.8374 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1779, allocations: 4.031 kB / 0.8374 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002323/0.1781, allocations: 15.92 kB / 0.8374 GB, free: 3.898 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 (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.0006255/0.1788, allocations: 0.7046 MB / 0.8381 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.179, allocations: 43.92 kB / 0.8382 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.179, allocations: 0 / 0.8382 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.958e-05/0.179, allocations: 19.98 kB / 0.8382 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.1793, allocations: 3.984 kB / 0.8382 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.1797, allocations: 151.1 kB / 0.8383 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.351e-05/0.1798, allocations: 59.3 kB / 0.8384 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.283e-05/0.1798, allocations: 4.125 kB / 0.8384 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.1799, allocations: 19.42 kB / 0.8384 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1799, allocations: 0 / 0.8384 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.201, allocations: 1.707 MB / 0.8401 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.44, allocations: 11.77 kB / 0.8401 GB, free: 1.258 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.687054112902842] Failed to read output from testmodel.py, exit status != 0: 11.601762269041501 11.620585831 11.443312346 Calling exit ...