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.001469/0.001469, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001541/0.001541, allocations: 189.4 kB / 22.23 MB, free: 5.105 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.342/1.342, allocations: 225.6 MB / 251 MB, free: 13.03 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.002439/0.002439, allocations: 279.8 kB / 306.5 MB, free: 8.359 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.164/1.164, allocations: 180.9 MB / 0.53 GB, free: 14.6 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1")
translateModel(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002711/0.002711, allocations: 104.6 kB / 0.7309 GB, free: 38.52 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1553, allocations: 94.19 MB / 0.8229 GB, free: 1.883 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001774/0.1571, allocations: 0.5881 MB / 0.8234 GB, free: 1.293 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0003755/0.1575, allocations: 104.1 kB / 0.8235 GB, free: 1.191 MB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.627e-05/0.1575, allocations: 7.875 kB / 0.8236 GB, free: 1.184 MB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.1575, allocations: 0 / 0.8236 GB, free: 1.184 MB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.1575, allocations: 0 / 0.8236 GB, free: 1.184 MB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.1579, allocations: 27.91 kB / 0.8236 GB, free: 1.156 MB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 3.843e-05/0.1579, allocations: 8 kB / 0.8236 GB, free: 1.148 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.158, allocations: 0 / 0.8236 GB, free: 1.148 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.143e-05/0.158, allocations: 3.938 kB / 0.8236 GB, free: 1.145 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 1.567e-05/0.158, allocations: 0 / 0.8236 GB, free: 1.145 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 8.035e-06/0.158, allocations: 0 / 0.8236 GB, free: 1.145 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.1581, allocations: 55.88 kB / 0.8236 GB, free: 1.09 MB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 8.165e-06/0.1581, allocations: 0 / 0.8236 GB, free: 1.09 MB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 1.398e-05/0.1582, allocations: 0 / 0.8236 GB, free: 1.09 MB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.1583, allocations: 35.88 kB / 0.8237 GB, free: 1.055 MB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1583, allocations: 0 / 0.8237 GB, free: 1.055 MB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.613e-06/0.1583, allocations: 0 / 0.8237 GB, free: 1.055 MB / 0.5606 GB
Notification: Performance of Transformations before backend: time 5.4e-06/0.1583, allocations: 4 kB / 0.8237 GB, free: 1.051 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.0003143/0.1586, allocations: 234.4 kB / 0.8239 GB, free: 0.7891 MB / 0.5606 GB
Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1586, allocations: 12.03 kB / 0.8239 GB, free: 0.7773 MB / 0.5606 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.1587, allocations: 4.875 kB / 0.8239 GB, free: 0.7734 MB / 0.5606 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.566e-05/0.1588, allocations: 110.5 kB / 0.824 GB, free: 0.6406 MB / 0.5606 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1588, allocations: 384 / 0.824 GB, free: 0.6406 MB / 0.5606 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.1588, allocations: 4.312 kB / 0.824 GB, free: 0.6367 MB / 0.5606 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.642e-05/0.1589, allocations: 30.27 kB / 0.8241 GB, free: 0.6016 MB / 0.5606 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1589, allocations: 4.188 kB / 0.8241 GB, free: 0.5977 MB / 0.5606 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1589, allocations: 3.938 kB / 0.8241 GB, free: 0.5938 MB / 0.5606 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1589, allocations: 0 / 0.8241 GB, free: 0.5938 MB / 0.5606 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.883e-05/0.1589, allocations: 4 kB / 0.8241 GB, free: 0.5898 MB / 0.5606 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.1591, allocations: 112.8 kB / 0.8242 GB, free: 448 kB / 0.5606 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.174e-05/0.1591, allocations: 22.56 kB / 0.8242 GB, free: 416 kB / 0.5606 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.1591, allocations: 16.88 kB / 0.8242 GB, free: 396 kB / 0.5606 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.1593, allocations: 4 kB / 0.8242 GB, free: 392 kB / 0.5606 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1593, allocations: 38.55 kB / 0.8243 GB, free: 344 kB / 0.5606 GB
Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.1593, allocations: 0 / 0.8243 GB, free: 344 kB / 0.5606 GB
Notification: Performance of matching and sorting (n=1): time 0.0001466/0.1595, allocations: 37.64 kB / 0.8243 GB, free: 300 kB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.1595, allocations: 51.41 kB / 0.8243 GB, free: 236 kB / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.342e-05/0.1596, allocations: 89.86 kB / 0.8244 GB, free: 136 kB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1596, allocations: 25.7 kB / 0.8245 GB, free: 104 kB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.1596, allocations: 84.14 kB / 0.8245 GB, free: 16 kB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1596, allocations: 8.078 kB / 0.8245 GB, free: 8 kB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.1597, allocations: 9.719 kB / 0.8245 GB, free: 15.99 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001373/0.1598, allocations: 310.8 kB / 0.8248 GB, free: 15.68 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.1598, allocations: 7.938 kB / 0.8249 GB, free: 15.67 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-06/0.1598, allocations: 3.984 kB / 0.8249 GB, free: 15.67 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.972e-05/0.1599, allocations: 12.86 kB / 0.8249 GB, free: 15.65 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1599, allocations: 4 kB / 0.8249 GB, free: 15.65 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 7.089e-05/0.1599, allocations: 33.77 kB / 0.8249 GB, free: 15.61 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.16, allocations: 6.344 kB / 0.8249 GB, free: 15.61 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.16, allocations: 3.938 kB / 0.8249 GB, free: 15.6 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.16, allocations: 3.938 kB / 0.8249 GB, free: 15.6 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.482e-05/0.16, allocations: 4 kB / 0.8249 GB, free: 15.59 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.16, allocations: 0 / 0.8249 GB, free: 15.59 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.135e-05/0.16, allocations: 0 / 0.8249 GB, free: 15.59 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.16, allocations: 0 / 0.8249 GB, free: 15.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 (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.578e-05/0.1601, allocations: 118.4 kB / 0.825 GB, free: 15.47 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.1601, allocations: 7.969 kB / 0.825 GB, free: 15.46 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.667e-05/0.1602, allocations: 40.64 kB / 0.8251 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1602, allocations: 0 / 0.8251 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1602, allocations: 0 / 0.8251 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.1602, allocations: 0 / 0.8251 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.475e-05/0.1603, allocations: 116.8 kB / 0.8252 GB, free: 15.26 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1603, allocations: 4 kB / 0.8252 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.949e-06/0.1603, allocations: 0 / 0.8252 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.1603, allocations: 0 / 0.8252 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1603, allocations: 3.938 kB / 0.8252 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1603, allocations: 32 / 0.8252 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1603, allocations: 4 kB / 0.8252 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.987e-05/0.1604, allocations: 65.06 kB / 0.8253 GB, free: 15.16 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.256e-06/0.1604, allocations: 0 / 0.8253 GB, free: 15.16 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1604, allocations: 3.938 kB / 0.8253 GB, free: 15.16 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-06/0.1604, allocations: 0 / 0.8253 GB, free: 15.16 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.1604, allocations: 4 kB / 0.8253 GB, free: 15.16 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.1604, allocations: 0 / 0.8253 GB, free: 15.16 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 4.106e-05/0.1605, allocations: 79.31 kB / 0.8253 GB, free: 15.08 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.1605, allocations: 0 / 0.8253 GB, free: 15.08 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002023/0.1607, allocations: 11.94 kB / 0.8254 GB, free: 15.07 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.0001559/0.1608, allocations: 106.9 kB / 0.8255 GB, free: 14.95 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 6.672e-05/0.1609, allocations: 8 kB / 0.8255 GB, free: 14.95 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1609, allocations: 4.062 kB / 0.8255 GB, free: 14.94 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.1609, allocations: 7.938 kB / 0.8255 GB, free: 14.93 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.161, allocations: 0.5625 kB / 0.8255 GB, free: 14.93 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001814/0.1612, allocations: 80.98 kB / 0.8256 GB, free: 14.83 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.1615, allocations: 0.669 MB / 0.8262 GB, free: 14.13 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 9.328e-06/0.1615, allocations: 0 / 0.8262 GB, free: 14.13 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.266e-05/0.1615, allocations: 7.438 kB / 0.8262 GB, free: 14.12 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.81e-07/0.1615, allocations: 0 / 0.8262 GB, free: 14.12 MB / 0.5762 GB
Notification: Performance of Templates: time 0.002489/0.164, allocations: 424.7 kB / 0.8266 GB, free: 13.71 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 660]
(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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.61172285117209]
Failed to read output from testmodel.py, exit status != 0:
0.1706712795421481 0.189396433 0.028071090000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3af82e17b0>