Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.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.001822/0.001822, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.001849/0.001849, allocations: 192 kB / 22.23 MB, free: 5.16 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.325/1.325, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
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.002355/0.002355, allocations: 290.1 kB / 306.5 MB, free: 8.332 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.158/1.158, allocations: 180.9 MB / 0.53 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 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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0")
translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002669/0.002669, allocations: 105.1 kB / 0.7309 GB, free: 38.86 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1487, allocations: 94.2 MB / 0.8229 GB, free: 1.84 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001572/0.1502, allocations: 0.5912 MB / 0.8234 GB, free: 1.25 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0004217/0.1507, allocations: 191.8 kB / 0.8236 GB, free: 1.062 MB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.343e-05/0.1507, allocations: 4 kB / 0.8236 GB, free: 1.059 MB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 9.127e-06/0.1507, allocations: 0 / 0.8236 GB, free: 1.059 MB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 4.698e-06/0.1507, allocations: 0 / 0.8236 GB, free: 1.059 MB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.151, allocations: 55.83 kB / 0.8237 GB, free: 1.004 MB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 3.092e-05/0.151, allocations: 0 / 0.8237 GB, free: 1.004 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.008e-05/0.1511, allocations: 0 / 0.8237 GB, free: 1.004 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.806e-05/0.1511, allocations: 7.984 kB / 0.8237 GB, free: 0.9961 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 1.678e-05/0.1511, allocations: 0 / 0.8237 GB, free: 0.9961 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 5.3e-06/0.1511, allocations: 0 / 0.8237 GB, free: 0.9961 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.1513, allocations: 59.88 kB / 0.8238 GB, free: 0.9375 MB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 5.911e-06/0.1513, allocations: 0 / 0.8238 GB, free: 0.9375 MB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.1513, allocations: 11.94 kB / 0.8238 GB, free: 0.9258 MB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 0.000109/0.1514, allocations: 35.89 kB / 0.8238 GB, free: 0.8906 MB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1514, allocations: 0 / 0.8238 GB, free: 0.8906 MB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.613e-06/0.1514, allocations: 0 / 0.8238 GB, free: 0.8906 MB / 0.5606 GB
Notification: Performance of Transformations before backend: time 6.742e-06/0.1514, allocations: 3.984 kB / 0.8238 GB, free: 0.8867 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.0002563/0.1517, allocations: 234.4 kB / 0.824 GB, free: 0.625 MB / 0.5606 GB
Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1517, allocations: 12.03 kB / 0.824 GB, free: 0.6133 MB / 0.5606 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.1517, allocations: 4.938 kB / 0.824 GB, free: 0.6094 MB / 0.5606 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 7.882e-05/0.1518, allocations: 102.5 kB / 0.8241 GB, free: 496 kB / 0.5606 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1518, allocations: 8.312 kB / 0.8241 GB, free: 488 kB / 0.5606 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.1518, allocations: 4.359 kB / 0.8242 GB, free: 484 kB / 0.5606 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 7.794e-05/0.1519, allocations: 34.27 kB / 0.8242 GB, free: 444 kB / 0.5606 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1519, allocations: 192 / 0.8242 GB, free: 444 kB / 0.5606 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.1519, allocations: 3.938 kB / 0.8242 GB, free: 440 kB / 0.5606 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-06/0.1519, allocations: 0 / 0.8242 GB, free: 440 kB / 0.5606 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.629e-05/0.1519, allocations: 4 kB / 0.8242 GB, free: 436 kB / 0.5606 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.1521, allocations: 112.8 kB / 0.8243 GB, free: 280 kB / 0.5606 GB
Notification: Performance of preOpt comSubExp (simulation): time 3.972e-05/0.1521, allocations: 26.52 kB / 0.8243 GB, free: 244 kB / 0.5606 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.1521, allocations: 8.953 kB / 0.8243 GB, free: 232 kB / 0.5606 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000482/0.1526, allocations: 67.91 kB / 0.8244 GB, free: 164 kB / 0.5606 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.1526, allocations: 34.56 kB / 0.8244 GB, free: 120 kB / 0.5606 GB
Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1526, allocations: 4 kB / 0.8244 GB, free: 116 kB / 0.5606 GB
Notification: Performance of matching and sorting (n=1): time 0.0001114/0.1527, allocations: 33.64 kB / 0.8245 GB, free: 76 kB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.1528, allocations: 51.41 kB / 0.8245 GB, free: 12 kB / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.98e-05/0.1528, allocations: 93.8 kB / 0.8246 GB, free: 15.91 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1528, allocations: 29.7 kB / 0.8246 GB, free: 15.88 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.1529, allocations: 80.14 kB / 0.8247 GB, free: 15.79 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.1529, allocations: 7.938 kB / 0.8247 GB, free: 15.79 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.1529, allocations: 13.66 kB / 0.8247 GB, free: 15.77 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.000123/0.1531, allocations: 319 kB / 0.825 GB, free: 15.45 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.1531, allocations: 4 kB / 0.825 GB, free: 15.44 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-06/0.1531, allocations: 3.938 kB / 0.825 GB, free: 15.44 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.34e-05/0.1531, allocations: 8.859 kB / 0.825 GB, free: 15.43 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1531, allocations: 0 / 0.825 GB, free: 15.43 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 4.66e-05/0.1531, allocations: 29.7 kB / 0.8251 GB, free: 15.39 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.1531, allocations: 7.984 kB / 0.8251 GB, free: 15.38 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.1532, allocations: 0 / 0.8251 GB, free: 15.38 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1532, allocations: 12.03 kB / 0.8251 GB, free: 15.37 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.953e-05/0.1532, allocations: 0 / 0.8251 GB, free: 15.37 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1532, allocations: 3.938 kB / 0.8251 GB, free: 15.37 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.837e-06/0.1532, allocations: 0 / 0.8251 GB, free: 15.37 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.1532, allocations: 0 / 0.8251 GB, free: 15.37 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.049e-05/0.1533, allocations: 114.5 kB / 0.8252 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-06/0.1533, allocations: 0 / 0.8252 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.151e-05/0.1534, allocations: 44.61 kB / 0.8253 GB, free: 15.2 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1534, allocations: 0 / 0.8253 GB, free: 15.2 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1534, allocations: 4.031 kB / 0.8253 GB, free: 15.19 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-06/0.1534, allocations: 0 / 0.8253 GB, free: 15.19 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.574e-05/0.1535, allocations: 116.8 kB / 0.8254 GB, free: 15.04 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1535, allocations: 0 / 0.8254 GB, free: 15.04 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.021e-05/0.1535, allocations: 0 / 0.8254 GB, free: 15.04 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1535, allocations: 0 / 0.8254 GB, free: 15.04 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1535, allocations: 7.938 kB / 0.8254 GB, free: 15.03 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1535, allocations: 3.984 kB / 0.8254 GB, free: 15.02 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1535, allocations: 8 kB / 0.8254 GB, free: 15.02 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 6.113e-05/0.1535, allocations: 57.08 kB / 0.8254 GB, free: 14.94 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.116e-06/0.1535, allocations: 0 / 0.8254 GB, free: 14.94 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.1536, allocations: 3.938 kB / 0.8254 GB, free: 14.94 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-06/0.1536, allocations: 4 kB / 0.8254 GB, free: 14.93 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.1536, allocations: 7.984 kB / 0.8255 GB, free: 14.93 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.1536, allocations: 0 / 0.8255 GB, free: 14.93 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 3.382e-05/0.1536, allocations: 75.28 kB / 0.8255 GB, free: 14.85 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.1536, allocations: 0 / 0.8255 GB, free: 14.85 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.000187/0.1538, allocations: 19.97 kB / 0.8255 GB, free: 14.83 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.0001663/0.154, allocations: 115.2 kB / 0.8257 GB, free: 14.71 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 5.736e-05/0.154, allocations: 3.938 kB / 0.8257 GB, free: 14.7 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.154, allocations: 7.875 kB / 0.8257 GB, free: 14.7 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 5.941e-06/0.154, allocations: 4.062 kB / 0.8257 GB, free: 14.69 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/0.1541, allocations: 4.062 kB / 0.8257 GB, free: 14.69 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001579/0.1543, allocations: 85 kB / 0.8258 GB, free: 14.58 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1546, allocations: 0.669 MB / 0.8264 GB, free: 13.88 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 9.879e-06/0.1546, allocations: 3.984 kB / 0.8264 GB, free: 13.88 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.189e-05/0.1546, allocations: 7.438 kB / 0.8264 GB, free: 13.87 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.31e-07/0.1546, allocations: 4 kB / 0.8264 GB, free: 13.87 MB / 0.5762 GB
Notification: Performance of Templates: time 0.002336/0.1569, allocations: 417.9 kB / 0.8268 GB, free: 13.46 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.5828355476260185]
Failed to read output from testmodel.py, exit status != 0:
0.16360803972929716 0.17715313399999996 0.023010801
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2d8c1957b0>