Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001324/0.001324, 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.001387/0.001387, allocations: 192.5 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.407/1.407, allocations: 225.6 MB / 251 MB, free: 13.01 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.002458/0.002458, allocations: 286.3 kB / 306.6 MB, free: 8.312 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.42 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_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low")
translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002987/0.002987, allocations: 102.9 kB / 0.7308 GB, free: 38.83 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1717, allocations: 94.2 MB / 0.8228 GB, free: 1.703 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002977/0.1747, allocations: 1.415 MB / 0.8242 GB, free: 280 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.00251/0.1772, allocations: 1.968 MB / 0.8261 GB, free: 14.3 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.1772, allocations: 0 / 0.8261 GB, free: 14.3 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.001054/0.1783, allocations: 393.9 kB / 0.8265 GB, free: 13.91 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 5.104e-05/0.1783, allocations: 23.84 kB / 0.8265 GB, free: 13.89 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 4.328e-06/0.1783, allocations: 0 / 0.8265 GB, free: 13.89 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0002201/0.1785, allocations: 119.2 kB / 0.8266 GB, free: 13.77 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.1786, allocations: 5.688 kB / 0.8266 GB, free: 13.76 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.1787, allocations: 55.78 kB / 0.8267 GB, free: 13.71 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1788, allocations: 63.7 kB / 0.8268 GB, free: 13.64 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1788, allocations: 4 kB / 0.8268 GB, free: 13.64 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.1793, allocations: 179.9 kB / 0.8269 GB, free: 13.46 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.1793, allocations: 31.84 kB / 0.827 GB, free: 13.43 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 8.773e-05/0.1794, allocations: 71.61 kB / 0.827 GB, free: 13.36 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.1799, allocations: 290.7 kB / 0.8273 GB, free: 13.08 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1799, allocations: 0 / 0.8273 GB, free: 13.08 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.122e-06/0.1799, allocations: 0 / 0.8273 GB, free: 13.08 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 5.59e-06/0.1799, allocations: 4 kB / 0.8273 GB, free: 13.07 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.0007011/0.1806, allocations: 425.2 kB / 0.8277 GB, free: 12.63 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1806, allocations: 12.62 kB / 0.8277 GB, free: 12.62 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.1808, allocations: 92.12 kB / 0.8278 GB, free: 12.53 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.181, allocations: 241 kB / 0.828 GB, free: 12.27 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.299e-05/0.1811, allocations: 150.9 kB / 0.8282 GB, free: 12.12 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.1812, allocations: 162.9 kB / 0.8283 GB, free: 11.96 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 7.424e-05/0.1812, allocations: 109.1 kB / 0.8284 GB, free: 11.85 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.1813, allocations: 75.28 kB / 0.8285 GB, free: 11.77 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.085e-05/0.1813, allocations: 150.6 kB / 0.8287 GB, free: 11.62 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.194e-05/0.1814, allocations: 158.4 kB / 0.8288 GB, free: 11.47 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.655e-05/0.1814, allocations: 158.5 kB / 0.829 GB, free: 11.31 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.1819, allocations: 484.8 kB / 0.8294 GB, free: 10.8 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.588e-05/0.1819, allocations: 169.1 kB / 0.8296 GB, free: 10.62 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.182, allocations: 84.08 kB / 0.8297 GB, free: 10.54 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.182, allocations: 83.28 kB / 0.8297 GB, free: 10.45 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.815e-05/0.1821, allocations: 113.7 kB / 0.8299 GB, free: 10.33 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.1821, allocations: 0 / 0.8299 GB, free: 10.33 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=0): time 0.0001699/0.1823, allocations: 53.55 kB / 0.8299 GB, free: 10.27 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.1823, allocations: 126.7 kB / 0.83 GB, free: 10.14 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.1827, allocations: 317.7 kB / 0.8303 GB, free: 9.82 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1827, allocations: 29.7 kB / 0.8304 GB, free: 9.785 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.1828, allocations: 116.5 kB / 0.8305 GB, free: 9.668 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.165e-06/0.1828, allocations: 0 / 0.8305 GB, free: 9.668 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.1828, allocations: 65.67 kB / 0.8305 GB, free: 9.598 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.000149/0.183, allocations: 334.8 kB / 0.8309 GB, free: 9.262 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1831, allocations: 71.89 kB / 0.8309 GB, free: 9.191 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1832, allocations: 114 kB / 0.831 GB, free: 9.059 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.1835, allocations: 205.9 kB / 0.8312 GB, free: 8.836 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1835, allocations: 4 kB / 0.8312 GB, free: 8.832 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004327/0.1839, allocations: 237.2 kB / 0.8315 GB, free: 8.594 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1839, allocations: 6.031 kB / 0.8315 GB, free: 8.59 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.1839, allocations: 4 kB / 0.8315 GB, free: 8.586 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1839, allocations: 3.984 kB / 0.8315 GB, free: 8.582 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.126e-06/0.1839, allocations: 4.219 kB / 0.8315 GB, free: 8.578 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1839, allocations: 4 kB / 0.8315 GB, free: 8.574 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.1841, allocations: 27.73 kB / 0.8315 GB, free: 8.547 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1841, allocations: 4 kB / 0.8315 GB, free: 8.543 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.0002334/0.1843, allocations: 225.7 kB / 0.8317 GB, free: 8.312 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.23e-05/0.1844, allocations: 120.8 kB / 0.8318 GB, free: 8.188 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.941e-05/0.1845, allocations: 113.8 kB / 0.8319 GB, free: 8.066 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.74e-05/0.1845, allocations: 192.2 kB / 0.8321 GB, free: 7.871 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.074e-05/0.1846, allocations: 176.3 kB / 0.8323 GB, free: 7.691 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.441e-05/0.1847, allocations: 184.2 kB / 0.8325 GB, free: 7.504 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.185, allocations: 420.2 kB / 0.8329 GB, free: 7.043 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.275e-05/0.185, allocations: 101 kB / 0.833 GB, free: 6.938 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.1851, allocations: 116.9 kB / 0.8331 GB, free: 6.816 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.007e-05/0.1852, allocations: 180.3 kB / 0.8333 GB, free: 6.633 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.726e-05/0.1853, allocations: 184.2 kB / 0.8334 GB, free: 6.445 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.393e-05/0.1853, allocations: 180.2 kB / 0.8336 GB, free: 6.262 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001083/0.1855, allocations: 180.2 kB / 0.8338 GB, free: 6.078 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.1856, allocations: 323.6 kB / 0.8341 GB, free: 5.738 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.1857, allocations: 132.7 kB / 0.8342 GB, free: 5.602 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.1858, allocations: 176.3 kB / 0.8344 GB, free: 5.422 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.186, allocations: 105 kB / 0.8345 GB, free: 5.312 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.694e-05/0.186, allocations: 184.2 kB / 0.8347 GB, free: 5.125 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.1861, allocations: 109.3 kB / 0.8348 GB, free: 5.012 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0002193/0.1863, allocations: 213.2 kB / 0.835 GB, free: 4.801 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.1863, allocations: 0 / 0.835 GB, free: 4.801 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0003688/0.1867, allocations: 71.86 kB / 0.835 GB, free: 4.73 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.0004308/0.1871, allocations: 266.4 kB / 0.8353 GB, free: 4.461 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0002188/0.1873, allocations: 83.83 kB / 0.8354 GB, free: 4.379 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1873, allocations: 0 / 0.8354 GB, free: 4.379 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.1873, allocations: 0 / 0.8354 GB, free: 4.379 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.1879, allocations: 469.3 kB / 0.8358 GB, free: 3.918 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000751/0.1886, allocations: 397.4 kB / 0.8362 GB, free: 3.504 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.1891, allocations: 0.7392 MB / 0.8369 GB, free: 2.738 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 2.083e-05/0.1891, allocations: 8 kB / 0.8369 GB, free: 2.73 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.1891, allocations: 7.438 kB / 0.8369 GB, free: 2.723 MB / 0.5762 GB
Notification: Performance of SimCode: time 4.01e-07/0.1891, allocations: 0 / 0.8369 GB, free: 2.723 MB / 0.5762 GB
Notification: Performance of Templates: time 0.006364/0.1955, allocations: 2.325 MB / 0.8392 GB, free: 424 kB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.985068888403475]
Failed to read output from testmodel.py, exit status != 0:
0.20290136616677046 0.218029297 0.035132262000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f9b27e9d7b0>