Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.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.001511/0.001511, allocations: 106 kB / 18.94 MB, free: 2.934 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.001542/0.001542, allocations: 189.3 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.338/1.338, allocations: 225.6 MB / 251 MB, free: 13.01 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.002419/0.002419, allocations: 291.7 kB / 306.5 MB, free: 8.34 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.17/1.17, allocations: 180.9 MB / 0.53 GB, free: 14.42 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.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate")
translateModel(BuildingSystems.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002655/0.002655, allocations: 101.4 kB / 0.7308 GB, free: 39.25 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1529, allocations: 94.21 MB / 0.8228 GB, free: 1.77 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002549/0.1554, allocations: 1.483 MB / 0.8243 GB, free: 284 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001297/0.1567, allocations: 0.8008 MB / 0.8251 GB, free: 15.47 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.1568, allocations: 0 / 0.8251 GB, free: 15.47 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.157, allocations: 139.7 kB / 0.8252 GB, free: 15.33 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.000534/0.1575, allocations: 181.9 kB / 0.8254 GB, free: 15.16 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.1577, allocations: 75.78 kB / 0.8255 GB, free: 15.08 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0001057/0.1578, allocations: 67.81 kB / 0.8255 GB, free: 15.02 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.803e-05/0.1579, allocations: 11.92 kB / 0.8255 GB, free: 15 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.308e-05/0.158, allocations: 39.89 kB / 0.8256 GB, free: 14.96 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.1581, allocations: 95.75 kB / 0.8257 GB, free: 14.87 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1581, allocations: 4 kB / 0.8257 GB, free: 14.87 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.1585, allocations: 255.6 kB / 0.8259 GB, free: 14.62 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.1586, allocations: 107.7 kB / 0.826 GB, free: 14.51 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.1587, allocations: 79.28 kB / 0.8261 GB, free: 14.43 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.1591, allocations: 326.8 kB / 0.8264 GB, free: 14.11 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1591, allocations: 0 / 0.8264 GB, free: 14.11 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.563e-06/0.1591, allocations: 0 / 0.8264 GB, free: 14.11 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 4.909e-06/0.1591, allocations: 0 / 0.8264 GB, free: 14.11 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: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0007299/0.1599, allocations: 0.5041 MB / 0.8269 GB, free: 13.58 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1599, allocations: 12.03 kB / 0.8269 GB, free: 13.57 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.1599, allocations: 28.75 kB / 0.8269 GB, free: 13.54 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.1603, allocations: 320.8 kB / 0.8272 GB, free: 13.2 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1603, allocations: 12.31 kB / 0.8272 GB, free: 13.19 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.1603, allocations: 4.375 kB / 0.8272 GB, free: 13.18 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1605, allocations: 85.97 kB / 0.8273 GB, free: 13.09 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1605, allocations: 0 / 0.8273 GB, free: 13.09 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.485e-06/0.1605, allocations: 3.938 kB / 0.8273 GB, free: 13.09 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1606, allocations: 0 / 0.8273 GB, free: 13.09 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.1608, allocations: 99.92 kB / 0.8274 GB, free: 12.99 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.1613, allocations: 435.8 kB / 0.8278 GB, free: 12.52 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.1615, allocations: 110.5 kB / 0.8279 GB, free: 12.41 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.1616, allocations: 56.83 kB / 0.828 GB, free: 12.35 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/0.1617, allocations: 27.73 kB / 0.828 GB, free: 12.32 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1617, allocations: 30.56 kB / 0.8281 GB, free: 12.28 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1617, allocations: 4 kB / 0.8281 GB, free: 12.28 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=2): time 0.0004476/0.1622, allocations: 209.4 kB / 0.8283 GB, free: 12.07 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.1622, allocations: 55.34 kB / 0.8283 GB, free: 12 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/0.1627, allocations: 0.5366 MB / 0.8288 GB, free: 11.46 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1628, allocations: 25.7 kB / 0.8289 GB, free: 11.43 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.1629, allocations: 156.1 kB / 0.829 GB, free: 11.27 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.1629, allocations: 12.08 kB / 0.829 GB, free: 11.26 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.1629, allocations: 45.66 kB / 0.8291 GB, free: 11.21 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001442/0.1631, allocations: 338.8 kB / 0.8294 GB, free: 10.87 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.1633, allocations: 95.92 kB / 0.8295 GB, free: 10.77 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.1634, allocations: 95.88 kB / 0.8296 GB, free: 10.68 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.1637, allocations: 183.8 kB / 0.8297 GB, free: 10.5 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1637, allocations: 0 / 0.8297 GB, free: 10.5 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004165/0.1641, allocations: 265.4 kB / 0.83 GB, free: 10.23 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1641, allocations: 8 kB / 0.83 GB, free: 10.23 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1641, allocations: 3.938 kB / 0.83 GB, free: 10.22 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1641, allocations: 0 / 0.83 GB, free: 10.22 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.1643, allocations: 27.98 kB / 0.83 GB, free: 10.2 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1643, allocations: 0 / 0.83 GB, free: 10.2 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.494e-05/0.1644, allocations: 19.92 kB / 0.8301 GB, free: 10.18 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1644, allocations: 4 kB / 0.8301 GB, free: 10.17 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 (15):
 * Single equations (assignments): 15
 * 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.0001392/0.1645, allocations: 166.4 kB / 0.8302 GB, free: 10 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.1646, allocations: 31.77 kB / 0.8303 GB, free: 9.969 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.1649, allocations: 171.8 kB / 0.8304 GB, free: 9.789 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.1649, allocations: 4 kB / 0.8304 GB, free: 9.785 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1649, allocations: 0 / 0.8304 GB, free: 9.785 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1649, allocations: 4.031 kB / 0.8304 GB, free: 9.781 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.1651, allocations: 248.6 kB / 0.8307 GB, free: 9.496 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1651, allocations: 7.938 kB / 0.8307 GB, free: 9.488 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.766e-05/0.1652, allocations: 7.984 kB / 0.8307 GB, free: 9.48 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1652, allocations: 0 / 0.8307 GB, free: 9.48 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.1652, allocations: 4 kB / 0.8307 GB, free: 9.477 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1652, allocations: 0 / 0.8307 GB, free: 9.477 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.1652, allocations: 0 / 0.8307 GB, free: 9.477 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.1655, allocations: 263.2 kB / 0.8309 GB, free: 9.203 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.232e-05/0.1656, allocations: 39.8 kB / 0.831 GB, free: 9.164 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.1656, allocations: 4 kB / 0.831 GB, free: 9.16 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.171e-05/0.1657, allocations: 7.984 kB / 0.831 GB, free: 9.152 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.1658, allocations: 3.984 kB / 0.831 GB, free: 9.148 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.1658, allocations: 3.938 kB / 0.831 GB, free: 9.145 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0004595/0.1662, allocations: 403 kB / 0.8314 GB, free: 8.75 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.1662, allocations: 4.031 kB / 0.8314 GB, free: 8.746 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0003358/0.1666, allocations: 71.94 kB / 0.8314 GB, free: 8.676 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 (2):
 * Single equations (assignments): 2
 * 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.0002619/0.1668, allocations: 155.1 kB / 0.8316 GB, free: 8.512 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0003357/0.1672, allocations: 155.8 kB / 0.8317 GB, free: 8.359 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1672, allocations: 0 / 0.8317 GB, free: 8.359 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.1673, allocations: 59.95 kB / 0.8318 GB, free: 8.301 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.1676, allocations: 21.44 kB / 0.8318 GB, free: 8.281 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/0.1683, allocations: 0.5279 MB / 0.8323 GB, free: 7.73 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.1687, allocations: 0.7788 MB / 0.8331 GB, free: 6.926 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 5.295e-05/0.1688, allocations: 30.62 kB / 0.8331 GB, free: 6.895 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.1688, allocations: 19.44 kB / 0.8331 GB, free: 6.875 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.01e-07/0.1688, allocations: 0 / 0.8331 GB, free: 6.875 MB / 0.5762 GB
Notification: Performance of Templates: time 0.006409/0.1752, allocations: 2.814 MB / 0.8359 GB, free: 4.066 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.738612001761794]
Failed to read output from testmodel.py, exit status != 0:
0.18198631890118122 0.195924235 0.033908316
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f92388e97b0>