Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001314/0.001314, 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.001373/0.001373, allocations: 192 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.415/1.415, allocations: 225.6 MB / 251 MB, free: 12.99 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.002495/0.002495, allocations: 285 kB / 306.5 MB, free: 8.289 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.225/1.225, allocations: 180.9 MB / 0.53 GB, free: 14.48 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.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med")
translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 102.3 kB / 0.7308 GB, free: 38.75 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1645, allocations: 94.2 MB / 0.8228 GB, free: 1.797 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002675/0.1671, allocations: 1.433 MB / 0.8242 GB, free: 364 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.003579/0.1707, allocations: 2.715 MB / 0.8269 GB, free: 13.63 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.1708, allocations: 0 / 0.8269 GB, free: 13.63 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.001444/0.1722, allocations: 0.5907 MB / 0.8274 GB, free: 13.04 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 5.011e-05/0.1723, allocations: 19.84 kB / 0.8275 GB, free: 13.02 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 3.717e-06/0.1723, allocations: 0 / 0.8275 GB, free: 13.02 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0002602/0.1725, allocations: 162.9 kB / 0.8276 GB, free: 12.86 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.012e-05/0.1726, allocations: 12.58 kB / 0.8276 GB, free: 12.84 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.911e-05/0.1727, allocations: 59.73 kB / 0.8277 GB, free: 12.79 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1728, allocations: 79.58 kB / 0.8278 GB, free: 12.71 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1728, allocations: 0 / 0.8278 GB, free: 12.71 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.1739, allocations: 475.3 kB / 0.8282 GB, free: 12.24 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 5.57e-05/0.174, allocations: 43.77 kB / 0.8283 GB, free: 12.2 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1741, allocations: 91.42 kB / 0.8283 GB, free: 12.11 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007104/0.1748, allocations: 446 kB / 0.8288 GB, free: 11.67 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1748, allocations: 4 kB / 0.8288 GB, free: 11.67 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.393e-06/0.1748, allocations: 0 / 0.8288 GB, free: 11.67 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.662e-06/0.1748, allocations: 0 / 0.8288 GB, free: 11.67 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: 0
 * Number of variables: 0
Notification: Performance of Generate backend data structure: time 0.0008302/0.1756, allocations: 496.6 kB / 0.8292 GB, free: 11.15 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1757, allocations: 12.62 kB / 0.8293 GB, free: 11.14 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.1759, allocations: 104 kB / 0.8294 GB, free: 11.04 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.1761, allocations: 244.5 kB / 0.8296 GB, free: 10.77 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/0.1762, allocations: 154.9 kB / 0.8297 GB, free: 10.62 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.999e-05/0.1763, allocations: 154.9 kB / 0.8299 GB, free: 10.46 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.425e-05/0.1764, allocations: 105.5 kB / 0.83 GB, free: 10.36 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/0.1764, allocations: 75.47 kB / 0.8301 GB, free: 10.28 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.02e-05/0.1765, allocations: 154.5 kB / 0.8302 GB, free: 10.13 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-05/0.1766, allocations: 154.6 kB / 0.8304 GB, free: 9.977 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.661e-05/0.1767, allocations: 154.5 kB / 0.8305 GB, free: 9.824 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.1771, allocations: 0.5085 MB / 0.831 GB, free: 9.273 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.1772, allocations: 165.1 kB / 0.8312 GB, free: 9.102 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.1773, allocations: 84.14 kB / 0.8312 GB, free: 9.016 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.127e-05/0.1773, allocations: 75.28 kB / 0.8313 GB, free: 8.941 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.066e-05/0.1774, allocations: 117.9 kB / 0.8314 GB, free: 8.816 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1774, allocations: 3.938 kB / 0.8314 GB, free: 8.812 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=0): time 0.0001874/0.1776, allocations: 61.5 kB / 0.8315 GB, free: 8.746 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.1776, allocations: 126.7 kB / 0.8316 GB, free: 8.609 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.1781, allocations: 437.3 kB / 0.832 GB, free: 8.176 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1781, allocations: 25.7 kB / 0.832 GB, free: 8.145 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1782, allocations: 132.6 kB / 0.8322 GB, free: 8.012 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/0.1782, allocations: 0 / 0.8322 GB, free: 8.012 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.576e-05/0.1783, allocations: 89.66 kB / 0.8323 GB, free: 7.918 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001689/0.1785, allocations: 346.8 kB / 0.8326 GB, free: 7.57 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1786, allocations: 96.59 kB / 0.8327 GB, free: 7.477 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.1788, allocations: 169.8 kB / 0.8328 GB, free: 7.285 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.1792, allocations: 301.7 kB / 0.8331 GB, free: 6.969 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.1792, allocations: 3.984 kB / 0.8331 GB, free: 6.965 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005671/0.1797, allocations: 333 kB / 0.8335 GB, free: 6.633 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.1798, allocations: 6.25 kB / 0.8335 GB, free: 6.629 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.1798, allocations: 11.94 kB / 0.8335 GB, free: 6.617 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1798, allocations: 0 / 0.8335 GB, free: 6.617 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.827e-06/0.1798, allocations: 4 kB / 0.8335 GB, free: 6.613 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1798, allocations: 7.922 kB / 0.8335 GB, free: 6.605 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.1799, allocations: 43.52 kB / 0.8335 GB, free: 6.562 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.18, allocations: 4 kB / 0.8335 GB, free: 6.559 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (7):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 7
 * 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.0002698/0.1802, allocations: 245.7 kB / 0.8338 GB, free: 6.309 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.9e-05/0.1803, allocations: 128.8 kB / 0.8339 GB, free: 6.176 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.76e-05/0.1804, allocations: 122.8 kB / 0.834 GB, free: 6.047 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.802e-05/0.1805, allocations: 180.2 kB / 0.8342 GB, free: 5.863 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.084e-05/0.1806, allocations: 176.3 kB / 0.8343 GB, free: 5.684 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.181e-05/0.1807, allocations: 184.2 kB / 0.8345 GB, free: 5.496 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.181, allocations: 448.2 kB / 0.8349 GB, free: 5.008 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.594e-05/0.1811, allocations: 101 kB / 0.835 GB, free: 4.902 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.1811, allocations: 108.9 kB / 0.8351 GB, free: 4.789 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.113e-05/0.1812, allocations: 184.2 kB / 0.8353 GB, free: 4.602 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.754e-05/0.1813, allocations: 188.1 kB / 0.8355 GB, free: 4.41 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.664e-05/0.1814, allocations: 176.3 kB / 0.8357 GB, free: 4.23 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.859e-05/0.1815, allocations: 180.5 kB / 0.8358 GB, free: 4.047 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.1817, allocations: 339.6 kB / 0.8362 GB, free: 3.691 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.1818, allocations: 120.8 kB / 0.8363 GB, free: 3.566 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.1819, allocations: 184.2 kB / 0.8365 GB, free: 3.379 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.1821, allocations: 105 kB / 0.8366 GB, free: 3.27 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.1821, allocations: 184.2 kB / 0.8367 GB, free: 3.082 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.1822, allocations: 109 kB / 0.8368 GB, free: 2.969 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0002915/0.1825, allocations: 275.1 kB / 0.8371 GB, free: 2.699 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/0.1825, allocations: 0 / 0.8371 GB, free: 2.699 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0003995/0.1829, allocations: 79.94 kB / 0.8372 GB, free: 2.621 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 (0):
 * Single equations (assignments): 0
 * 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 0.0003986/0.1833, allocations: 316.8 kB / 0.8375 GB, free: 2.305 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0002254/0.1835, allocations: 119.8 kB / 0.8376 GB, free: 2.188 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1835, allocations: 0 / 0.8376 GB, free: 2.188 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 3.647e-06/0.1835, allocations: 3.984 kB / 0.8376 GB, free: 2.184 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.184, allocations: 470.4 kB / 0.838 GB, free: 1.723 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006694/0.1846, allocations: 0.4953 MB / 0.8385 GB, free: 1.199 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.1851, allocations: 0.7743 MB / 0.8393 GB, free: 408 kB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 1.672e-05/0.1851, allocations: 4 kB / 0.8393 GB, free: 404 kB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.1851, allocations: 15.38 kB / 0.8393 GB, free: 388 kB / 0.5762 GB
Notification: Performance of SimCode: time 3.21e-07/0.1851, allocations: 0 / 0.8393 GB, free: 388 kB / 0.5762 GB
Notification: Performance of Templates: time 0.0072/0.1923, allocations: 3.096 MB / 0.8423 GB, free: 13.3 MB / 0.5919 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.981898265890777]
Failed to read output from testmodel.py, exit status != 0:
0.20011214073747396 0.215076179 0.037217922
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f8084ea17b0>