Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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.00125/0.00125, allocations: 108.8 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.001309/0.001309, allocations: 189.9 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.343/1.343, allocations: 225.6 MB / 251 MB, free: 13 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.002367/0.002367, allocations: 287.7 kB / 306.6 MB, free: 8.309 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.153/1.153, allocations: 180.9 MB / 0.53 GB, free: 14.5 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1")
translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002692/0.002692, allocations: 105.5 kB / 0.7309 GB, free: 38.91 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1503, allocations: 94.2 MB / 0.8229 GB, free: 1.773 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.00162/0.1519, allocations: 0.5804 MB / 0.8234 GB, free: 1.195 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0004569/0.1524, allocations: 203.7 kB / 0.8236 GB, free: 0.9961 MB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.074e-05/0.1524, allocations: 0 / 0.8236 GB, free: 0.9961 MB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.1524, allocations: 4 kB / 0.8236 GB, free: 0.9922 MB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 4.889e-06/0.1524, allocations: 0 / 0.8236 GB, free: 0.9922 MB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.1527, allocations: 55.83 kB / 0.8237 GB, free: 0.9375 MB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 3.306e-05/0.1528, allocations: 4 kB / 0.8237 GB, free: 0.9336 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.1528, allocations: 4 kB / 0.8237 GB, free: 0.9297 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.195e-05/0.1528, allocations: 3.984 kB / 0.8237 GB, free: 0.9258 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 1.718e-05/0.1528, allocations: 3.938 kB / 0.8237 GB, free: 0.9219 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 5.34e-06/0.1529, allocations: 0 / 0.8237 GB, free: 0.9219 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.153, allocations: 63.88 kB / 0.8238 GB, free: 0.8594 MB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 6.312e-06/0.153, allocations: 0 / 0.8238 GB, free: 0.8594 MB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 1.201e-05/0.153, allocations: 4 kB / 0.8238 GB, free: 0.8555 MB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.1531, allocations: 35.88 kB / 0.8238 GB, free: 0.8203 MB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1531, allocations: 0 / 0.8238 GB, free: 0.8203 MB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.012e-06/0.1531, allocations: 3.938 kB / 0.8238 GB, free: 0.8164 MB / 0.5606 GB
Notification: Performance of Transformations before backend: time 7.243e-06/0.1531, allocations: 0 / 0.8238 GB, free: 0.8164 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.0002799/0.1534, allocations: 246.4 kB / 0.824 GB, free: 0.543 MB / 0.5606 GB
Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.1535, allocations: 8.031 kB / 0.824 GB, free: 0.5352 MB / 0.5606 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.096e-05/0.1535, allocations: 0.9375 kB / 0.824 GB, free: 0.5352 MB / 0.5606 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 7.628e-05/0.1535, allocations: 106.5 kB / 0.8242 GB, free: 416 kB / 0.5606 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1536, allocations: 384 / 0.8242 GB, free: 416 kB / 0.5606 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.1536, allocations: 8.312 kB / 0.8242 GB, free: 408 kB / 0.5606 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.043e-05/0.1536, allocations: 26.27 kB / 0.8242 GB, free: 376 kB / 0.5606 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.1537, allocations: 192 / 0.8242 GB, free: 376 kB / 0.5606 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1537, allocations: 3.938 kB / 0.8242 GB, free: 372 kB / 0.5606 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1537, allocations: 4 kB / 0.8242 GB, free: 368 kB / 0.5606 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.601e-05/0.1537, allocations: 3.984 kB / 0.8242 GB, free: 364 kB / 0.5606 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.1538, allocations: 120.8 kB / 0.8243 GB, free: 200 kB / 0.5606 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.307e-05/0.1539, allocations: 22.61 kB / 0.8243 GB, free: 168 kB / 0.5606 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.1539, allocations: 8.797 kB / 0.8243 GB, free: 156 kB / 0.5606 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005175/0.1544, allocations: 79.97 kB / 0.8244 GB, free: 76 kB / 0.5606 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1544, allocations: 30.56 kB / 0.8244 GB, free: 36 kB / 0.5606 GB
Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1544, allocations: 4 kB / 0.8245 GB, free: 32 kB / 0.5606 GB
Notification: Performance of matching and sorting (n=1): time 0.0001289/0.1545, allocations: 33.64 kB / 0.8245 GB, free: 15.99 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1546, allocations: 55.41 kB / 0.8245 GB, free: 15.93 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.189e-05/0.1546, allocations: 93.86 kB / 0.8246 GB, free: 15.82 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.1546, allocations: 25.7 kB / 0.8246 GB, free: 15.79 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 4.056e-05/0.1547, allocations: 80.14 kB / 0.8247 GB, free: 15.71 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1547, allocations: 3.953 kB / 0.8247 GB, free: 15.71 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.1547, allocations: 13.7 kB / 0.8247 GB, free: 15.69 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001246/0.1548, allocations: 319 kB / 0.825 GB, free: 15.37 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.1549, allocations: 3.938 kB / 0.8251 GB, free: 15.36 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-06/0.1549, allocations: 0 / 0.8251 GB, free: 15.36 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.21e-05/0.1549, allocations: 8.859 kB / 0.8251 GB, free: 15.35 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1549, allocations: 0 / 0.8251 GB, free: 15.35 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 4.985e-05/0.1549, allocations: 33.7 kB / 0.8251 GB, free: 15.31 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.1549, allocations: 4 kB / 0.8251 GB, free: 15.31 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1549, allocations: 7.984 kB / 0.8251 GB, free: 15.3 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.155, allocations: 8.031 kB / 0.8251 GB, free: 15.29 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.986e-05/0.155, allocations: 7.875 kB / 0.8251 GB, free: 15.29 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.155, allocations: 0 / 0.8251 GB, free: 15.29 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-06/0.155, allocations: 0 / 0.8251 GB, free: 15.29 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.155, allocations: 4 kB / 0.8251 GB, free: 15.28 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 6.468e-05/0.1551, allocations: 111.1 kB / 0.8252 GB, free: 15.16 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-06/0.1551, allocations: 0 / 0.8252 GB, free: 15.16 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.825e-05/0.1552, allocations: 44.62 kB / 0.8253 GB, free: 15.11 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1552, allocations: 4.031 kB / 0.8253 GB, free: 15.11 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.1552, allocations: 0 / 0.8253 GB, free: 15.11 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.1552, allocations: 0 / 0.8253 GB, free: 15.11 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.777e-05/0.1553, allocations: 116.8 kB / 0.8254 GB, free: 14.95 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1553, allocations: 0 / 0.8254 GB, free: 14.95 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.026e-05/0.1553, allocations: 0 / 0.8254 GB, free: 14.95 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1553, allocations: 0 / 0.8254 GB, free: 14.95 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1553, allocations: 7.938 kB / 0.8254 GB, free: 14.95 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1553, allocations: 3.984 kB / 0.8254 GB, free: 14.94 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1553, allocations: 3.984 kB / 0.8254 GB, free: 14.94 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 6.874e-05/0.1554, allocations: 61.08 kB / 0.8255 GB, free: 14.86 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.1554, allocations: 3.984 kB / 0.8255 GB, free: 14.86 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.1554, allocations: 7.938 kB / 0.8255 GB, free: 14.85 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-06/0.1554, allocations: 0 / 0.8255 GB, free: 14.85 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.1554, allocations: 3.984 kB / 0.8255 GB, free: 14.84 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.1554, allocations: 4 kB / 0.8255 GB, free: 14.84 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 3.509e-05/0.1554, allocations: 75.28 kB / 0.8255 GB, free: 14.77 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6e-08/0.1554, allocations: 0 / 0.8255 GB, free: 14.77 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0001874/0.1556, allocations: 19.97 kB / 0.8256 GB, free: 14.75 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.0001741/0.1558, allocations: 119.2 kB / 0.8257 GB, free: 14.62 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 6.579e-05/0.1559, allocations: 4 kB / 0.8257 GB, free: 14.61 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1559, allocations: 0 / 0.8257 GB, free: 14.61 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 1.096e-05/0.1559, allocations: 12 kB / 0.8257 GB, free: 14.6 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.156, allocations: 4 kB / 0.8257 GB, free: 14.6 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00015/0.1561, allocations: 73 kB / 0.8258 GB, free: 14.5 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.1564, allocations: 0.669 MB / 0.8264 GB, free: 13.8 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 1.245e-05/0.1564, allocations: 7.984 kB / 0.8264 GB, free: 13.8 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.361e-05/0.1564, allocations: 7.438 kB / 0.8264 GB, free: 13.79 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.8e-07/0.1564, allocations: 3.938 kB / 0.8264 GB, free: 13.79 MB / 0.5762 GB
Notification: Performance of Templates: time 0.002444/0.1589, allocations: 414 kB / 0.8268 GB, free: 13.38 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.541175272315741]
Failed to read output from testmodel.py, exit status != 0:
0.1658292068168521 0.17906684299999995 0.023231615
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe2055557b0>