Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001298/0.001298, allocations: 110 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.00142/0.00142, allocations: 187.2 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.456/1.456, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9047/0.9047, allocations: 134 MB / 440.3 MB, free: 188 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel")
translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 77.94 kB / 0.6107 GB, free: 13.67 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1766, allocations: 84.72 MB / 0.6935 GB, free: 9.016 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01734/0.1939, allocations: 14.67 MB / 0.7078 GB, free: 10.28 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.00561/0.1995, allocations: 3.672 MB / 0.7114 GB, free: 6.598 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004704/0.2, allocations: 27.81 kB / 0.7114 GB, free: 6.57 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006186/0.2006, allocations: 206.7 kB / 0.7116 GB, free: 6.367 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 0.001404/0.202, allocations: 0.622 MB / 0.7122 GB, free: 5.742 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0009966/0.203, allocations: 413.4 kB / 0.7126 GB, free: 5.344 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.001473/0.2045, allocations: 1.13 MB / 0.7137 GB, free: 4.211 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.00042/0.2049, allocations: 264.9 kB / 0.714 GB, free: 3.949 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.2059, allocations: 402.8 kB / 0.7143 GB, free: 3.559 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004491/0.2064, allocations: 338.6 kB / 0.7147 GB, free: 3.227 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 6.474e-05/0.2064, allocations: 32 kB / 0.7147 GB, free: 3.195 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000607/0.207, allocations: 267.5 kB / 0.715 GB, free: 2.934 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.2072, allocations: 103.5 kB / 0.7151 GB, free: 2.832 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.2074, allocations: 219 kB / 0.7153 GB, free: 2.617 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0009152/0.2083, allocations: 0.5954 MB / 0.7158 GB, free: 2.02 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2083, allocations: 0 / 0.7158 GB, free: 2.02 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.894e-06/0.2083, allocations: 0 / 0.7158 GB, free: 2.02 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 8.105e-06/0.2083, allocations: 0 / 0.7158 GB, free: 2.02 MB / 0.5294 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.001259/0.2096, allocations: 0.6893 MB / 0.7165 GB, free: 1.293 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2096, allocations: 8.031 kB / 0.7165 GB, free: 1.285 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.2098, allocations: 52.66 kB / 0.7166 GB, free: 1.234 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007593/0.2106, allocations: 411.9 kB / 0.717 GB, free: 0.8086 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.2106, allocations: 20.5 kB / 0.717 GB, free: 0.7891 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.2107, allocations: 31.95 kB / 0.717 GB, free: 0.7578 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.2113, allocations: 305.3 kB / 0.7173 GB, free: 448 kB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.2113, allocations: 0 / 0.7173 GB, free: 448 kB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.2113, allocations: 16 kB / 0.7173 GB, free: 432 kB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.2114, allocations: 11.94 kB / 0.7173 GB, free: 420 kB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.2119, allocations: 193.8 kB / 0.7175 GB, free: 224 kB / 0.5294 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.001925/0.2138, allocations: 1.41 MB / 0.7189 GB, free: 14.7 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/0.2142, allocations: 150.6 kB / 0.719 GB, free: 14.54 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.2144, allocations: 64.81 kB / 0.7191 GB, free: 14.47 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.203e-05/0.2145, allocations: 11.94 kB / 0.7191 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003111/0.2148, allocations: 127.2 kB / 0.7192 GB, free: 14.32 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.2148, allocations: 4 kB / 0.7192 GB, free: 14.32 MB / 0.545 GB
Notification: Performance of matching and sorting (n=15): time 0.0006786/0.2155, allocations: 233.3 kB / 0.7195 GB, free: 14.09 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.2156, allocations: 59.34 kB / 0.7195 GB, free: 14.02 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.216, allocations: 357.6 kB / 0.7199 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.216, allocations: 29.7 kB / 0.7199 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.2162, allocations: 220.1 kB / 0.7201 GB, free: 13.4 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 5.772e-05/0.2163, allocations: 55.53 kB / 0.7201 GB, free: 13.35 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.903e-05/0.2164, allocations: 65.64 kB / 0.7202 GB, free: 13.28 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001627/0.2165, allocations: 334.8 kB / 0.7205 GB, free: 12.94 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.2167, allocations: 71.95 kB / 0.7206 GB, free: 12.87 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.217, allocations: 141.4 kB / 0.7207 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004749/0.2175, allocations: 244.8 kB / 0.721 GB, free: 12.42 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2175, allocations: 0 / 0.721 GB, free: 12.42 MB / 0.545 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006525/0.2181, allocations: 318.8 kB / 0.7213 GB, free: 12.1 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/0.2182, allocations: 37.69 kB / 0.7213 GB, free: 12.05 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2182, allocations: 4 kB / 0.7213 GB, free: 12.05 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.2182, allocations: 4 kB / 0.7213 GB, free: 12.05 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.2185, allocations: 55.91 kB / 0.7214 GB, free: 11.99 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.2185, allocations: 8.312 kB / 0.7214 GB, free: 11.98 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.2187, allocations: 31.83 kB / 0.7214 GB, free: 11.95 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.2188, allocations: 19.88 kB / 0.7214 GB, free: 11.93 MB / 0.545 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.0001908/0.219, allocations: 159.5 kB / 0.7216 GB, free: 11.77 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.219, allocations: 43.64 kB / 0.7216 GB, free: 11.73 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/0.2195, allocations: 191 kB / 0.7218 GB, free: 11.54 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.2195, allocations: 11.98 kB / 0.7218 GB, free: 11.53 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2195, allocations: 0 / 0.7218 GB, free: 11.53 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000553/0.2201, allocations: 483.7 kB / 0.7223 GB, free: 10.97 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.2206, allocations: 320.5 kB / 0.7226 GB, free: 10.61 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2206, allocations: 0 / 0.7226 GB, free: 10.61 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.2207, allocations: 35.86 kB / 0.7226 GB, free: 10.58 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.2207, allocations: 3.984 kB / 0.7226 GB, free: 10.57 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.2208, allocations: 8 kB / 0.7226 GB, free: 10.57 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2208, allocations: 4 kB / 0.7226 GB, free: 10.56 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2208, allocations: 0 / 0.7226 GB, free: 10.56 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/0.2214, allocations: 280.7 kB / 0.7229 GB, free: 10.27 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.2216, allocations: 55.64 kB / 0.723 GB, free: 10.21 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/0.2216, allocations: 7.984 kB / 0.723 GB, free: 10.21 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.2219, allocations: 27.88 kB / 0.723 GB, free: 10.18 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.2219, allocations: 15.97 kB / 0.723 GB, free: 10.16 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.222, allocations: 8 kB / 0.723 GB, free: 10.16 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0002733/0.2222, allocations: 247.2 kB / 0.7232 GB, free: 9.918 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.2222, allocations: 0 / 0.7232 GB, free: 9.918 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0004571/0.2227, allocations: 131.7 kB / 0.7234 GB, free: 9.789 MB / 0.545 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.0003788/0.2231, allocations: 185.5 kB / 0.7235 GB, free: 9.598 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0005564/0.2236, allocations: 225.6 kB / 0.7238 GB, free: 9.367 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2236, allocations: 0 / 0.7238 GB, free: 9.367 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.2238, allocations: 63.91 kB / 0.7238 GB, free: 9.305 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009897/0.2248, allocations: 220.7 kB / 0.724 GB, free: 9.105 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.2263, allocations: 0.7471 MB / 0.7248 GB, free: 8.332 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.2267, allocations: 0.7918 MB / 0.7255 GB, free: 7.512 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.0002366/0.2269, allocations: 63.25 kB / 0.7256 GB, free: 7.453 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.227, allocations: 43.36 kB / 0.7256 GB, free: 7.41 MB / 0.545 GB
Notification: Performance of SimCode: time 4.41e-07/0.227, allocations: 0 / 0.7256 GB, free: 7.41 MB / 0.545 GB
Notification: Performance of Templates: time 0.01379/0.2408, allocations: 7.331 MB / 0.7328 GB, free: 192 kB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.793634274974465]
Failed to read output from testmodel.py, exit status != 0:
0.2484208345413208 0.263999873 0.052531209
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f289d7957b0>