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.001628/0.001628, allocations: 109.8 kB / 19.58 MB, free: 2.336 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.001519/0.001519, allocations: 192.1 kB / 22.85 MB, free: 5.645 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.47/1.47, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.002513/0.002513, allocations: 295.9 kB / 307.1 MB, free: 8.371 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.27/1.27, allocations: 180.8 MB / 0.5304 GB, free: 14.5 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.00279/0.00279, allocations: 101.6 kB / 0.731 GB, free: 39.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1662, allocations: 94.21 MB / 0.823 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002678/0.1689, allocations: 1.429 MB / 0.8244 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003465/0.1723, allocations: 2.699 MB / 0.8271 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.1724, allocations: 0 / 0.8271 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.1739, allocations: 0.5858 MB / 0.8277 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.1739, allocations: 23.84 kB / 0.8277 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.058e-06/0.1739, allocations: 0 / 0.8277 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.1742, allocations: 162.9 kB / 0.8278 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.1742, allocations: 12.59 kB / 0.8278 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1743, allocations: 67.66 kB / 0.8279 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.1745, allocations: 75.59 kB / 0.828 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1745, allocations: 3.984 kB / 0.828 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008694/0.1754, allocations: 411.5 kB / 0.8284 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.1754, allocations: 35.83 kB / 0.8284 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1755, allocations: 95.38 kB / 0.8285 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000652/0.1762, allocations: 442 kB / 0.8289 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1762, allocations: 0 / 0.8289 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1762, allocations: 0 / 0.8289 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.1762, allocations: 0 / 0.8289 GB, free: 12.02 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.0008568/0.177, allocations: 498.4 kB / 0.8294 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1771, allocations: 12.61 kB / 0.8294 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.1773, allocations: 104 kB / 0.8295 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.1775, allocations: 248.5 kB / 0.8297 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-05/0.1776, allocations: 150.9 kB / 0.8299 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-05/0.1777, allocations: 158.9 kB / 0.83 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.107e-05/0.1778, allocations: 109.5 kB / 0.8301 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.103e-05/0.1779, allocations: 75.47 kB / 0.8302 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.853e-05/0.1779, allocations: 154.5 kB / 0.8304 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-05/0.178, allocations: 150.6 kB / 0.8305 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.157e-05/0.1781, allocations: 158.5 kB / 0.8307 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.1786, allocations: 0.5085 MB / 0.8312 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.1787, allocations: 165.1 kB / 0.8313 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.1787, allocations: 84.14 kB / 0.8314 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/0.1788, allocations: 75.28 kB / 0.8315 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.086e-05/0.1788, allocations: 117.8 kB / 0.8316 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.1788, allocations: 3.938 kB / 0.8316 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001883/0.179, allocations: 57.48 kB / 0.8316 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.1791, allocations: 130.7 kB / 0.8318 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/0.1796, allocations: 433.3 kB / 0.8322 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1796, allocations: 25.7 kB / 0.8322 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.1797, allocations: 132.6 kB / 0.8323 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.1798, allocations: 0 / 0.8323 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.1799, allocations: 93.67 kB / 0.8324 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.18, allocations: 342.8 kB / 0.8327 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1802, allocations: 96.61 kB / 0.8328 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.1804, allocations: 165.8 kB / 0.833 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.1808, allocations: 305.7 kB / 0.8333 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1808, allocations: 0 / 0.8333 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005571/0.1813, allocations: 337 kB / 0.8336 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1813, allocations: 8 kB / 0.8336 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1814, allocations: 3.938 kB / 0.8336 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.1814, allocations: 4 kB / 0.8336 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.1814, allocations: 0 / 0.8336 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1814, allocations: 4 kB / 0.8336 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.1815, allocations: 43.73 kB / 0.8337 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1815, allocations: 8 kB / 0.8337 GB, free: 6.906 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.0002735/0.1818, allocations: 257.3 kB / 0.8339 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.1819, allocations: 120.8 kB / 0.834 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.533e-05/0.182, allocations: 126.8 kB / 0.8342 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.953e-05/0.1821, allocations: 180.2 kB / 0.8343 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.518e-05/0.1821, allocations: 188.2 kB / 0.8345 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-05/0.1822, allocations: 180.2 kB / 0.8347 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.1825, allocations: 444.2 kB / 0.8351 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.096e-05/0.1826, allocations: 101 kB / 0.8352 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/0.1826, allocations: 108.9 kB / 0.8353 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.199e-05/0.1827, allocations: 184.3 kB / 0.8355 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.542e-05/0.1828, allocations: 184.1 kB / 0.8357 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.23e-05/0.1829, allocations: 180.2 kB / 0.8358 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.113e-05/0.183, allocations: 184.4 kB / 0.836 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.1831, allocations: 327.7 kB / 0.8363 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-05/0.1832, allocations: 132.7 kB / 0.8364 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.1833, allocations: 180.2 kB / 0.8366 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.1835, allocations: 105 kB / 0.8367 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.1836, allocations: 180.2 kB / 0.8369 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/0.1836, allocations: 105 kB / 0.837 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003087/0.1839, allocations: 279.1 kB / 0.8373 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1839, allocations: 4 kB / 0.8373 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004148/0.1844, allocations: 83.94 kB / 0.8373 GB, free: 2.957 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.0004444/0.1848, allocations: 306.2 kB / 0.8376 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.185, allocations: 119.8 kB / 0.8377 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.185, allocations: 4 kB / 0.8377 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.185, allocations: 448 / 0.8377 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.1855, allocations: 465.1 kB / 0.8382 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007275/0.1862, allocations: 0.5027 MB / 0.8387 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.1866, allocations: 0.7822 MB / 0.8394 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.183e-05/0.1866, allocations: 0 / 0.8394 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.1867, allocations: 11.44 kB / 0.8395 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.1867, allocations: 0 / 0.8395 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of Templates: time 0.007113/0.1938, allocations: 3.089 MB / 0.8425 GB, free: 13.64 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.245929643017007] Failed to read output from testmodel.py, exit status != 0: 0.20128189900424331 0.21676555700000003 0.037540017 Calling exit ...