Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.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.001966/0.001966, 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.001782/0.001782, allocations: 188 kB / 22.23 MB, free: 5.164 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.345/1.345, 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.002653/0.002653, allocations: 287.3 kB / 306.6 MB, free: 8.297 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.166/1.166, allocations: 180.9 MB / 0.53 GB, free: 14.53 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.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic")
translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 105.6 kB / 0.7309 GB, free: 38.83 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1561, allocations: 94.2 MB / 0.8229 GB, free: 1.75 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001777/0.1579, allocations: 0.6149 MB / 0.8235 GB, free: 1.141 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0003095/0.1582, allocations: 79.78 kB / 0.8235 GB, free: 1.062 MB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.1583, allocations: 0 / 0.8235 GB, free: 1.062 MB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.1583, allocations: 0 / 0.8235 GB, free: 1.062 MB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 4.973e-05/0.1583, allocations: 7.984 kB / 0.8236 GB, free: 1.055 MB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.1586, allocations: 47.88 kB / 0.8236 GB, free: 1.008 MB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 5.985e-05/0.1587, allocations: 23.92 kB / 0.8236 GB, free: 0.9844 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.401e-05/0.1587, allocations: 4.406 kB / 0.8236 GB, free: 0.9805 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.356e-05/0.1587, allocations: 19.94 kB / 0.8236 GB, free: 0.9609 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.1589, allocations: 75.84 kB / 0.8237 GB, free: 0.8867 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.1589, allocations: 4 kB / 0.8237 GB, free: 0.8828 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1591, allocations: 43.89 kB / 0.8238 GB, free: 0.8398 MB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 3.742e-05/0.1591, allocations: 15.98 kB / 0.8238 GB, free: 0.8242 MB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.1591, allocations: 23.81 kB / 0.8238 GB, free: 0.8008 MB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.1593, allocations: 71.72 kB / 0.8239 GB, free: 0.7305 MB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1593, allocations: 0 / 0.8239 GB, free: 0.7305 MB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.322e-06/0.1593, allocations: 0 / 0.8239 GB, free: 0.7305 MB / 0.5606 GB
Notification: Performance of Transformations before backend: time 4.368e-06/0.1593, allocations: 0 / 0.8239 GB, free: 0.7305 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: 21
 * Number of variables: 21
Notification: Performance of Generate backend data structure: time 0.0003483/0.1596, allocations: 290.2 kB / 0.8241 GB, free: 424 kB / 0.5606 GB
Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.1596, allocations: 8.031 kB / 0.8242 GB, free: 416 kB / 0.5606 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.1597, allocations: 8.891 kB / 0.8242 GB, free: 408 kB / 0.5606 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.786e-05/0.1598, allocations: 114.5 kB / 0.8243 GB, free: 268 kB / 0.5606 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.1598, allocations: 8.344 kB / 0.8243 GB, free: 260 kB / 0.5606 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1598, allocations: 4.375 kB / 0.8243 GB, free: 256 kB / 0.5606 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.16, allocations: 173 kB / 0.8244 GB, free: 60 kB / 0.5606 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1601, allocations: 3.938 kB / 0.8245 GB, free: 56 kB / 0.5606 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.1601, allocations: 7.984 kB / 0.8245 GB, free: 48 kB / 0.5606 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/0.1601, allocations: 27.97 kB / 0.8245 GB, free: 20 kB / 0.5606 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.055e-05/0.1602, allocations: 35.98 kB / 0.8245 GB, free: 15.98 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007256/0.1609, allocations: 0.878 MB / 0.8254 GB, free: 15.04 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.161, allocations: 165.1 kB / 0.8255 GB, free: 14.87 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/0.1611, allocations: 88.14 kB / 0.8256 GB, free: 14.78 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.1611, allocations: 83.22 kB / 0.8257 GB, free: 14.7 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.013e-05/0.1612, allocations: 105.8 kB / 0.8258 GB, free: 14.58 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.1612, allocations: 0 / 0.8258 GB, free: 14.58 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=0): time 9.149e-05/0.1613, allocations: 41.64 kB / 0.8258 GB, free: 14.54 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002362/0.1615, allocations: 387.7 kB / 0.8262 GB, free: 14.08 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.1617, allocations: 167 kB / 0.8264 GB, free: 13.91 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1617, allocations: 33.7 kB / 0.8264 GB, free: 13.87 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1618, allocations: 151.4 kB / 0.8265 GB, free: 13.72 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 7.243e-06/0.1618, allocations: 7.984 kB / 0.8266 GB, free: 13.71 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/0.1619, allocations: 53.66 kB / 0.8266 GB, free: 13.66 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001487/0.162, allocations: 318.8 kB / 0.8269 GB, free: 13.34 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.5e-05/0.1621, allocations: 31.91 kB / 0.8269 GB, free: 13.3 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.1623, allocations: 219.7 kB / 0.8271 GB, free: 13 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.1625, allocations: 197.7 kB / 0.8273 GB, free: 12.74 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1625, allocations: 11.94 kB / 0.8273 GB, free: 12.73 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.000305/0.1628, allocations: 181.7 kB / 0.8275 GB, free: 12.54 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1629, allocations: 12.22 kB / 0.8275 GB, free: 12.53 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1629, allocations: 7.938 kB / 0.8275 GB, free: 12.52 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.1629, allocations: 11.94 kB / 0.8276 GB, free: 12.51 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.163, allocations: 39.92 kB / 0.8276 GB, free: 12.47 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.163, allocations: 7.938 kB / 0.8276 GB, free: 12.46 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.98e-05/0.1631, allocations: 31.78 kB / 0.8276 GB, free: 12.43 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.1631, allocations: 11.98 kB / 0.8276 GB, free: 12.42 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 21
 * 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 (21):
 * Single equations (assignments): 21
 * 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.0001639/0.1633, allocations: 210.4 kB / 0.8278 GB, free: 12.21 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.933e-05/0.1634, allocations: 116.9 kB / 0.828 GB, free: 12.09 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.052e-05/0.1635, allocations: 116.7 kB / 0.8281 GB, free: 11.96 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.051e-05/0.1635, allocations: 188.2 kB / 0.8282 GB, free: 11.77 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.493e-05/0.1636, allocations: 180.3 kB / 0.8284 GB, free: 11.59 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.374e-05/0.1637, allocations: 184.2 kB / 0.8286 GB, free: 11.4 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.164, allocations: 392.3 kB / 0.829 GB, free: 10.96 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-05/0.1641, allocations: 106.4 kB / 0.8291 GB, free: 10.86 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.1641, allocations: 105 kB / 0.8292 GB, free: 10.75 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.449e-05/0.1642, allocations: 180.2 kB / 0.8293 GB, free: 10.56 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/0.1643, allocations: 180.2 kB / 0.8295 GB, free: 10.38 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.554e-05/0.1644, allocations: 180.2 kB / 0.8297 GB, free: 10.2 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.84e-05/0.1644, allocations: 192.2 kB / 0.8299 GB, free: 10 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.1646, allocations: 307.8 kB / 0.8302 GB, free: 9.676 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.1647, allocations: 112.9 kB / 0.8303 GB, free: 9.559 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.1648, allocations: 180.3 kB / 0.8304 GB, free: 9.375 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.852e-05/0.1649, allocations: 112.9 kB / 0.8305 GB, free: 9.258 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.165, allocations: 188.5 kB / 0.8307 GB, free: 9.066 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.165, allocations: 101 kB / 0.8308 GB, free: 8.961 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 9.582e-05/0.1651, allocations: 121.8 kB / 0.8309 GB, free: 8.844 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.1651, allocations: 0 / 0.8309 GB, free: 8.844 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0003435/0.1655, allocations: 31.94 kB / 0.831 GB, free: 8.812 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 (0):
 * Single equations (assignments): 0
 * 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.0002236/0.1657, allocations: 178.5 kB / 0.8311 GB, free: 8.629 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001629/0.1659, allocations: 75.8 kB / 0.8312 GB, free: 8.555 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1659, allocations: 4 kB / 0.8312 GB, free: 8.551 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 3.456e-06/0.1659, allocations: 4 kB / 0.8312 GB, free: 8.547 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.1663, allocations: 472.9 kB / 0.8317 GB, free: 8.082 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.1666, allocations: 224.7 kB / 0.8319 GB, free: 7.836 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1669, allocations: 0.6968 MB / 0.8326 GB, free: 7.113 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0001959/0.1671, allocations: 56.58 kB / 0.8326 GB, free: 7.055 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.1671, allocations: 19.38 kB / 0.8326 GB, free: 7.035 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.01e-07/0.1671, allocations: 0 / 0.8326 GB, free: 7.035 MB / 0.5762 GB
Notification: Performance of Templates: time 0.004614/0.1717, allocations: 1.774 MB / 0.8344 GB, free: 5.293 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.67672411724925]
Failed to read output from testmodel.py, exit status != 0:
0.17874497082084417 0.19349180400000002 0.031281199
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f397340d7b0>