Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.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.001253/0.001253, allocations: 112.7 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.001306/0.001306, allocations: 187.6 kB / 22.22 MB, free: 5.102 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.374/1.374, 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.002563/0.002563, allocations: 292.5 kB / 306.6 MB, free: 8.445 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.189/1.189, allocations: 180.9 MB / 0.53 GB, free: 14.58 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.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel")
translateModel(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002858/0.002858, allocations: 104 kB / 0.7308 GB, free: 38.82 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1499, allocations: 94.19 MB / 0.8228 GB, free: 1.965 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.006703/0.1566, allocations: 4.51 MB / 0.8272 GB, free: 13.43 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.003117/0.1597, allocations: 1.917 MB / 0.8291 GB, free: 11.51 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.1598, allocations: 15.88 kB / 0.8291 GB, free: 11.49 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.001702/0.1615, allocations: 0.6219 MB / 0.8297 GB, free: 10.87 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.000565/0.1621, allocations: 262.6 kB / 0.83 GB, free: 10.61 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006354/0.1628, allocations: 251.4 kB / 0.8302 GB, free: 10.37 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0007061/0.1635, allocations: 0.611 MB / 0.8308 GB, free: 9.754 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005665/0.164, allocations: 323.4 kB / 0.8311 GB, free: 9.434 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.1643, allocations: 251.1 kB / 0.8313 GB, free: 9.188 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004759/0.1648, allocations: 287 kB / 0.8316 GB, free: 8.906 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 7.147e-05/0.1649, allocations: 36 kB / 0.8317 GB, free: 8.871 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.1653, allocations: 267.4 kB / 0.8319 GB, free: 8.609 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.1655, allocations: 151.5 kB / 0.8321 GB, free: 8.461 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.1657, allocations: 226.9 kB / 0.8323 GB, free: 8.238 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007966/0.1665, allocations: 0.611 MB / 0.8329 GB, free: 7.625 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1665, allocations: 3.938 kB / 0.8329 GB, free: 7.621 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.472e-06/0.1665, allocations: 0 / 0.8329 GB, free: 7.621 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 7.284e-06/0.1665, allocations: 0 / 0.8329 GB, free: 7.621 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: 91
 * Number of variables: 91
Notification: Performance of Generate backend data structure: time 0.001297/0.1678, allocations: 0.6609 MB / 0.8335 GB, free: 6.93 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1679, allocations: 8.031 kB / 0.8335 GB, free: 6.922 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009974/0.1689, allocations: 152.5 kB / 0.8337 GB, free: 6.773 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.1694, allocations: 272.8 kB / 0.8339 GB, free: 6.48 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.1694, allocations: 29.36 kB / 0.834 GB, free: 6.453 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/0.1695, allocations: 36.36 kB / 0.834 GB, free: 6.418 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008403/0.1703, allocations: 0.5356 MB / 0.8345 GB, free: 5.84 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1703, allocations: 0 / 0.8345 GB, free: 5.84 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/0.1703, allocations: 16 kB / 0.8345 GB, free: 5.824 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.214e-05/0.1704, allocations: 32.62 kB / 0.8346 GB, free: 5.793 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006299/0.171, allocations: 386.3 kB / 0.8349 GB, free: 5.418 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.1738, allocations: 2.368 MB / 0.8372 GB, free: 2.836 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.1744, allocations: 240.2 kB / 0.8375 GB, free: 2.594 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.1746, allocations: 112.7 kB / 0.8376 GB, free: 2.48 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.1746, allocations: 0 / 0.8376 GB, free: 2.48 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1746, allocations: 38.56 kB / 0.8376 GB, free: 2.434 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=20): time 1.021e-06/0.1746, allocations: 0 / 0.8376 GB, free: 2.434 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=23): time 0.0022/0.1768, allocations: 0.8972 MB / 0.8385 GB, free: 1.496 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.1768, allocations: 55.34 kB / 0.8385 GB, free: 1.43 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.1772, allocations: 308.4 kB / 0.8388 GB, free: 1.117 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.1772, allocations: 33.7 kB / 0.8389 GB, free: 1.078 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.1774, allocations: 232.1 kB / 0.8391 GB, free: 0.8477 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 8.176e-05/0.1775, allocations: 91.27 kB / 0.8392 GB, free: 0.7578 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.1776, allocations: 61.98 kB / 0.8392 GB, free: 0.6875 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001595/0.1777, allocations: 334.8 kB / 0.8396 GB, free: 360 kB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.1779, allocations: 108.6 kB / 0.8397 GB, free: 252 kB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.1782, allocations: 200.9 kB / 0.8399 GB, free: 12 kB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.1786, allocations: 310.1 kB / 0.8401 GB, free: 15.68 MB / 0.5919 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.1786, allocations: 4 kB / 0.8402 GB, free: 15.67 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007972/0.1794, allocations: 442.8 kB / 0.8406 GB, free: 15.23 MB / 0.5919 GB
Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1794, allocations: 4 kB / 0.8406 GB, free: 15.22 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.1794, allocations: 4 kB / 0.8406 GB, free: 15.22 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003812/0.1798, allocations: 98.78 kB / 0.8407 GB, free: 15.11 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.1801, allocations: 63.91 kB / 0.8407 GB, free: 15.05 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003747/0.1839, allocations: 4.086 MB / 0.8447 GB, free: 10.62 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.1841, allocations: 8 kB / 0.8447 GB, free: 10.61 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.1841, allocations: 16.16 kB / 0.8447 GB, free: 10.6 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 12
 * 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 (34):
 * Single equations (assignments): 31
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0002323/0.1843, allocations: 182.4 kB / 0.8449 GB, free: 10.41 MB / 0.5919 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.1844, allocations: 35.89 kB / 0.845 GB, free: 10.38 MB / 0.5919 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.569e-05/0.1845, allocations: 50.33 kB / 0.845 GB, free: 10.32 MB / 0.5919 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1845, allocations: 4 kB / 0.845 GB, free: 10.32 MB / 0.5919 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1845, allocations: 0 / 0.845 GB, free: 10.32 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1845, allocations: 0 / 0.845 GB, free: 10.32 MB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.185, allocations: 368.5 kB / 0.8454 GB, free: 9.914 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.185, allocations: 4 kB / 0.8454 GB, free: 9.91 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.1852, allocations: 39.91 kB / 0.8454 GB, free: 9.871 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003136/0.1855, allocations: 86.5 kB / 0.8455 GB, free: 9.777 MB / 0.5919 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.1856, allocations: 12 kB / 0.8455 GB, free: 9.766 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003589/0.1892, allocations: 4.077 MB / 0.8495 GB, free: 5.344 MB / 0.5919 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1892, allocations: 0 / 0.8495 GB, free: 5.344 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008838/0.19, allocations: 0.5612 MB / 0.85 GB, free: 4.758 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.1902, allocations: 55.88 kB / 0.8501 GB, free: 4.703 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.1902, allocations: 4 kB / 0.8501 GB, free: 4.699 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.1904, allocations: 12 kB / 0.8501 GB, free: 4.688 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.1905, allocations: 19.91 kB / 0.8501 GB, free: 4.668 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1905, allocations: 11.94 kB / 0.8501 GB, free: 4.656 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 0.0002433/0.1907, allocations: 211.1 kB / 0.8503 GB, free: 4.449 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 8e-08/0.1907, allocations: 0 / 0.8503 GB, free: 4.449 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.0004541/0.1912, allocations: 99.94 kB / 0.8504 GB, free: 4.352 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (RC_dyn.Vc)
 * 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 (18):
 * Single equations (assignments): 15
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001254/0.1913, allocations: 103.3 kB / 0.8505 GB, free: 4.242 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.0009298/0.1923, allocations: 0.5909 MB / 0.8511 GB, free: 3.613 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1923, allocations: 0 / 0.8511 GB, free: 3.613 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 0.0005579/0.1928, allocations: 466.7 kB / 0.8515 GB, free: 3.121 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.1933, allocations: 85.83 kB / 0.8516 GB, free: 3.039 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.1946, allocations: 0.7294 MB / 0.8523 GB, free: 2.289 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.1951, allocations: 0.835 MB / 0.8532 GB, free: 1.426 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 0.0001916/0.1953, allocations: 58.94 kB / 0.8532 GB, free: 1.367 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.1954, allocations: 27.38 kB / 0.8532 GB, free: 1.34 MB / 0.5919 GB
Notification: Performance of SimCode: time 6.41e-07/0.1954, allocations: 0 / 0.8532 GB, free: 1.34 MB / 0.5919 GB
Notification: Performance of Templates: time 0.01023/0.2056, allocations: 4.696 MB / 0.8578 GB, free: 12.69 MB / 0.6075 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.9082883559167385]
Failed to read output from testmodel.py, exit status != 0:
0.21332695242017508 0.22932667299999995 0.059645329000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f90d45357b0>