Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.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.001296/0.001296, allocations: 113.9 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.001327/0.001327, allocations: 186.9 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.391/1.391, allocations: 225.6 MB / 251 MB, free: 13.03 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.002452/0.002452, allocations: 284.3 kB / 306.5 MB, free: 8.355 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.218/1.218, allocations: 180.9 MB / 0.53 GB, free: 14.29 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.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource")
translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 102 kB / 0.7308 GB, free: 38.8 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1485, allocations: 94.2 MB / 0.8228 GB, free: 1.816 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.00538/0.1539, allocations: 3.31 MB / 0.8261 GB, free: 14.49 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.002398/0.1563, allocations: 1.418 MB / 0.8274 GB, free: 13.07 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.1564, allocations: 7.938 kB / 0.8274 GB, free: 13.06 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.001107/0.1575, allocations: 354.6 kB / 0.8278 GB, free: 12.71 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003641/0.1579, allocations: 151.2 kB / 0.8279 GB, free: 12.56 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.1583, allocations: 149 kB / 0.8281 GB, free: 12.42 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0004259/0.1587, allocations: 338.6 kB / 0.8284 GB, free: 12.09 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004063/0.1591, allocations: 180.2 kB / 0.8286 GB, free: 11.91 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.1593, allocations: 143.5 kB / 0.8287 GB, free: 11.77 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.1597, allocations: 155.4 kB / 0.8288 GB, free: 11.61 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 4.058e-05/0.1597, allocations: 20 kB / 0.8289 GB, free: 11.59 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.16, allocations: 179.6 kB / 0.829 GB, free: 11.42 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1601, allocations: 87.72 kB / 0.8291 GB, free: 11.33 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.1603, allocations: 119.4 kB / 0.8292 GB, free: 11.21 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005034/0.1608, allocations: 362.6 kB / 0.8296 GB, free: 10.86 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1608, allocations: 4 kB / 0.8296 GB, free: 10.86 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.322e-06/0.1608, allocations: 3.938 kB / 0.8296 GB, free: 10.85 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.633e-06/0.1608, allocations: 0 / 0.8296 GB, free: 10.85 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: 53
 * Number of variables: 53
Notification: Performance of Generate backend data structure: time 0.0008959/0.1617, allocations: 481.4 kB / 0.83 GB, free: 10.35 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1617, allocations: 8.031 kB / 0.8301 GB, free: 10.34 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006/0.1623, allocations: 88.67 kB / 0.8301 GB, free: 10.25 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.1627, allocations: 194.1 kB / 0.8303 GB, free: 10.04 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.1627, allocations: 12.81 kB / 0.8303 GB, free: 10.03 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.1627, allocations: 20.38 kB / 0.8304 GB, free: 10.01 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005536/0.1633, allocations: 312.6 kB / 0.8307 GB, free: 9.684 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1633, allocations: 4 kB / 0.8307 GB, free: 9.68 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.1633, allocations: 8 kB / 0.8307 GB, free: 9.672 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/0.1634, allocations: 20.42 kB / 0.8307 GB, free: 9.648 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/0.1638, allocations: 213.5 kB / 0.8309 GB, free: 9.441 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.1655, allocations: 1.463 MB / 0.8323 GB, free: 7.816 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/0.166, allocations: 114.6 kB / 0.8324 GB, free: 7.695 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.973e-05/0.1661, allocations: 44.83 kB / 0.8325 GB, free: 7.648 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.1661, allocations: 0 / 0.8325 GB, free: 7.648 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1661, allocations: 38.56 kB / 0.8325 GB, free: 7.602 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.1661, allocations: 3.938 kB / 0.8325 GB, free: 7.598 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=8): time 0.0005698/0.1667, allocations: 182.3 kB / 0.8327 GB, free: 7.41 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.1667, allocations: 51.41 kB / 0.8327 GB, free: 7.348 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.167, allocations: 213.1 kB / 0.8329 GB, free: 7.133 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.167, allocations: 29.7 kB / 0.833 GB, free: 7.098 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.1671, allocations: 176 kB / 0.8331 GB, free: 6.922 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.1671, allocations: 31.73 kB / 0.8332 GB, free: 6.891 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.1672, allocations: 41.66 kB / 0.8332 GB, free: 6.844 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001566/0.1674, allocations: 326.8 kB / 0.8335 GB, free: 6.516 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.1675, allocations: 43.97 kB / 0.8336 GB, free: 6.473 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.1676, allocations: 116.5 kB / 0.8337 GB, free: 6.328 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.1679, allocations: 172.4 kB / 0.8338 GB, free: 6.129 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1679, allocations: 0 / 0.8338 GB, free: 6.129 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003995/0.1683, allocations: 214.3 kB / 0.834 GB, free: 5.91 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1683, allocations: 4 kB / 0.834 GB, free: 5.906 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1683, allocations: 4 kB / 0.834 GB, free: 5.902 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.1685, allocations: 24.84 kB / 0.8341 GB, free: 5.875 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.1686, allocations: 35.86 kB / 0.8341 GB, free: 5.84 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.1699, allocations: 1.334 MB / 0.8354 GB, free: 4.391 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.17, allocations: 24.03 kB / 0.8354 GB, free: 4.367 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.17, allocations: 8 kB / 0.8354 GB, free: 4.359 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 10
 * 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 (18):
 * Single equations (assignments): 17
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.1702, allocations: 150.4 kB / 0.8356 GB, free: 4.203 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.1702, allocations: 15.91 kB / 0.8356 GB, free: 4.188 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.1703, allocations: 21.39 kB / 0.8356 GB, free: 4.172 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1703, allocations: 0 / 0.8356 GB, free: 4.172 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1703, allocations: 4 kB / 0.8356 GB, free: 4.168 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1703, allocations: 0 / 0.8356 GB, free: 4.168 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000799/0.1711, allocations: 466.2 kB / 0.8361 GB, free: 3.66 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1711, allocations: 0 / 0.8361 GB, free: 3.66 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.33e-05/0.1712, allocations: 15.98 kB / 0.8361 GB, free: 3.645 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.714e-05/0.1713, allocations: 24.83 kB / 0.8361 GB, free: 3.617 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1713, allocations: 0 / 0.8361 GB, free: 3.617 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.1726, allocations: 1.318 MB / 0.8374 GB, free: 2.18 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1726, allocations: 4.156 kB / 0.8374 GB, free: 2.176 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.1729, allocations: 244.2 kB / 0.8376 GB, free: 1.918 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/0.173, allocations: 19.91 kB / 0.8376 GB, free: 1.898 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.173, allocations: 7.922 kB / 0.8377 GB, free: 1.891 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.1732, allocations: 8 kB / 0.8377 GB, free: 1.883 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.1732, allocations: 3.984 kB / 0.8377 GB, free: 1.879 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1732, allocations: 8 kB / 0.8377 GB, free: 1.871 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0001557/0.1734, allocations: 145.5 kB / 0.8378 GB, free: 1.73 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/0.1734, allocations: 0 / 0.8378 GB, free: 1.73 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.000388/0.1738, allocations: 63.78 kB / 0.8379 GB, free: 1.668 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 (7):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001454/0.1739, allocations: 96.23 kB / 0.838 GB, free: 1.562 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0004956/0.1744, allocations: 230.7 kB / 0.8382 GB, free: 1.324 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1744, allocations: 0 / 0.8382 GB, free: 1.324 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.1747, allocations: 158.7 kB / 0.8383 GB, free: 1.156 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.1751, allocations: 41.66 kB / 0.8384 GB, free: 1.121 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007301/0.1758, allocations: 408.4 kB / 0.8388 GB, free: 0.6992 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.1762, allocations: 0.7476 MB / 0.8395 GB, free: 15.93 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 9.494e-05/0.1763, allocations: 25.47 kB / 0.8395 GB, free: 15.9 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.1764, allocations: 19.44 kB / 0.8395 GB, free: 15.88 MB / 0.5919 GB
Notification: Performance of SimCode: time 3.3e-07/0.1764, allocations: 4 kB / 0.8395 GB, free: 15.88 MB / 0.5919 GB
Notification: Performance of Templates: time 0.005787/0.1821, allocations: 2.05 MB / 0.8415 GB, free: 13.85 MB / 0.5919 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.91195500921458]
Failed to read output from testmodel.py, exit status != 0:
0.18942363373935223 0.20562031700000002 0.041645967000000006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f924958d7b0>