Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001538/0.001538, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001527/0.001527, allocations: 188.9 kB / 22.23 MB, free: 5.137 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.331/1.331, allocations: 225.6 MB / 251 MB, free: 13.04 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.002441/0.002441, allocations: 295.6 kB / 306.5 MB, free: 8.355 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.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.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation")
translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002716/0.002716, allocations: 101.4 kB / 0.7309 GB, free: 38.77 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1596, allocations: 94.2 MB / 0.8229 GB, free: 1.805 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001691/0.1613, allocations: 0.6186 MB / 0.8235 GB, free: 1.191 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001903/0.1632, allocations: 1.46 MB / 0.8249 GB, free: 15.71 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.1632, allocations: 4 kB / 0.8249 GB, free: 15.71 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 4.428e-05/0.1633, allocations: 0 / 0.8249 GB, free: 15.71 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 3.591e-05/0.1633, allocations: 7.938 kB / 0.8249 GB, free: 15.7 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.164, allocations: 222.2 kB / 0.8251 GB, free: 15.49 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 8.553e-05/0.1641, allocations: 39.89 kB / 0.8252 GB, free: 15.45 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.1641, allocations: 4 kB / 0.8252 GB, free: 15.45 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.362e-05/0.1641, allocations: 8 kB / 0.8252 GB, free: 15.44 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.1642, allocations: 27.91 kB / 0.8252 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1642, allocations: 0 / 0.8252 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.1646, allocations: 287.5 kB / 0.8255 GB, free: 15.13 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.1647, allocations: 11.92 kB / 0.8255 GB, free: 15.12 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.1647, allocations: 15.92 kB / 0.8255 GB, free: 15.1 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.165, allocations: 223.4 kB / 0.8257 GB, free: 14.88 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.165, allocations: 0 / 0.8257 GB, free: 14.88 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.132e-06/0.165, allocations: 0 / 0.8257 GB, free: 14.88 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 4.609e-06/0.165, allocations: 0 / 0.8257 GB, free: 14.88 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0004008/0.1654, allocations: 323.6 kB / 0.826 GB, free: 14.53 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.1654, allocations: 12.03 kB / 0.826 GB, free: 14.52 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.1655, allocations: 8.891 kB / 0.826 GB, free: 14.51 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.808e-05/0.1656, allocations: 110.5 kB / 0.8262 GB, free: 14.38 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1656, allocations: 12.3 kB / 0.8262 GB, free: 14.37 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1656, allocations: 384 / 0.8262 GB, free: 14.37 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1658, allocations: 73.97 kB / 0.8262 GB, free: 14.29 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1658, allocations: 4 kB / 0.8262 GB, free: 14.29 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1658, allocations: 0 / 0.8262 GB, free: 14.29 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.1658, allocations: 0 / 0.8262 GB, free: 14.29 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.746e-05/0.1658, allocations: 35.92 kB / 0.8263 GB, free: 14.25 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.166, allocations: 148.6 kB / 0.8264 GB, free: 14.06 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.856e-05/0.1661, allocations: 62.52 kB / 0.8265 GB, free: 13.99 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.967e-05/0.1661, allocations: 40.83 kB / 0.8265 GB, free: 13.95 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.1662, allocations: 0 / 0.8265 GB, free: 13.95 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.1662, allocations: 34.5 kB / 0.8265 GB, free: 13.91 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.1662, allocations: 0 / 0.8265 GB, free: 13.91 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=7): time 0.0003126/0.1665, allocations: 183.3 kB / 0.8267 GB, free: 13.71 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.1665, allocations: 81.11 kB / 0.8268 GB, free: 13.62 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.1666, allocations: 117.9 kB / 0.8269 GB, free: 13.49 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1667, allocations: 25.7 kB / 0.8269 GB, free: 13.46 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.1667, allocations: 92.06 kB / 0.827 GB, free: 13.37 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.1668, allocations: 23.75 kB / 0.827 GB, free: 13.34 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.1668, allocations: 25.7 kB / 0.8271 GB, free: 13.31 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001355/0.1669, allocations: 314.8 kB / 0.8274 GB, free: 13 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.797e-05/0.167, allocations: 35.97 kB / 0.8274 GB, free: 12.96 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.696e-05/0.167, allocations: 35.97 kB / 0.8274 GB, free: 12.93 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.1672, allocations: 148.9 kB / 0.8276 GB, free: 12.77 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1672, allocations: 0 / 0.8276 GB, free: 12.77 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001983/0.1674, allocations: 155.5 kB / 0.8277 GB, free: 12.6 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.1675, allocations: 37.64 kB / 0.8278 GB, free: 12.56 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1675, allocations: 4 kB / 0.8278 GB, free: 12.55 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1675, allocations: 0 / 0.8278 GB, free: 12.55 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-06/0.1675, allocations: 3.984 kB / 0.8278 GB, free: 12.55 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1675, allocations: 3.938 kB / 0.8278 GB, free: 12.55 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.308e-05/0.1676, allocations: 11.89 kB / 0.8278 GB, free: 12.54 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.1676, allocations: 8 kB / 0.8278 GB, free: 12.53 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): 0
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0001124/0.1677, allocations: 152.2 kB / 0.8279 GB, free: 12.36 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.1677, allocations: 11.92 kB / 0.8279 GB, free: 12.35 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.221e-05/0.1677, allocations: 4.375 kB / 0.828 GB, free: 12.34 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.1677, allocations: 0 / 0.828 GB, free: 12.34 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.1677, allocations: 4 kB / 0.828 GB, free: 12.34 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.1677, allocations: 0 / 0.828 GB, free: 12.34 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.1678, allocations: 132.7 kB / 0.8281 GB, free: 12.17 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1678, allocations: 0 / 0.8281 GB, free: 12.17 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1678, allocations: 0 / 0.8281 GB, free: 12.17 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1678, allocations: 7.938 kB / 0.8281 GB, free: 12.16 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1679, allocations: 7.984 kB / 0.8281 GB, free: 12.15 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.1679, allocations: 0 / 0.8281 GB, free: 12.15 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1679, allocations: 3.984 kB / 0.8281 GB, free: 12.15 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.1681, allocations: 194.7 kB / 0.8283 GB, free: 11.93 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.1681, allocations: 15.89 kB / 0.8283 GB, free: 11.92 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.1681, allocations: 7.938 kB / 0.8283 GB, free: 11.91 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.66e-05/0.1682, allocations: 7.984 kB / 0.8283 GB, free: 11.9 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.1682, allocations: 11.97 kB / 0.8283 GB, free: 11.89 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.1682, allocations: 8 kB / 0.8283 GB, free: 11.88 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 5.463e-05/0.1683, allocations: 91.27 kB / 0.8284 GB, free: 11.79 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.1683, allocations: 3.938 kB / 0.8284 GB, free: 11.79 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002736/0.1685, allocations: 67.88 kB / 0.8285 GB, free: 11.72 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): 0
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0002747/0.1688, allocations: 159.1 kB / 0.8286 GB, free: 11.56 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0002511/0.1691, allocations: 159.3 kB / 0.8288 GB, free: 11.39 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1691, allocations: 4.062 kB / 0.8288 GB, free: 11.39 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.1692, allocations: 119.3 kB / 0.8289 GB, free: 11.26 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.1693, allocations: 4 kB / 0.8289 GB, free: 11.25 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.1696, allocations: 172.9 kB / 0.8291 GB, free: 11.06 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1699, allocations: 0.6884 MB / 0.8298 GB, free: 10.34 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 4.248e-06/0.1699, allocations: 0 / 0.8298 GB, free: 10.34 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.093e-05/0.1699, allocations: 11.44 kB / 0.8298 GB, free: 10.33 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.6e-07/0.1699, allocations: 0 / 0.8298 GB, free: 10.33 MB / 0.5762 GB
Notification: Performance of Templates: time 0.004576/0.1745, allocations: 2.074 MB / 0.8318 GB, free: 8.266 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.76832172088325]
Failed to read output from testmodel.py, exit status != 0:
0.18134920485317707 0.19531447199999996 0.027547037000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f8ea81097b0>