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.001705/0.001705, allocations: 112.7 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.002114/0.002114, allocations: 221.8 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002579/0.002579, allocations: 281.6 kB / 313.5 MB, free: 2.824 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.183/1.183, allocations: 180.6 MB / 0.5377 GB, free: 12.99 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.002852/0.002852, allocations: 109.2 kB / 0.7404 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1755, allocations: 95.37 MB / 0.8335 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002862/0.1783, allocations: 1.475 MB / 0.8349 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004498/0.1788, allocations: 164.4 kB / 0.8351 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.1788, allocations: 0 / 0.8351 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.1789, allocations: 7.938 kB / 0.8351 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.708e-05/0.1789, allocations: 0 / 0.8351 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.1792, allocations: 35.84 kB / 0.8351 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.831e-05/0.1793, allocations: 19.98 kB / 0.8352 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.1794, allocations: 7.984 kB / 0.8352 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.079e-05/0.1794, allocations: 11.94 kB / 0.8352 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.978e-05/0.1795, allocations: 7.984 kB / 0.8352 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.1795, allocations: 0 / 0.8352 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.1796, allocations: 51.89 kB / 0.8352 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.1796, allocations: 3.938 kB / 0.8352 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.1797, allocations: 12 kB / 0.8352 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1798, allocations: 56.02 kB / 0.8353 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1798, allocations: 0 / 0.8353 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1798, allocations: 0 / 0.8353 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.1798, allocations: 0 / 0.8353 GB, free: 6.801 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.0004561/0.1803, allocations: 262.3 kB / 0.8356 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1803, allocations: 9.344 kB / 0.8356 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.187e-05/0.1803, allocations: 192 / 0.8356 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.1804, allocations: 38.75 kB / 0.8356 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.1804, allocations: 8.891 kB / 0.8356 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1805, allocations: 118.4 kB / 0.8357 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1806, allocations: 4.375 kB / 0.8357 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.1806, allocations: 4.312 kB / 0.8357 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1807, allocations: 50 kB / 0.8358 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1808, allocations: 0 / 0.8358 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.1808, allocations: 3.984 kB / 0.8358 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1808, allocations: 0 / 0.8358 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.1809, allocations: 39.91 kB / 0.8358 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.1812, allocations: 216 kB / 0.836 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.1814, allocations: 38.59 kB / 0.8361 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.642e-05/0.1815, allocations: 20.91 kB / 0.8361 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.1816, allocations: 15.97 kB / 0.8361 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.1816, allocations: 34.5 kB / 0.8361 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1816, allocations: 0 / 0.8361 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003708/0.182, allocations: 81.64 kB / 0.8362 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.182, allocations: 51.41 kB / 0.8363 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.695e-05/0.1821, allocations: 110 kB / 0.8364 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1821, allocations: 25.7 kB / 0.8364 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.1822, allocations: 84.09 kB / 0.8365 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.1822, allocations: 3.953 kB / 0.8365 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.1822, allocations: 17.72 kB / 0.8365 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1824, allocations: 310.8 kB / 0.8368 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.071e-05/0.1824, allocations: 15.97 kB / 0.8368 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.1825, allocations: 23.98 kB / 0.8368 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.1827, allocations: 44.7 kB / 0.8369 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1827, allocations: 0 / 0.8369 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002003/0.1829, allocations: 65.66 kB / 0.8369 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1829, allocations: 4 kB / 0.8369 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1829, allocations: 8.094 kB / 0.8369 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1829, allocations: 0 / 0.8369 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.432e-05/0.183, allocations: 7.984 kB / 0.8369 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.183, allocations: 0 / 0.8369 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.183, allocations: 4 kB / 0.8369 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.183, allocations: 4 kB / 0.837 GB, free: 4.914 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 8.254e-05/0.1831, allocations: 118.4 kB / 0.8371 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.1831, allocations: 0 / 0.8371 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.1834, allocations: 84.84 kB / 0.8371 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1834, allocations: 0 / 0.8371 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1834, allocations: 0 / 0.8371 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.1834, allocations: 0 / 0.8371 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.1835, allocations: 128.7 kB / 0.8373 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1835, allocations: 3.984 kB / 0.8373 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.1836, allocations: 8 kB / 0.8373 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1836, allocations: 0 / 0.8373 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1836, allocations: 7.969 kB / 0.8373 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1836, allocations: 0 / 0.8373 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1836, allocations: 0 / 0.8373 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.1838, allocations: 169.2 kB / 0.8374 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.1839, allocations: 15.97 kB / 0.8375 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.1839, allocations: 0 / 0.8375 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.1839, allocations: 8.031 kB / 0.8375 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.184, allocations: 3.984 kB / 0.8375 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.184, allocations: 0 / 0.8375 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.184, allocations: 79.28 kB / 0.8376 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.184, allocations: 0 / 0.8376 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002309/0.1842, allocations: 15.94 kB / 0.8376 GB, free: 4.207 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.0006449/0.1849, allocations: 0.7085 MB / 0.8383 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.1851, allocations: 35.91 kB / 0.8383 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1851, allocations: 4.094 kB / 0.8383 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.1852, allocations: 19.97 kB / 0.8383 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.1854, allocations: 4 kB / 0.8383 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/0.1859, allocations: 139.2 kB / 0.8385 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1862, allocations: 0.6768 MB / 0.8391 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.919e-05/0.1862, allocations: 0 / 0.8391 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.1862, allocations: 11.5 kB / 0.8391 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1862, allocations: 0 / 0.8391 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.2069, allocations: 1.658 MB / 0.8407 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.15, allocations: 4.062 kB / 0.8407 GB, free: 1.012 MB / 0.5762 GB " [Timeout remaining time 649] (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.339525175979361] Failed to read output from testmodel.py, exit status != 0: 11.309132057998795 11.334405913 11.149684443 Calling exit ...