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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 294.2 kB / 303 MB, free: 9.492 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.225/1.225, allocations: 180.9 MB / 0.5261 GB, free: 14.67 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002913/0.002913, allocations: 107.3 kB / 0.7248 GB, free: 40.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1809, allocations: 94.14 MB / 0.8168 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001867/0.1828, allocations: 0.5821 MB / 0.8173 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003629/0.1831, allocations: 103.6 kB / 0.8174 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.61e-05/0.1831, allocations: 0 / 0.8174 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.102e-05/0.1832, allocations: 4 kB / 0.8174 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.053e-06/0.1832, allocations: 3.938 kB / 0.8174 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.1835, allocations: 27.91 kB / 0.8175 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.447e-05/0.1835, allocations: 3.938 kB / 0.8175 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.1835, allocations: 8 kB / 0.8175 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.333e-05/0.1836, allocations: 0 / 0.8175 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.821e-05/0.1836, allocations: 3.984 kB / 0.8175 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.933e-06/0.1836, allocations: 0 / 0.8175 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.1837, allocations: 39.91 kB / 0.8175 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.165e-06/0.1837, allocations: 0 / 0.8175 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.564e-05/0.1838, allocations: 4 kB / 0.8175 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.1839, allocations: 31.95 kB / 0.8176 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1839, allocations: 0 / 0.8176 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1839, allocations: 0 / 0.8176 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1839, allocations: 0 / 0.8176 GB, free: 4.66 MB / 0.5606 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.0003612/0.1842, allocations: 315.8 kB / 0.8179 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1843, allocations: 8.031 kB / 0.8179 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.1843, allocations: 30.75 kB / 0.8179 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.1843, allocations: 4.938 kB / 0.8179 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.1845, allocations: 172.3 kB / 0.8181 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.1845, allocations: 8.375 kB / 0.8181 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.1845, allocations: 4.312 kB / 0.8181 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.163e-05/0.1846, allocations: 30.2 kB / 0.8181 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1846, allocations: 3.938 kB / 0.8181 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.1846, allocations: 0 / 0.8181 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1846, allocations: 4 kB / 0.8181 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.809e-05/0.1846, allocations: 3.984 kB / 0.8181 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.1848, allocations: 141.7 kB / 0.8182 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.054e-05/0.1848, allocations: 30.78 kB / 0.8183 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.1849, allocations: 4.859 kB / 0.8183 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/0.1851, allocations: 89.09 kB / 0.8184 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1851, allocations: 30.56 kB / 0.8184 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1851, allocations: 0 / 0.8184 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001582/0.1853, allocations: 33.64 kB / 0.8184 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1853, allocations: 51.41 kB / 0.8185 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.154e-05/0.1854, allocations: 102 kB / 0.8186 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1854, allocations: 25.7 kB / 0.8186 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.1854, allocations: 84.14 kB / 0.8187 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.1854, allocations: 7.891 kB / 0.8187 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.1855, allocations: 9.719 kB / 0.8187 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1856, allocations: 314.8 kB / 0.819 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.1856, allocations: 4 kB / 0.819 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-06/0.1856, allocations: 3.938 kB / 0.819 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.918e-05/0.1857, allocations: 16.92 kB / 0.819 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1857, allocations: 0 / 0.819 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.9e-05/0.1857, allocations: 29.7 kB / 0.819 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1857, allocations: 6.812 kB / 0.8191 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1858, allocations: 3.938 kB / 0.8191 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1858, allocations: 4 kB / 0.8191 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.137e-05/0.1858, allocations: 0 / 0.8191 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1858, allocations: 3.984 kB / 0.8191 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-06/0.1858, allocations: 0 / 0.8191 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1858, allocations: 4.031 kB / 0.8191 GB, free: 2.855 MB / 0.5606 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.178e-05/0.1859, allocations: 109.8 kB / 0.8192 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.1859, allocations: 3.938 kB / 0.8192 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.525e-05/0.186, allocations: 40.77 kB / 0.8192 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.186, allocations: 0 / 0.8192 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.186, allocations: 7.922 kB / 0.8192 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.186, allocations: 0 / 0.8192 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.1861, allocations: 145.7 kB / 0.8194 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1861, allocations: 32 / 0.8194 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.1861, allocations: 4 kB / 0.8194 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1861, allocations: 0 / 0.8194 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1862, allocations: 3.938 kB / 0.8194 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1862, allocations: 0 / 0.8194 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1862, allocations: 3.984 kB / 0.8194 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.98e-05/0.1863, allocations: 69.06 kB / 0.8194 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.1863, allocations: 77.11 kB / 0.8195 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.1863, allocations: 7.969 kB / 0.8195 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-06/0.1863, allocations: 0 / 0.8195 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.1863, allocations: 4 kB / 0.8195 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.1863, allocations: 0 / 0.8195 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.884e-05/0.1864, allocations: 75.28 kB / 0.8196 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1864, allocations: 0 / 0.8196 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002026/0.1866, allocations: 11.98 kB / 0.8196 GB, free: 2.203 MB / 0.5606 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.000524/0.1871, allocations: 0.6123 MB / 0.8202 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.045e-05/0.1872, allocations: 4 kB / 0.8202 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1872, allocations: 0 / 0.8202 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.061e-06/0.1872, allocations: 3.938 kB / 0.8202 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1873, allocations: 12.91 kB / 0.8202 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.1877, allocations: 106.6 kB / 0.8203 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.188, allocations: 0.6729 MB / 0.821 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.12e-05/0.188, allocations: 0 / 0.821 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.639e-05/0.188, allocations: 7.438 kB / 0.821 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.188, allocations: 0 / 0.821 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.2129, allocations: 1.172 MB / 0.8221 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.256, allocations: 12.42 kB / 0.8221 GB, free: 15.65 MB / 0.5762 GB " [Timeout remaining time 652] (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: 12.39798235008493] Failed to read output from testmodel.py, exit status != 0: 8.321178400889039 8.337376972 8.150211359 Calling exit ...