Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.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.001301/0.001301, 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.001372/0.001372, allocations: 186 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.399/1.399, allocations: 225.6 MB / 251 MB, free: 13.02 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.00255/0.00255, allocations: 292.5 kB / 306.6 MB, free: 8.336 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.238/1.238, allocations: 180.9 MB / 0.53 GB, free: 14.39 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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel")
translateModel(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 97.5 kB / 0.7308 GB, free: 38.69 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1798, allocations: 94.21 MB / 0.8228 GB, free: 1.844 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01916/0.199, allocations: 14.66 MB / 0.8371 GB, free: 3.117 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.006409/0.2054, allocations: 3.675 MB / 0.8407 GB, free: 15.43 MB / 0.5919 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005884/0.206, allocations: 23.81 kB / 0.8407 GB, free: 15.41 MB / 0.5919 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007017/0.2067, allocations: 218.6 kB / 0.841 GB, free: 15.19 MB / 0.5919 GB
Notification: Performance of NFTyping.typeBindings: time 0.001747/0.2084, allocations: 0.6181 MB / 0.8416 GB, free: 14.57 MB / 0.5919 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.2095, allocations: 419.3 kB / 0.842 GB, free: 14.16 MB / 0.5919 GB
Notification: Performance of NFFlatten.flatten: time 0.001709/0.2112, allocations: 1.13 MB / 0.8431 GB, free: 13.03 MB / 0.5919 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004807/0.2117, allocations: 265.3 kB / 0.8433 GB, free: 12.77 MB / 0.5919 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.2129, allocations: 398.6 kB / 0.8437 GB, free: 12.38 MB / 0.5919 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004844/0.2134, allocations: 326.5 kB / 0.844 GB, free: 12.05 MB / 0.5919 GB
Notification: Performance of NFPackage.collectConstants: time 6.235e-05/0.2134, allocations: 35.94 kB / 0.844 GB, free: 12.02 MB / 0.5919 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007071/0.2141, allocations: 275.5 kB / 0.8443 GB, free: 11.75 MB / 0.5919 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.2143, allocations: 99.61 kB / 0.8444 GB, free: 11.65 MB / 0.5919 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.2146, allocations: 215 kB / 0.8446 GB, free: 11.44 MB / 0.5919 GB
Notification: Performance of NFConvertDAE.convert: time 0.00109/0.2156, allocations: 0.5916 MB / 0.8452 GB, free: 10.85 MB / 0.5919 GB
Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2157, allocations: 0 / 0.8452 GB, free: 10.85 MB / 0.5919 GB
Notification: Performance of FrontEnd: time 2.094e-06/0.2157, allocations: 0 / 0.8452 GB, free: 10.85 MB / 0.5919 GB
Notification: Performance of Transformations before backend: time 1.23e-05/0.2157, allocations: 4 kB / 0.8452 GB, free: 10.84 MB / 0.5919 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 62
 * Number of variables: 62
Notification: Performance of Generate backend data structure: time 0.001401/0.2171, allocations: 0.6816 MB / 0.8458 GB, free: 10.12 MB / 0.5919 GB
Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2171, allocations: 8.031 kB / 0.8459 GB, free: 10.12 MB / 0.5919 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.2173, allocations: 60.58 kB / 0.8459 GB, free: 10.06 MB / 0.5919 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008126/0.2181, allocations: 408.7 kB / 0.8463 GB, free: 9.633 MB / 0.5919 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.2181, allocations: 20.88 kB / 0.8463 GB, free: 9.613 MB / 0.5919 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.2182, allocations: 27.94 kB / 0.8463 GB, free: 9.586 MB / 0.5919 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/0.2189, allocations: 309.3 kB / 0.8466 GB, free: 9.266 MB / 0.5919 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.2189, allocations: 3.938 kB / 0.8466 GB, free: 9.262 MB / 0.5919 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.2189, allocations: 12 kB / 0.8467 GB, free: 9.25 MB / 0.5919 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.219, allocations: 11.98 kB / 0.8467 GB, free: 9.238 MB / 0.5919 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005135/0.2195, allocations: 189.8 kB / 0.8469 GB, free: 9.051 MB / 0.5919 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.2215, allocations: 1.418 MB / 0.8482 GB, free: 7.52 MB / 0.5919 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.2219, allocations: 150.6 kB / 0.8484 GB, free: 7.363 MB / 0.5919 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.2221, allocations: 72.73 kB / 0.8485 GB, free: 7.289 MB / 0.5919 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.2222, allocations: 4 kB / 0.8485 GB, free: 7.285 MB / 0.5919 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003287/0.2226, allocations: 127.3 kB / 0.8486 GB, free: 7.148 MB / 0.5919 GB
Notification: Performance of pre-optimization done (n=15): time 1.774e-06/0.2226, allocations: 0 / 0.8486 GB, free: 7.148 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=15): time 0.00073/0.2233, allocations: 236.5 kB / 0.8488 GB, free: 6.914 MB / 0.5919 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.2233, allocations: 63.28 kB / 0.8489 GB, free: 6.84 MB / 0.5919 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.2238, allocations: 353.6 kB / 0.8492 GB, free: 6.484 MB / 0.5919 GB
Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.2238, allocations: 29.7 kB / 0.8492 GB, free: 6.449 MB / 0.5919 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.224, allocations: 224.1 kB / 0.8494 GB, free: 6.227 MB / 0.5919 GB
Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.224, allocations: 51.59 kB / 0.8495 GB, free: 6.176 MB / 0.5919 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.721e-05/0.2241, allocations: 53.66 kB / 0.8495 GB, free: 6.117 MB / 0.5919 GB
Notification: Performance of setup shared object (initialization): time 0.0001896/0.2243, allocations: 342.8 kB / 0.8499 GB, free: 5.773 MB / 0.5919 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.2245, allocations: 67.95 kB / 0.8499 GB, free: 5.707 MB / 0.5919 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.2248, allocations: 149.4 kB / 0.8501 GB, free: 5.527 MB / 0.5919 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.2253, allocations: 248.8 kB / 0.8503 GB, free: 5.246 MB / 0.5919 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2253, allocations: 4 kB / 0.8503 GB, free: 5.242 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006615/0.226, allocations: 306.8 kB / 0.8506 GB, free: 4.93 MB / 0.5919 GB
Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/0.226, allocations: 33.7 kB / 0.8506 GB, free: 4.891 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.226, allocations: 7.938 kB / 0.8506 GB, free: 4.883 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.226, allocations: 4.312 kB / 0.8507 GB, free: 4.879 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.2263, allocations: 67.83 kB / 0.8507 GB, free: 4.812 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.2263, allocations: 7.938 kB / 0.8507 GB, free: 4.805 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.2266, allocations: 31.77 kB / 0.8508 GB, free: 4.773 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.2266, allocations: 16 kB / 0.8508 GB, free: 4.758 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 11
 * Number of states: 0 ()
 * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (29):
 * Single equations (assignments): 28
 * 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.0002111/0.2268, allocations: 158.4 kB / 0.8509 GB, free: 4.594 MB / 0.5919 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.2269, allocations: 31.81 kB / 0.851 GB, free: 4.562 MB / 0.5919 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005169/0.2274, allocations: 204.4 kB / 0.8511 GB, free: 4.359 MB / 0.5919 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2274, allocations: 3.938 kB / 0.8512 GB, free: 4.355 MB / 0.5919 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2274, allocations: 0 / 0.8512 GB, free: 4.355 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005844/0.228, allocations: 483.6 kB / 0.8516 GB, free: 3.797 MB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.2285, allocations: 320.5 kB / 0.8519 GB, free: 3.441 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2285, allocations: 4 kB / 0.8519 GB, free: 3.438 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.2286, allocations: 35.97 kB / 0.852 GB, free: 3.402 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.2286, allocations: 8 kB / 0.852 GB, free: 3.395 MB / 0.5919 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.2286, allocations: 0 / 0.852 GB, free: 3.395 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.2287, allocations: 3.938 kB / 0.852 GB, free: 3.391 MB / 0.5919 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2287, allocations: 0 / 0.852 GB, free: 3.391 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006854/0.2293, allocations: 293.2 kB / 0.8522 GB, free: 3.09 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.2295, allocations: 51.78 kB / 0.8523 GB, free: 3.039 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.2295, allocations: 11.94 kB / 0.8523 GB, free: 3.027 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.2298, allocations: 15.92 kB / 0.8523 GB, free: 3.012 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.2298, allocations: 15.97 kB / 0.8523 GB, free: 2.996 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.2299, allocations: 11.98 kB / 0.8523 GB, free: 2.984 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 0.0002953/0.2302, allocations: 247.2 kB / 0.8526 GB, free: 2.746 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 9e-08/0.2302, allocations: 0 / 0.8526 GB, free: 2.746 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.0004663/0.2306, allocations: 127.7 kB / 0.8527 GB, free: 2.621 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U)
 * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count)
 * Number of discrete states: 1 (pulse.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (15):
 * Single equations (assignments): 13
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.000381/0.231, allocations: 191 kB / 0.8529 GB, free: 2.422 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.0005656/0.2316, allocations: 217.1 kB / 0.8531 GB, free: 2.199 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2316, allocations: 0 / 0.8531 GB, free: 2.199 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.2318, allocations: 64.52 kB / 0.8532 GB, free: 2.137 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.2328, allocations: 213 kB / 0.8534 GB, free: 1.934 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.2344, allocations: 0.7538 MB / 0.8541 GB, free: 1.152 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.2348, allocations: 0.7879 MB / 0.8549 GB, free: 348 kB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 0.0002357/0.2351, allocations: 63.19 kB / 0.8549 GB, free: 288 kB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.65e-05/0.2352, allocations: 47.36 kB / 0.855 GB, free: 240 kB / 0.5919 GB
Notification: Performance of SimCode: time 3.71e-07/0.2352, allocations: 0 / 0.855 GB, free: 240 kB / 0.5919 GB
Notification: Performance of Templates: time 0.01486/0.25, allocations: 7.354 MB / 0.8622 GB, free: 8.996 MB / 0.6075 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.286240780726075]
Failed to read output from testmodel.py, exit status != 0:
0.2581397481262684 0.274432587 0.055329747000000006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f8d8386d7b0>