Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.001278/0.001278, allocations: 114.2 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.001394/0.001394, allocations: 189 kB / 22.22 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.389/1.389, 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.002517/0.002517, allocations: 284.2 kB / 306.5 MB, free: 8.328 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.191/1.191, allocations: 180.9 MB / 0.53 GB, free: 14.38 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.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5")
translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 102.8 kB / 0.7308 GB, free: 38.71 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1435, allocations: 94.19 MB / 0.8228 GB, free: 1.871 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001649/0.1452, allocations: 0.539 MB / 0.8233 GB, free: 1.332 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0001704/0.1454, allocations: 47.8 kB / 0.8234 GB, free: 1.285 MB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.1454, allocations: 0 / 0.8234 GB, free: 1.285 MB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.1454, allocations: 0 / 0.8234 GB, free: 1.285 MB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.1456, allocations: 7.938 kB / 0.8234 GB, free: 1.277 MB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 4.338e-05/0.1456, allocations: 7.984 kB / 0.8234 GB, free: 1.27 MB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 5.899e-05/0.1457, allocations: 11.94 kB / 0.8234 GB, free: 1.258 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.1457, allocations: 4.406 kB / 0.8234 GB, free: 1.254 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.661e-05/0.1457, allocations: 11.91 kB / 0.8234 GB, free: 1.242 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.61e-05/0.1458, allocations: 12 kB / 0.8234 GB, free: 1.23 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1458, allocations: 0 / 0.8234 GB, free: 1.23 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.105e-06/0.1458, allocations: 0 / 0.8234 GB, free: 1.23 MB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.1459, allocations: 11.92 kB / 0.8234 GB, free: 1.219 MB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.1459, allocations: 0 / 0.8234 GB, free: 1.219 MB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 7.595e-05/0.146, allocations: 11.92 kB / 0.8235 GB, free: 1.207 MB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.146, allocations: 3.984 kB / 0.8235 GB, free: 1.203 MB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.472e-06/0.146, allocations: 0 / 0.8235 GB, free: 1.203 MB / 0.5606 GB
Notification: Performance of Transformations before backend: time 5.721e-06/0.146, allocations: 4 kB / 0.8235 GB, free: 1.199 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.000391/0.1464, allocations: 258.3 kB / 0.8237 GB, free: 0.9141 MB / 0.5606 GB
Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1464, allocations: 8.031 kB / 0.8237 GB, free: 0.9062 MB / 0.5606 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.1464, allocations: 8.891 kB / 0.8237 GB, free: 0.8984 MB / 0.5606 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.1466, allocations: 118.5 kB / 0.8238 GB, free: 0.7578 MB / 0.5606 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.1466, allocations: 384 / 0.8238 GB, free: 0.7578 MB / 0.5606 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.1466, allocations: 4.375 kB / 0.8238 GB, free: 0.7539 MB / 0.5606 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 7.779e-05/0.1467, allocations: 34.2 kB / 0.8239 GB, free: 0.7148 MB / 0.5606 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1467, allocations: 4.188 kB / 0.8239 GB, free: 0.7109 MB / 0.5606 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1467, allocations: 3.938 kB / 0.8239 GB, free: 0.707 MB / 0.5606 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1467, allocations: 3.984 kB / 0.8239 GB, free: 0.7031 MB / 0.5606 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.535e-05/0.1468, allocations: 0 / 0.8239 GB, free: 0.7031 MB / 0.5606 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.1469, allocations: 128.8 kB / 0.824 GB, free: 0.5352 MB / 0.5606 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.25e-05/0.147, allocations: 14.58 kB / 0.824 GB, free: 0.5117 MB / 0.5606 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.147, allocations: 12.86 kB / 0.824 GB, free: 0.4961 MB / 0.5606 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.147, allocations: 7.938 kB / 0.824 GB, free: 500 kB / 0.5606 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.147, allocations: 38.48 kB / 0.8241 GB, free: 452 kB / 0.5606 GB
Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.147, allocations: 0 / 0.8241 GB, free: 452 kB / 0.5606 GB
Notification: Performance of matching and sorting (n=1): time 0.0001412/0.1472, allocations: 53.58 kB / 0.8241 GB, free: 392 kB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1472, allocations: 51.41 kB / 0.8242 GB, free: 328 kB / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.183e-05/0.1473, allocations: 109.8 kB / 0.8243 GB, free: 208 kB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.1473, allocations: 25.7 kB / 0.8243 GB, free: 176 kB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.1474, allocations: 84.14 kB / 0.8244 GB, free: 88 kB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.1474, allocations: 4.125 kB / 0.8244 GB, free: 84 kB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.1474, allocations: 13.72 kB / 0.8244 GB, free: 64 kB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 0.0001503/0.1476, allocations: 314.8 kB / 0.8247 GB, free: 15.75 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.1476, allocations: 8 kB / 0.8247 GB, free: 15.74 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.542e-05/0.1476, allocations: 17.66 kB / 0.8247 GB, free: 15.71 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.514e-05/0.1477, allocations: 25.77 kB / 0.8248 GB, free: 15.68 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1477, allocations: 0 / 0.8248 GB, free: 15.68 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 7.866e-05/0.1477, allocations: 53.58 kB / 0.8248 GB, free: 15.62 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.1477, allocations: 4 kB / 0.8248 GB, free: 15.62 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1478, allocations: 4.188 kB / 0.8248 GB, free: 15.62 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1478, allocations: 4 kB / 0.8248 GB, free: 15.61 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.835e-05/0.1478, allocations: 8 kB / 0.8248 GB, free: 15.61 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1478, allocations: 0 / 0.8248 GB, free: 15.61 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.738e-05/0.1479, allocations: 3.984 kB / 0.8248 GB, free: 15.6 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1479, allocations: 64 / 0.8248 GB, free: 15.6 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (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 prepare postOptimizeDAE: time 7.569e-05/0.1479, allocations: 115.2 kB / 0.8249 GB, free: 15.48 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-06/0.148, allocations: 0 / 0.8249 GB, free: 15.48 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.1481, allocations: 57.03 kB / 0.825 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1481, allocations: 0 / 0.825 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1481, allocations: 3.984 kB / 0.825 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1481, allocations: 0 / 0.825 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.1482, allocations: 128.8 kB / 0.8251 GB, free: 15.24 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1482, allocations: 0 / 0.8251 GB, free: 15.24 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.853e-05/0.1482, allocations: 12.02 kB / 0.8251 GB, free: 15.23 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1482, allocations: 0 / 0.8251 GB, free: 15.23 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1482, allocations: 3.938 kB / 0.8251 GB, free: 15.23 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1482, allocations: 0 / 0.8251 GB, free: 15.23 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1482, allocations: 0 / 0.8251 GB, free: 15.23 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.1484, allocations: 85 kB / 0.8252 GB, free: 15.12 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.1484, allocations: 7.969 kB / 0.8252 GB, free: 15.12 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.1484, allocations: 3.938 kB / 0.8252 GB, free: 15.11 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.39e-05/0.1484, allocations: 8.094 kB / 0.8252 GB, free: 15.11 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.1484, allocations: 3.984 kB / 0.8252 GB, free: 15.1 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.1484, allocations: 3.938 kB / 0.8252 GB, free: 15.1 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 5.284e-05/0.1485, allocations: 87.28 kB / 0.8253 GB, free: 15.01 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/0.1485, allocations: 0 / 0.8253 GB, free: 15.01 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0001827/0.1487, allocations: 4 kB / 0.8253 GB, free: 15.01 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (c)
 * 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 9.426e-05/0.1488, allocations: 95.23 kB / 0.8254 GB, free: 14.91 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 8.279e-05/0.1489, allocations: 12 kB / 0.8254 GB, free: 14.89 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.1489, allocations: 4 kB / 0.8254 GB, free: 14.89 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 1.931e-05/0.1489, allocations: 15.92 kB / 0.8254 GB, free: 14.88 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.149, allocations: 3.938 kB / 0.8255 GB, free: 14.87 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/0.1493, allocations: 121.5 kB / 0.8256 GB, free: 14.73 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.1496, allocations: 0.6768 MB / 0.8262 GB, free: 14.02 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 1.839e-05/0.1496, allocations: 4 kB / 0.8262 GB, free: 14.02 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.1496, allocations: 7.625 kB / 0.8262 GB, free: 14.01 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.21e-07/0.1496, allocations: 4 kB / 0.8262 GB, free: 14.01 MB / 0.5762 GB
Notification: Performance of Templates: time 0.002495/0.1521, allocations: 334.4 kB / 0.8266 GB, free: 13.68 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.701597457751632]
Failed to read output from testmodel.py, exit status != 0:
0.1589608322829008 0.173937945 0.024991365
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f9dc6b7d7b0>