Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.001162/0.001162, 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.001239/0.001239, allocations: 190.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.324/1.324, allocations: 225.6 MB / 251 MB, free: 13.05 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.002354/0.002354, allocations: 291.8 kB / 306.6 MB, free: 8.348 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.169/1.169, 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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck")
translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 101.2 kB / 0.7309 GB, free: 38.91 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1561, allocations: 94.2 MB / 0.8229 GB, free: 1.812 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001742/0.1578, allocations: 0.6182 MB / 0.8235 GB, free: 1.195 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001592/0.1594, allocations: 1.297 MB / 0.8248 GB, free: 15.88 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.1594, allocations: 0 / 0.8248 GB, free: 15.88 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.1594, allocations: 0 / 0.8248 GB, free: 15.88 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 1.655e-05/0.1594, allocations: 3.938 kB / 0.8248 GB, free: 15.88 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.1598, allocations: 83.72 kB / 0.8248 GB, free: 15.8 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 5.839e-05/0.1599, allocations: 27.86 kB / 0.8249 GB, free: 15.77 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.1599, allocations: 0 / 0.8249 GB, free: 15.77 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.361e-05/0.1599, allocations: 11.98 kB / 0.8249 GB, free: 15.76 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.16, allocations: 19.91 kB / 0.8249 GB, free: 15.74 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.16, allocations: 0 / 0.8249 GB, free: 15.74 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.1602, allocations: 99.89 kB / 0.825 GB, free: 15.64 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.1602, allocations: 11.98 kB / 0.825 GB, free: 15.63 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.1602, allocations: 3.938 kB / 0.825 GB, free: 15.62 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.1604, allocations: 71.73 kB / 0.8251 GB, free: 15.55 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1604, allocations: 0 / 0.8251 GB, free: 15.55 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.302e-06/0.1604, allocations: 4 kB / 0.8251 GB, free: 15.55 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 9.418e-06/0.1604, allocations: 4 kB / 0.8251 GB, free: 15.55 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: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.0004194/0.1608, allocations: 270.2 kB / 0.8253 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1609, allocations: 8.625 kB / 0.8253 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.1609, allocations: 4.938 kB / 0.8254 GB, free: 15.24 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.161, allocations: 110.5 kB / 0.8255 GB, free: 15.11 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.161, allocations: 8.25 kB / 0.8255 GB, free: 15.1 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.161, allocations: 8.359 kB / 0.8255 GB, free: 15.09 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.1612, allocations: 61.98 kB / 0.8255 GB, free: 15.03 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1612, allocations: 3.953 kB / 0.8255 GB, free: 15.02 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1612, allocations: 0 / 0.8255 GB, free: 15.02 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1612, allocations: 4 kB / 0.8255 GB, free: 15.02 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.124e-05/0.1613, allocations: 19.98 kB / 0.8256 GB, free: 15 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.1614, allocations: 136.7 kB / 0.8257 GB, free: 14.82 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.1616, allocations: 62.5 kB / 0.8257 GB, free: 14.75 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.601e-05/0.1616, allocations: 32.84 kB / 0.8258 GB, free: 14.72 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.1619, allocations: 31.97 kB / 0.8258 GB, free: 14.69 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.1619, allocations: 34.5 kB / 0.8258 GB, free: 14.64 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1619, allocations: 0 / 0.8258 GB, free: 14.64 MB / 0.5762 GB
Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default
========================================
1: x
2: deltax
Please use -d=bltdump for more information.
Notification: Performance of matching and sorting (n=17): time 0.01955/0.1814, allocations: 4.161 MB / 0.8299 GB, free: 10.39 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.1815, allocations: 55.41 kB / 0.83 GB, free: 10.32 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.404e-05/0.1815, allocations: 93.8 kB / 0.83 GB, free: 10.22 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 7.67e-05/0.1816, allocations: 29.7 kB / 0.8301 GB, free: 10.18 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.1817, allocations: 92.2 kB / 0.8302 GB, free: 10.09 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.1818, allocations: 59.47 kB / 0.8302 GB, free: 10.03 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.182, allocations: 93.66 kB / 0.8303 GB, free: 9.934 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001289/0.1822, allocations: 318.8 kB / 0.8306 GB, free: 9.613 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.1827, allocations: 307.9 kB / 0.8309 GB, free: 9.312 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.1832, allocations: 315.9 kB / 0.8312 GB, free: 9.004 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.1847, allocations: 0.7713 MB / 0.832 GB, free: 8.23 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1847, allocations: 0 / 0.832 GB, free: 8.23 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.001581/0.1863, allocations: 0.803 MB / 0.8327 GB, free: 7.422 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1863, allocations: 8 kB / 0.8328 GB, free: 7.414 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1863, allocations: 0 / 0.8328 GB, free: 7.414 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1864, allocations: 4 kB / 0.8328 GB, free: 7.41 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008285/0.1872, allocations: 95.89 kB / 0.8328 GB, free: 7.316 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1872, allocations: 3.984 kB / 0.8329 GB, free: 7.312 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.1877, allocations: 8 kB / 0.8329 GB, free: 7.305 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.514e-05/0.1878, allocations: 31.98 kB / 0.8329 GB, free: 7.273 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 (18):
 * Single equations (assignments): 18
 * 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 0.000193/0.188, allocations: 122.4 kB / 0.833 GB, free: 7.145 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.358e-05/0.1881, allocations: 7.953 kB / 0.833 GB, free: 7.137 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003155/0.1912, allocations: 1.396 MB / 0.8344 GB, free: 5.73 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1912, allocations: 11.98 kB / 0.8344 GB, free: 5.719 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1912, allocations: 0 / 0.8344 GB, free: 5.719 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1913, allocations: 0 / 0.8344 GB, free: 5.719 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002972/0.1942, allocations: 1.786 MB / 0.8361 GB, free: 3.883 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1942, allocations: 0 / 0.8361 GB, free: 3.883 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008011/0.195, allocations: 111.9 kB / 0.8362 GB, free: 3.773 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.195, allocations: 0 / 0.8362 GB, free: 3.773 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.356e-05/0.1951, allocations: 35.92 kB / 0.8363 GB, free: 3.738 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.1951, allocations: 0 / 0.8363 GB, free: 3.738 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1951, allocations: 0 / 0.8363 GB, free: 3.738 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/0.1975, allocations: 1.47 MB / 0.8377 GB, free: 2.25 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.1976, allocations: 23.86 kB / 0.8377 GB, free: 2.227 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.281e-05/0.1976, allocations: 7.938 kB / 0.8377 GB, free: 2.219 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/0.1982, allocations: 12 kB / 0.8378 GB, free: 2.207 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.1983, allocations: 43.95 kB / 0.8378 GB, free: 2.164 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/0.1984, allocations: 32 kB / 0.8378 GB, free: 2.133 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 4.247e-05/0.1984, allocations: 83.22 kB / 0.8379 GB, free: 2.051 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.1984, allocations: 160 / 0.8379 GB, free: 2.051 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0005525/0.199, allocations: 183.7 kB / 0.8381 GB, free: 1.871 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 1 (y_comp)
 * 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 (40):
 * Single equations (assignments): 40
 * 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.0004766/0.1995, allocations: 222.8 kB / 0.8383 GB, free: 1.645 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.001235/0.2007, allocations: 0.7124 MB / 0.839 GB, free: 0.9336 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2007, allocations: 7.938 kB / 0.839 GB, free: 0.9258 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006253/0.2013, allocations: 399.7 kB / 0.8394 GB, free: 0.5352 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.2016, allocations: 16.72 kB / 0.8394 GB, free: 0.5234 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.2051, allocations: 0.809 MB / 0.8402 GB, free: 15.68 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.2054, allocations: 0.7141 MB / 0.8409 GB, free: 14.95 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 0.0009661/0.2063, allocations: 294.4 kB / 0.8412 GB, free: 14.66 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/0.2069, allocations: 95.41 kB / 0.8413 GB, free: 14.57 MB / 0.5919 GB
Notification: Performance of SimCode: time 3.9e-07/0.2069, allocations: 0 / 0.8413 GB, free: 14.57 MB / 0.5919 GB
Notification: Performance of Templates: time 0.01668/0.2235, allocations: 11.77 MB / 0.8527 GB, free: 2.875 MB / 0.5919 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.845909432508051]
Failed to read output from testmodel.py, exit status != 0:
0.23084371257573366 0.244325479 0.081194479
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f181e6097b0>