Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 207.5 kB / 23.76 MB, free: 4.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9933/0.9933, allocations: 150 MB / 463.9 MB, free: 10.51 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 70.11 kB / 0.6425 GB, free: 9.898 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1684, allocations: 89.17 MB / 0.7296 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003057/0.1715, allocations: 1.436 MB / 0.731 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003868/0.1754, allocations: 2.717 MB / 0.7336 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.1754, allocations: 0 / 0.7336 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.1775, allocations: 0.5893 MB / 0.7342 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.1775, allocations: 27.83 kB / 0.7342 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.589e-06/0.1775, allocations: 0 / 0.7342 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.1778, allocations: 162.9 kB / 0.7344 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.713e-05/0.1779, allocations: 8.594 kB / 0.7344 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.178, allocations: 63.73 kB / 0.7344 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.1782, allocations: 83.52 kB / 0.7345 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.1782, allocations: 0 / 0.7345 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.1794, allocations: 471.3 kB / 0.735 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.1795, allocations: 35.78 kB / 0.735 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.1796, allocations: 99.36 kB / 0.7351 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007951/0.1804, allocations: 442 kB / 0.7355 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1804, allocations: 0 / 0.7355 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1804, allocations: 3.938 kB / 0.7355 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.1804, allocations: 0 / 0.7355 GB, free: 10.66 MB / 0.5606 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.0009412/0.1814, allocations: 496.7 kB / 0.736 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1814, allocations: 8.031 kB / 0.736 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.1816, allocations: 108 kB / 0.7361 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.1819, allocations: 244.5 kB / 0.7363 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.03e-05/0.182, allocations: 162.9 kB / 0.7365 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.577e-05/0.1821, allocations: 154.9 kB / 0.7366 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.72e-05/0.1821, allocations: 105.5 kB / 0.7367 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/0.1822, allocations: 75.47 kB / 0.7368 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.304e-05/0.1823, allocations: 158.5 kB / 0.737 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.708e-05/0.1823, allocations: 154.5 kB / 0.7371 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.711e-05/0.1824, allocations: 150.6 kB / 0.7373 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.1829, allocations: 0.5046 MB / 0.7378 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.183, allocations: 173.1 kB / 0.7379 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.1831, allocations: 84.14 kB / 0.738 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.505e-05/0.1831, allocations: 75.28 kB / 0.7381 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/0.1832, allocations: 109.8 kB / 0.7382 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1832, allocations: 0 / 0.7382 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0002099/0.1834, allocations: 57.45 kB / 0.7382 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.1835, allocations: 126.7 kB / 0.7383 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.184, allocations: 441.2 kB / 0.7388 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.184, allocations: 25.7 kB / 0.7388 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1841, allocations: 140.6 kB / 0.7389 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-06/0.1841, allocations: 4 kB / 0.7389 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/0.1842, allocations: 89.61 kB / 0.739 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.1844, allocations: 338.8 kB / 0.7393 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.1845, allocations: 96.59 kB / 0.7394 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.1847, allocations: 169.9 kB / 0.7396 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.1851, allocations: 309.6 kB / 0.7399 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1851, allocations: 0 / 0.7399 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005757/0.1856, allocations: 329 kB / 0.7402 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1857, allocations: 8 kB / 0.7402 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1857, allocations: 3.938 kB / 0.7402 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1857, allocations: 4 kB / 0.7402 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.684e-06/0.1857, allocations: 0 / 0.7402 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1857, allocations: 7.938 kB / 0.7402 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.1859, allocations: 47.73 kB / 0.7403 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1859, allocations: 4 kB / 0.7403 GB, free: 5.551 MB / 0.5606 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.0002145/0.1861, allocations: 245 kB / 0.7405 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.557e-05/0.1862, allocations: 128.8 kB / 0.7406 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.33e-05/0.1863, allocations: 118.8 kB / 0.7407 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.262e-05/0.1863, allocations: 176.3 kB / 0.7409 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.959e-05/0.1864, allocations: 188.2 kB / 0.7411 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.889e-05/0.1865, allocations: 180.2 kB / 0.7413 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.1869, allocations: 448.2 kB / 0.7417 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.642e-05/0.1869, allocations: 109.1 kB / 0.7418 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.187, allocations: 105 kB / 0.7419 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-05/0.187, allocations: 188.2 kB / 0.7421 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.772e-05/0.1871, allocations: 180.2 kB / 0.7422 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.293e-05/0.1872, allocations: 180.3 kB / 0.7424 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.009e-05/0.1873, allocations: 184.2 kB / 0.7426 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.1875, allocations: 323.6 kB / 0.7429 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.123e-05/0.1876, allocations: 128.8 kB / 0.743 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.1877, allocations: 184.2 kB / 0.7432 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.1879, allocations: 108.9 kB / 0.7433 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.1879, allocations: 176.3 kB / 0.7435 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.683e-05/0.188, allocations: 108.9 kB / 0.7436 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000302/0.1883, allocations: 283.1 kB / 0.7438 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1883, allocations: 0 / 0.7438 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004148/0.1887, allocations: 83.92 kB / 0.7439 GB, free: 1.609 MB / 0.5606 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.0004261/0.1891, allocations: 306.1 kB / 0.7442 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1894, allocations: 119.9 kB / 0.7443 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1894, allocations: 4 kB / 0.7443 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.1894, allocations: 0 / 0.7443 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.1898, allocations: 465.5 kB / 0.7448 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/0.1906, allocations: 0.5342 MB / 0.7453 GB, free: 160 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.191, allocations: 0.7743 MB / 0.7461 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.191, allocations: 11.44 kB / 0.7461 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.191, allocations: 0 / 0.7461 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of Templates: time 0.006075/0.1971, allocations: 3.151 MB / 0.7491 GB, free: 12.19 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.683902394026518] Failed to read output from testmodel.py, exit status != 0: 0.20603627199307084 0.49691668800000005 0.038115731 Calling exit ...